In the function wait_while_is_moving, there is this piece of code:
if actuator in [
Actuators.left_wheel_vel,
Actuators.right_wheel_vel,
Actuators.base_rotate,
Actuators.base_translate,
]:
current_position = actuator.get_position_relative(
self.pull_status()
)
however the get_position_relative that is being called will fail every time for left_wheel_vel and right_wheel_vel
def get_position_relative(self, status: StatusStretchJoints) -> tuple[float, float, float]:
if self not in [Actuators.base_rotate, Actuators.base_translate]:
raise Exception(f"Please use `get_position()` for {self.name}")
return self._get_base_status_attribute(True, status)
Here is one case where it is failing in the robot simulation
In the function wait_while_is_moving, there is this piece of code:
however the get_position_relative that is being called will fail every time for
left_wheel_velandright_wheel_velHere is one case where it is failing in the robot simulation