Closed mdragusu closed 3 years ago
Is it possible that you are using a cached version of the repository? Check that you have this in your Universal_Robots....repos file:
ros2_controllers:
type: git
url: https://github.com/ros-controls/ros2_controllers.git
version: 0.2.1
The entry seems to be there:
root@d865f71bb47f:/work# cat src/Universal_Robots_ROS2_Driver/Universal_Robots_ROS2_Driver.repos
repositories:
control_msgs:
type: git
url: https://github.com/ros-controls/control_msgs.git
version: foxy-devel
ros2_control:
type: git
url: https://github.com/ros-controls/ros2_control.git
version: master
ros2_control_demos:
type: git
url: https://github.com/ros-controls/ros2_control_demos.git
version: add_demo_nodes
ros2_controllers:
type: git
url: https://github.com/ros-controls/ros2_controllers.git
version: 0.2.1
Universal_Robots_Client_Library:
type: git
url: https://github.com/UniversalRobots/Universal_Robots_Client_Library.git
version: master
ur_msgs:
type: git
url: https://github.com/destogl/ur_msgs.git
version: ros2
Ok, but it seems to be pulling in a different version (which is why you are seeing the error that you are). The other thing to try is to use $COLCON_WS as is used in the instructions. For whatever reason this seems important to set that environment variable (as in when I did things manually without setting $COLCON_WS, I couldn't get things to build in docker, even though I was sure I was doing the equivalent operations). Sorry I can't be more helpful.
it seem a pull was all I needed
From https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver
c5b84db..38a467e main -> origin/main
Updating c5b84db..38a467e
Fast-forward
ur_bringup/launch/ur_control.launch.py | 10 ++++++++++
ur_robot_driver/doc/features.md | 53 +++++++++++++++++++++++------------------------------
ur_robot_driver/include/ur_robot_driver/hardware_interface.hpp | 1 -
ur_robot_driver/src/hardware_interface.cpp | 4 ----
4 files changed, 33 insertions(+), 35 deletions(-)
Now it's ok
Finished <<< ros2_controllers [1.03s]
Finished <<< ur_controllers [19.8s]
Summary: 30 packages finished [3min 46s]
Thank you
Hello, I tried to build the driver according to the readme I used a container
and the following steps
The problem I hit is:
Is this a known problem? Should I use a different working branch?