ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

No constructor for VelocityJointInterface

asked 2019-04-05 09:20:51 -0600

EdwardNur gravatar image

I want to use diff_dirve_controller to control my robot and it requires velocity interface. Before, I have created JointStateHandle like this:

hardware_interface::JointStateHandle state_handle_a("A", &pos[0], &vel[0], &eff[0]);

But now, when I want to create an object of the VelocityJointInterface I cannot find the constructor definition: http://docs.ros.org/melodic/api/hardw...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-04-06 20:39:57 -0600

You're looking at the wrong class. http://docs.ros.org/melodic/api/hardw...

Note: JointStateHandle and JointState are different. JointState derives from the JointStateHandle base class, which as that constructor.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-04-05 09:20:51 -0600

Seen: 115 times

Last updated: Apr 06 '19