strat v0.2.2 :

- start of a dynamic strat
- enemy isn't part of the strat for the moment (next update)
This commit is contained in:
acki
2025-05-03 17:20:12 -04:00
parent 1818adc0b5
commit 4bd1a1438c
27 changed files with 516 additions and 52 deletions

View File

@@ -4,7 +4,7 @@ import time
import serial
# Set the parameters for the serial connection
serial_port = '/dev/pts/9' # Modify this to your serial port (e.g., 'COM3' on Windows)
serial_port = '/dev/pts/12' # Modify this to your serial port (e.g., 'COM3' on Windows)
baud_rate = 115200 # Modify this to your baud rate
# Open the serial connection

View File

@@ -4,7 +4,7 @@ import math
import threading
class SimulatedPCB:
def __init__(self, port='/dev/pts/8', baud=115200):
def __init__(self, port='/dev/pts/6', baud=115200):
self.ser = serial.Serial(port, baud, timeout=1)
self.running = True
self.start = False