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

catkin instead of colcon? #8

Open
Kyle0936 opened this issue Jan 10, 2020 · 3 comments
Open

catkin instead of colcon? #8

Kyle0936 opened this issue Jan 10, 2020 · 3 comments

Comments

@Kyle0936
Copy link

Hey there, I was working on a complex ros1 package and was trying to build it with colcon as stated in the instructions. However, it seemed to cause some issues. May I use catkin to build the package and then continue to use this tool?

@raghaprasad
Copy link

Hi @kkkkkyle , In theory yes.
So long as you are able pass in the compiler flags via catkin (see the readme for the flags that we pass in while doing colcon build). The reminder of the steps should still be applicable.

Let us know if you were successful in getting it to work with catkin.

@knickels
Copy link

I was able to generate the compile_commands.json with catkin:

catkin build <package>  --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON

@JacobKan
Copy link

I am about to try this tool.
In my mind if I can build my ROS1 package with colcon build, then doesn't it means I can use it directly in ROS2?
I just upgrade ROS1 to ROS2 foxy, then simply try colcon build my ROS1 packages but failed.

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

4 participants