Files
RL-Sim-Framework/configs/runner/serial.yaml
2026-03-11 23:16:42 +01:00

12 lines
462 B
YAML

# Serial runner — communicates with real hardware over USB/serial.
# Always single-env, CPU-only. Override port on CLI:
# python scripts/train.py runner=serial runner.port=/dev/ttyUSB0
num_envs: 1
device: cpu
port: /dev/cu.usbserial-0001
baud: 115200
dt: 0.02 # control loop period (50 Hz)
no_data_timeout: 2.0 # seconds of silence before declaring disconnect
encoder_jump_threshold: 200 # encoder tick jump → reboot detection