Files
JackBot/config.py
T
JackM323 c34449aac5 Project Initialization
First Upload to Gitea
2026-07-29 19:23:45 +02:00

30 lines
633 B
Python

# Connection
port = "COM4"
baudrate = 38400
esp32_ip = "192.168.188.32"
esp32_port = 3323
timeout = 2.0
sim: bool = False
arduinoConnection: bool = False
urdf_path = "JackBotUrdf.urdf"
# row = legnumber (left 0,1,2 right 3,4,5)
# column = servo position from torso(0) to feet(2)
# Dimensions in m
#robot_height = -0.1
step_height = 0.05
step_length = 0.08
# Leglength in m
# L1 = 0.068
# L2 = 0.0602
# L3 = 0.070
# standard_tickpersec = # 20 Fluessige Bewegung
standard_tickpersec:float = 25 # [ticks/s]
standard_duration:float = 0.4 # [s],ip
standard_tickduration:float = 1 / standard_tickpersec