You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The colcon build command of MoveIt 2 Source Build - Linux fails with log message hardware_interface/joint_command_handle.hpp: No such file or directory.
In file included from /home/shotaak/moveit_ws/src/fake_joint/fake_joint_driver/src/fake_joint_driver_node.cpp:10:
/home/shotaak/moveit_ws/src/fake_joint/fake_joint_driver/include/fake_joint_driver/fake_joint_driver.h:12:10: fatal error: hardware_interface/joint_command_handle.hpp: No such file or directory
12 |#include <hardware_interface/joint_command_handle.hpp>| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/shotaak/moveit_ws/src/fake_joint/fake_joint_driver/src/fake_joint_driver_node.cpp:10:
/home/shotaak/moveit_ws/src/fake_joint/fake_joint_driver/include/fake_joint_driver/fake_joint_driver.h:12:10: fatal error: hardware_interface/joint_command_handle.hpp: No such file or directory
12 |#include <hardware_interface/joint_command_handle.hpp>| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
@ShotaAk Thanks for reporting, we've already realized that ros2_control had some breaking changes lately. Until then, it probably makes most sense to fix the commit hash in the repos file and bump the version from time to time until there is a stable API. Were you able to run the demo successfully with an older version?
@henningkayser@ShotaAk we are braking a lot currently in ros2_control in a month or so we should fix new interfaces. If you could use the versions from the comment it would be great :)
I've created #284 for freezing the ros2_control commits in the workspace. @ShotaAk could you rename this issue to something like "Use new ros2_control interfaces" so that we can continue tracking it in here?
@ShotaAk That's great, thanks! In general, I think it's preferable to stay up to date, but I'd like to first make sure that the API is somewhat stable. The PR would still be very helpful, even if we don't merge it right away.
Hey guys, the current version is functional to a limited extent but the upcoming changes may break API/ABI multiple times, hence the recommendation to stick to a fixed version for the time being. I'll make sure to update you when we reach a stable version.
@destogl That's great documentation!
The contents of Differences to ros_control (ROS1) and Migration Guide to ros2_control are exactly what I wanted to read.
Thank you!
Activity
yongxf commentedon Sep 17, 2020
I went through the same issue. joint_command_handle.hpp cannot be found in moveit2.
henningkayser commentedon Sep 17, 2020
@ShotaAk Thanks for reporting, we've already realized that
ros2_controlhad some breaking changes lately. Until then, it probably makes most sense to fix the commit hash in the repos file and bump the version from time to time until there is a stable API. Were you able to run the demo successfully with an older version?ShotaAk commentedon Sep 17, 2020
Yes. I had checkout
ros2_controlto 2c3aad1cb8ad4d23925bceeb5c26e22d6cf859ef andros2_controllersto d52902538a970e792ecc604416e22ef90a57f29e, then the demo successfully worked.destogl commentedon Sep 20, 2020
@henningkayser @ShotaAk we are braking a lot currently in
ros2_controlin a month or so we should fix new interfaces. If you could use the versions from the comment it would be great :)henningkayser commentedon Sep 21, 2020
I've created #284 for freezing the
ros2_controlcommits in the workspace. @ShotaAk could you rename this issue to something like "Use new ros2_control interfaces" so that we can continue tracking it in here?ShotaAk commentedon Sep 21, 2020
@henningkayser Sure. 👍
[-]Source build fails[/-][+]Use new ros2_control interfaces[/+]ShotaAk commentedon Sep 25, 2020
@henningkayser @JafarAbdi I have replaced old joint handles of
fake_joint_driverto new joint handles to solve this issue.(See ShotaAk/fake_joint@e888e49)
May I create a pull request to
JafarAbdi/fake_joint?(Or should we wait and see the ros2_control proggress?)
henningkayser commentedon Sep 25, 2020
@ShotaAk That's great, thanks! In general, I think it's preferable to stay up to date, but I'd like to first make sure that the API is somewhat stable. The PR would still be very helpful, even if we don't merge it right away.
ShotaAk commentedon Sep 25, 2020
I understand. Anyway, I will create a PR.
bmagyar commentedon Sep 26, 2020
Hey guys, the current version is functional to a limited extent but the upcoming changes may break API/ABI multiple times, hence the recommendation to stick to a fixed version for the time being. I'll make sure to update you when we reach a stable version.
ShotaAk commentedon Sep 27, 2020
@bmagyar Thanks. It looks like there will be more updates than just joint handle.
(I should calm down and see the progress.)
destogl commentedon Dec 12, 2020
Hey people,
we have now fixed the API for Foxy and you can start to handle this. If you need any help just ping me or @bmagyar
ShotaAk commentedon Dec 17, 2020
@destogl Thank you for your information.
I'm trying to use new ros2_control API in our robot (CRANE+V2, https://github.com/rt-net/crane_plus ).
Is there any migration guide for new API?
(It seem the
joint_command_handle,joint_state_handleandrobot_hardwareinhardware_interfaceare deleted.)destogl commentedon Jan 5, 2021
@ShotaAk I just wrote short documentation in ros-controls/roadmap#36
It would be great if you check it and try to use it. We are very happy to get any feedback on it. Especially how to make it better.
ShotaAk commentedon Jan 6, 2021
@destogl That's great documentation!
The contents of
Differences to ros_control (ROS1)andMigration Guide to ros2_controlare exactly what I wanted to read.Thank you!