|
self.command_client.robot_command(lease=None, command=cmd, end_time_secs=time.time() + self.TRAJECTORY_CMD_TIMEOUT) |
This code seems to assume that robot_command is blocking, and that the robot will achieve each waypoint in the trajectory before moving on to the next one. This is incorrect (see #10). robot_command returns immediately, and will tell the robot to follow the entire trajectory for the duration specified. The user is expected to query for command feedback until the trajectory is complete.
spot-ros-wrapper/spot_ros_interface/scripts/spot_ros_interface.py
Line 171 in 7a22c67
This code seems to assume that
robot_commandis blocking, and that the robot will achieve each waypoint in the trajectory before moving on to the next one. This is incorrect (see #10).robot_commandreturns immediately, and will tell the robot to follow the entire trajectory for the duration specified. The user is expected to query for command feedback until the trajectory is complete.