Ask Your Question
0

How to change workspace and build environment?

asked 2015-07-13 02:41:46 -0500

jossy gravatar image

I use ros-indigo and ubuntu 14.04. I install ros and create catkin. But now, I want to use rosbuild not catkin build. How can I do it? Should I add new package to ROS? Should I reinstall ROS?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-07-13 13:11:32 -0500

joq gravatar image

I think this tutorial still works with Indigo. It explains how to create a separate rosbuild workspace on top of catkin source packages.

Note that the converse, catkin on top of rosbuild, is not supported.

edit flag offensive delete link more
1

answered 2015-07-13 04:21:36 -0500

I guess I already recommended you to port your packages to catkin. You will save yourself time in having your packages in catkin otherwise you will have to port back all newer packages to rosbuild!

There is a script which might help you, for porting your packages to catkin.

http://wiki.ros.org/catkin/migrating_...

Regards,

Christian

edit flag offensive delete link more

Comments

thanks your answer. But lsd_slam says that don't use catkin. So, I don't want to use it. gravatar imagejossy (just now)edit

jossy gravatar image jossy  ( 2015-07-13 07:27:19 -0500 )edit

It says "They don't use", if I would need this package, I would port it to catkin.

Quote:

"We do not use catkin, however fortunately old-fashioned CMake-builds are still possible with ROS indigo."

cyborg-x1 gravatar image cyborg-x1  ( 2015-07-13 07:40:09 -0500 )edit

There is no " do not use catkin " as far as I can see. Catkin is done with CMake so I do not see any reason why not port it to catkin.

cyborg-x1 gravatar image cyborg-x1  ( 2015-07-13 07:43:43 -0500 )edit
1

answered 2015-07-13 03:47:32 -0500

mgruhler gravatar image

It is absolutely not recommended to use rosbuild with indigo. According to the migration guide builds from source are still supported. And there is a tutorial on how to use rosbuild with catkin.

However, as you cannot depend from a catkin package to a rosbuild package, it might limit the portability and maintainability of your packages.

edit flag offensive delete link more

Comments

thanks your answer. But lsd_slam says that don't use catkin. So, I don't want to use it.

jossy gravatar image jossy  ( 2015-07-13 07:26:42 -0500 )edit

As said, there is a tutorial on using rosbuild with catkin (see link in answer above). However, you might have to change/backport all required dependencies to rosbuild as well.

mgruhler gravatar image mgruhler  ( 2015-07-13 07:39:38 -0500 )edit

It's OK to use rosbuild with Indigo, so long as the limitations are understood and acceptable.

joq gravatar image joq  ( 2015-07-13 13:07:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-07-13 02:41:46 -0500

Seen: 2,174 times

Last updated: Jul 13 '15