ros / meta-ros

OpenEmbedded Layers for ROS 1 and ROS 2
MIT License
382 stars 251 forks source link

python3-catkin not working #1037

Open HalodiRobotics opened 1 year ago

HalodiRobotics commented 1 year ago

We are trying to build packages from https://github.com/leggedrobotics/ocs2 into our ros2-galactic based yocto image.

The specific package we are trying to build is ocs2_thirdparty, which in it's CMake file has a dependency on catkin (find_package(catkin)). Most packages from this directory can be built easily by doing inherit ros_ament_cmake, however with this package we get an error:

|   Could not find a package configuration file provided by "catkin" with any
|   of the following names:
| 
|     catkinConfig.cmake
|     catkin-config.cmake

Tried depending on all the python3-catkin recipes without any change.

Is catkin supported for ros2? If so how?

razr commented 1 year ago

how about using this instead https://github.com/PickNikRobotics/ocs2/tree/ros2/ocs2_thirdparty?

moto-timo commented 10 months ago

FWIW, I had some fixes to make python3-catkin work on I believe kirkstone. I'll have to dig up the changes that were required.