Skip to content

Use new ros2_control interfaces #283

@ShotaAk

Description

@ShotaAk

Description

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.

Your environment

  • ROS Distro: Foxy
  • OS Version: Ubuntu 20.04
  • Source build
  • If source, which branch? ddf585c

Steps to reproduce

Reproduce procedure is same as the MoveIt 2 Source Build guide.

Expected behaviour

The build command results success.

Actual behaviour

The build has failed.

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.

Additional context

The file joint_command_handle.hpp has removed by ros-controls/ros2_control#134.

This causes above fake_joint_driver's build error.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions