Open jacknlliu opened 6 years ago
zero effort in topic joint_states
so at last how did you get the accurate joint states(position, velocity and effort) ?
@yanqingyang you can change to use Velocity
hardware interface, and it will publish the position
and velocity
, but effort
maybe not correct.
For some robots in ros repos, joint_state_controller and gazebo_ros_joint_state_publisher can't publish non-zero velocity in topic
/joint_states
when we use thePosition
hardware interface in simualtion with gazebo. But for some robots like iiwa_stack, it works.But if we use the
Velocity
hardware interface, it always works.Many months ago, I comment this issue on Adding velocity to joint state publisher gazebo plugin #669. But I think this is a bug in
gazebo_ros
orgazebo_ros_control
, notgazebo_ros_joint_state_publisher
.Reference