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

Is there an implementation of JointStateInterface, EffortJointInterface, PositionJointInterface and VelocityJointInterface in ros2?

asked 2022-10-13 06:00:39 -0600

Edvard gravatar image

updated 2022-10-13 06:02:56 -0600

Hi. Sorry for all mistakes, English is not my native language. So, I have folloing lines of code in my ros1 project


hardware_interface::JointStateInterface js_interface_;
hardware_interface::EffortJointInterface ej_interface_;
hardware_interface::PositionJointInterface pj_interface_;
hardware_interface::VelocityJointInterface vj_interface_;

I have a problem with understanding, how this lines should look in ros2 Foxy. I'll appreciate any help. As far as I know EffortJointInterface can be used in Galactic and all newer version, but I could be wrong.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-13 09:23:58 -0600

duck-development gravatar image
edit flag offensive delete link more

Comments

Thank you for reply. I read those two yesterday, and maybe I miss something, but there are no answer for this particular question in there. All that I get is assumption, that JointTrajectoryController is doing something similar to JointStateInterface, but still, maybe I am wrong here

Edvard gravatar image Edvard  ( 2022-10-14 02:06:23 -0600 )edit

As here written github

ros_control's JointStateInterface, EffortJointInterface, 
PositionJointInterface, VelocityJointInterface, *InterfaceProvider 
functionalities have been replaced by RobotHardware.
duck-development gravatar image duck-development  ( 2022-10-14 09:19:19 -0600 )edit

Oh, I see. Thank you for your help. You already answered my question, but still do you happen to know where to look this RobotHardware? I't is a little strange for me, but there are no RobotHardware in hardware_interface or joint_limits_interface.

Edvard gravatar image Edvard  ( 2022-10-16 09:23:11 -0600 )edit

You may find something here: demo hardware

duck-development gravatar image duck-development  ( 2022-10-16 10:24:35 -0600 )edit

I couldn't find any RobotHardware uses there. Still, thank you for your help.

Edvard gravatar image Edvard  ( 2022-10-16 11:26:00 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2022-10-13 06:00:39 -0600

Seen: 186 times

Last updated: Oct 13 '22