PR2 Head Pan & Tilt Robot Web Tools trajectory_msgs/JointTrajectory Noetic

Thanks in advance for your support! I’m trying to understand how to create a JavaScript function to control the pan and tilting of the PR2 head in ROS Noetic.

it is very confusing for me because there are so many inputs. Even from the terminal it is not working, please see the following: rostopic pub /pr2/head_joint_controller/command trajectory_msgs/JointTrajectory “{position: 0.06}”

Can you please provide example of how I can issue a command in the terminal to move the head of the PR2 and then I can easily converted to JavaScript?

Thank you so much!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.