mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-20 19:19:56 +00:00
Fix type in send_action
This commit is contained in:
@@ -203,7 +203,7 @@ class Reachy2Robot(Robot):
|
|||||||
else:
|
else:
|
||||||
vel[REACHY2_VEL[key]] = val
|
vel[REACHY2_VEL[key]] = val
|
||||||
else:
|
else:
|
||||||
self.reachy.joints[self.joints_dict[key]].goal_position = val
|
self.reachy.joints[self.joints_dict[key]].goal_position = float(val)
|
||||||
|
|
||||||
if self.config.with_mobile_base:
|
if self.config.with_mobile_base:
|
||||||
self.reachy.mobile_base.set_goal_speed(
|
self.reachy.mobile_base.set_goal_speed(
|
||||||
|
|||||||
Reference in New Issue
Block a user