System:
Ubuntu 22.04
ros iron
x86 platform
ur_ros_rtde version: ea8feb8
Issue:
When trying to build ur_ros_rtde using colcon, colcon would throw an exception for:
By not providing "Findur_ros_rtde_msgs.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"ur_ros_rtde_msgs", but CMake did not find one.
Could not find a package configuration file provided by "ur_ros_rtde_msgs"
with any of the following names:
ur_ros_rtde_msgsConfig.cmake
ur_ros_rtde_msgs-config.cmake
After successfully building ur_ros_rtde_msgs & ur_ros_rtde_simple_clients.
Validating ur_ros_rtde messages:
lab@rosie:~/workspace/ur_ros_rtde$ colcon list | grep ur_ros_rtde_msgs
ur_ros_rtde_msgs ur_ros_rtde_msgs (ros.ament_cmake)
Re-ran and received new errors for ur_ros_rtde_simple_clientsConfig:
CMake Error at CMakeLists.txt:22 (find_package):
By not providing "Findur_ros_rtde_simple_clients.cmake" in
CMAKE_MODULE_PATH this project has asked CMake to find a package
configuration file provided by "ur_ros_rtde_simple_clients", but CMake did
not find one.
Could not find a package configuration file provided by
"ur_ros_rtde_simple_clients" with any of the following names:
ur_ros_rtde_simple_clientsConfig.cmake
ur_ros_rtde_simple_clients-config.cmake
Added it to path as well:
lab@rosie:~/workspace/ur_ros_rtde$ export CMAKE_PREFIX_PATH=install/ur_ros_rtde_simple_clients:$CMAKE_PREFIX_P
ATH
Failed with same error, again. I added the dependencies for ur_ros_rtde_msgs & ur_ros_rtde_simple_clients to ur_ros_rtde/ur_ros_rtde/package.xml:
System: Ubuntu 22.04 ros iron x86 platform ur_ros_rtde version: ea8feb8
Issue:
When trying to build ur_ros_rtde using colcon, colcon would throw an exception for:
After successfully building ur_ros_rtde_msgs & ur_ros_rtde_simple_clients.
Validating ur_ros_rtde messages:
Exported msgs to cmake path:
Re-ran and received new errors for ur_ros_rtde_simple_clientsConfig:
Added it to path as well:
Failed with same error, again. I added the dependencies for ur_ros_rtde_msgs & ur_ros_rtde_simple_clients to ur_ros_rtde/ur_ros_rtde/package.xml:
This fixed the issue, allowed me to run the provided colcon build instructions and it builds as-intended.