ros-controls / ros_control

Generic and simple controls framework for ROS
http://wiki.ros.org/ros_control
BSD 3-Clause "New" or "Revised" License
487 stars 307 forks source link

Problem with passing values between the RoboHW and JointStateController #513

Open liborw opened 1 year ago

liborw commented 1 year ago

Hello I have custom RobotHW, when I add JointStateController it publishes just zeros even the robot is at some non zero position. When I get the values directly from RobotHW they are correct but not at the other side of the hardware interface. When I dug deeper in gdb the _pos variables of JointStateHandle has different address than the values in the pos array in the RobotHW class. What might be the problem?