PR2: client not rights to move the robot
Commands from the robot to the robot are working, but command from the computer to the robot are not. Take for example the following command to move the head.
rostopic pub -1 /head_traj_controller/command trajectory_msgs/JointTrajectory '{joint_names: ["head_pan_joint", "head_tilt_joint"], points: [ { positions: [0,0], velocities: [0,0], time_from_start: [2,0] } ]}'
rostopic pub -1 /head_traj_controller/command trajectory_msgs/JointTrajectory '{joint_names: ["head_pan_joint", "head_tilt_joint"], points: [ { positions: [1,0], velocities: [0,0], time_from_start: [2,0] } ]}'
When I run this command on the robot (connected through ssh), the head of the robot moves. But when I do it with my computer, it doesn't work. I can see and read all the topics though from my computer. I need to be able to control the robot from my computer in order to use for example rviz.
Any thoughts ?