Open jacknlliu opened 6 years ago
This issue may be related to gazebo, gazebo_ros_control, joint_state_controller , joint_trajectory_controller and ros controller manager
.
We find gazebo_ros_control
get the joint_state_
from gazebo is wrong using this transform, but gazebo plugin gazebo_ros_joint_state_publisher
get the reasonable joint state using origin gazebo API, see here.
We can't reset
/joint_states
after resetting gazebo world online, and this will cause thejoint_state_controller
andjoint_trajectory_controller
fail.And stop/start gazebo ros controller manager help nothing!
And
/joint_states
will provide wrong data which is very large and exceeds the joint limit after the robot has a collision with an object in gazebo. And it will keep this wrong data, and it will not back to normal./joint_states
:We also find that the large joint data may change directly from very large negative number to very large positive number.
Possible related issues:
Reference