Hi Pollen Robotics team,
I am using the MobileBaseSDK (version 0.1.1) to send commands to move the Reachy 2023 mobile base, and while the goto and goto_async functions work fine, the set_speed command does not seem to do anything. In the reachy_mobile_base server logs, nothing appears when set_speed is called while goto and goto_async both are shown in the logs like:
Dec 08 19:11:15 reachy-2023-0001 reachy_mobile_base[35535]: [hal-2] [INFO] [1765242675.421698022] [zuuu_hal]: Requested to reset the odometry frame
Dec 08 19:11:15 reachy-2023-0001 reachy_mobile_base[35535]: [hal-2] [INFO] [1765242675.480647884] [zuuu_hal]: Requested go_to: x=0.0m, y=0.0m, theta=1.5707963705062866rad
Dec 08 19:11:17 reachy-2023-0001 reachy_mobile_base[35535]: [hal-2] [INFO] [1765242677.848651654] [zuuu_hal]: Requested go_to: x=0.0m, y=0.0m, theta=0.0rad
This is the test command I’m using with set_speed:
import time
start = time.time()
reachy.mobile_base.reset_odometry()
print(reachy.mobile_base.odometry)
while (time.time() - start) < 1.0:
print(f"send vel commands")
reachy.mobile_base.set_speed(0.3, 0.0, 0)
time.sleep(0.01)
print(f"end")
When I run the above test command, Reachy’s base does not move unfortunately. I was wondering if there might be any suggestions on what to investigate for the set_speed commands?
Thank you very much!
Also one extra question, I was wondering when Lidar safety is turned on, what is the safety distance for Lidar? Sometimes when I run goto_async commands, the mobile base SDK will not execute the command if the lidar safety is turned on, but I would like for Reachy to be able to move to a table. Thank you!