Forums Niryo One Troubleshooting Trajectory timeout using Python API Reply To: Trajectory timeout using Python API

Edouard Renard
Keymaster
Post count: 192

Instead of using the “move_group.get_current_pose().pose”, I suggest you get the current pose from the “/niryo_one/robot_state” topic. This data is maybe more up to date, directly listening to the current state of the robot.

See here the code with the publisher for this topic, so you have the reference to write a subscriber.

Let me know if this gets any better!