ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Sourcing install setup.bash with cross compiled install

asked 2016-01-24 10:08:06 -0500

I.T gravatar image

updated 2016-01-31 04:43:00 -0500

Hi,

I am using ROS Jade on an Odroid XU4 (ARM) running Ubuntu 15.04. I have managed to successfully cross-compile a bare bones ROS Jade install, and moved the install_isolated folder to the Odroid. I source the setup.bash file and can start roscore, so far so good. However, when I cross-compile my own package (in a separate folder from the install) and move that devel folder to the board, then sourcing that setup.bash file removes the install_isolated/bin directory from the PATH and I can no longer start roscore.

When I cross compile my package on my computer I had sourced the install_isolated/setup.bash for the cross compiled install.

What steps do I need to take in order to not have my package's setup.bash file remove the install from PATH?

Thanks!

edit retag flag offensive close merge delete

Comments

1

May I suggest a title change? I'd suggest to include at least the fact that you're cross-compiling. Possibly also how you deploy to your target.

gvdhoorn gravatar image gvdhoorn  ( 2016-01-25 03:51:50 -0500 )edit

Thank you for the suggestion, let's hope it helps.

I.T gravatar image I.T  ( 2016-01-31 10:35:30 -0500 )edit

No respose in almost a month, I assume this means that either: 1) I am way off, or 2) It should work this way, at least in theory. But which one is it? :)

I.T gravatar image I.T  ( 2016-02-19 12:51:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-02-19 13:13:06 -0500

ahendrix gravatar image

The short answer is, no one else is using ROS like this. You're mostly on your own.

I _think_ setup.sh has an --extend option that may let you source multiple setup.sh files in sequence, and extend your workspace instead of overwriting it.

edit flag offensive delete link more

Comments

Thank you, using the --extend option when sourcing the second setup.bash works. Am I alone in cross compiling my packages or in the way I move them to the target board?

I.T gravatar image I.T  ( 2016-02-20 13:16:08 -0500 )edit

I don't know of anyone else who has gotten the cross-compilation process to work. If you have time to post instructions on how you're doing it, it would be greatly appreciated.

ahendrix gravatar image ahendrix  ( 2016-02-20 13:49:52 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-01-24 10:08:06 -0500

Seen: 231 times

Last updated: Feb 19 '16