Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ros2 compatibility on ros2 branch #4

Open
dmiklic opened this issue Mar 27, 2019 · 4 comments
Open

Add ros2 compatibility on ros2 branch #4

dmiklic opened this issue Mar 27, 2019 · 4 comments

Comments

@dmiklic
Copy link
Contributor

dmiklic commented Mar 27, 2019

Use the appropriate branch of the p2os repo (ros2 or ros2_port)

@juricapapak
Copy link

juricapapak commented Mar 30, 2019

During the process of building the ariac_environment package on ros2 crystal I'm getting the following error:

CMake Error at CMakeLists.txt:7 (find_package):
  By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "catkin", but
  CMake did not find one.

  Could not find a package configuration file provided by "catkin" with any
  of the following names:

    catkinConfig.cmake
    catkin-config.cmake

  Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set
  "catkin_DIR" to a directory containing one of the above files.  If "catkin"
  provides a separate development package or SDK, be sure it has been
  installed.

I've successfully installed all the dependencies using rosdep and have catkin installed, just not through ros2. I don't see any ros2 branches on the official repo. I've had similar issues before but I've always been able to find the appropriate .cmake config file. Not this time, presumably because it's not a ros2 package.

@dmiklic
Copy link
Contributor Author

dmiklic commented Apr 1, 2019

Yes, ROS2 does not use Catkin any more. So instead of Catkin (build system) and catkin_make (build tool), it uses ament as the build system and colcon as the build tool. Please check the Migration guide for more details.

@dmiklic
Copy link
Contributor Author

dmiklic commented Apr 1, 2019

Also, check out this and this for some Gazebo specifics in ROS2.

@dmiklic
Copy link
Contributor Author

dmiklic commented Apr 1, 2019

However, looking at the status of the p2os port we might have to start thinking of a backup plan, maybe using ros2 bridge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants