MoveIT cannot take robot initial state but can control the robot (Panda)

asked 2021-11-23 09:14:31 -0500

Gates gravatar image

updated 2021-11-24 03:13:12 -0500

Hi,

I have disabled the franka_hw and controllers and added position_controllers/JointTrajectoryController using gazebo_ros_control/DefaultRobotHWSim sim type in gazebo plugin. I can now successfully control the robot with follow joint trajectory. Plus, I created a MoveIT config package, set the controllers and I am able to connect the gazebo model successfully.

The strange part is that the robot cannot get the initial robot state even though it can control it. As you see, the gazebo model gripper is downwards but the MoveIT Rviz is bent. initial

However, I can make send a goal pose and the robot can successfully go here: moved

It is not such a big deal in working progress but I want it to run perfectly. Any idea why MoveIT does not take robot state from Gazebo?


image description

Can someone help me?

edit retag flag offensive close merge delete

Comments

1

MoveIt gets its state from the /joint_states topic, so I would look carefully at the joint_state_controller which should be publishing that topic. And the joint_state_controller should be running with Gazebo. Sorry I can't help much more than that.

AndyZe gravatar image AndyZe  ( 2021-11-24 08:07:56 -0500 )edit