Skip to content

Conversation

@urfeex
Copy link
Member

@urfeex urfeex commented Jul 10, 2025

Otherwise the description might get loaded as yaml under certain situations.

As noted in #1103 (comment)

@katallen405 would you like to test that?

Otherwise the description might get loaded as yaml under certain situations.
@urfeex urfeex requested a review from a team July 10, 2025 06:52
@urfeex urfeex added the humble Relevant for humble and higher ROS versions label Jul 10, 2025
@katallen405
Copy link

katallen405 commented Jul 10, 2025

Maybe I am doing it wrong (I had been using the released binary and am building from source from that patch's branch now) but I can not colcon build the branch because of ur_controllers. It is missing ros2_control_test_assets (which I do not know where to find)

 CMake Error at /opt/ros/humble/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:69 (add_executable):
  Target "test_load_freedrive_mode_controller" links to target
  "ros2_control_test_assets::ros2_control_test_assets" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  /opt/ros/humble/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:52 (_ament_add_gmock)
  CMakeLists.txt:186 (ament_add_gmock)

I am able to build the humble branch, just not the patch branch

@urfeex
Copy link
Member Author

urfeex commented Jul 11, 2025

I am able to build the humble branch, just not the patch branch

That seems highly unlikely given the fact that the differences between the two are only in a launch file. But there could be intransparent side effects if you still have the binary packages installed.

It is missing ros2_control_test_assets (which I do not know where to find)

The best way to find missing dependencies is rosdep. To find a specific package, you can run

$ rosdep resolve ros2_control_test_assets
#apt
ros-humble-ros2-control-test-assets

Or to install all direct dependencies:

$ rosdep install --from-paths . --ignore-src -y

When building a package from source it is advisable to remove its binary installations:

$ sudo apt remove ros-humble-ur-robot-driver ros-humble-ur-controllers ros-humble-moveit-config ros-humble-ur ros-humble-ur-calibration ros-humble-ur-dashboard-msgs 

@urfeex urfeex merged commit f13886c into humble Jul 17, 2025
7 checks passed
@urfeex urfeex deleted the urfeex-patch-1 branch July 17, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

humble Relevant for humble and higher ROS versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants