Ask Your Question
0

how to call node from overlay package from a package in hydro default installation

asked 2014-07-30 08:49:30 -0500

2ROS0 gravatar image

Hi,

I have installed husky_navigation which is the standard navigation package for the Clearpath Husky robot directly from the hydro installation ros-hydro-husky-navigation. I'm running a launchfile within that package that calls the slam_gmapping node of the gmapping package.

However, I wanted to modify the behavior of slam_gmapping a bit and therefore created an overlay of the gmapping package and made the required changes. This node now functions as required. But when I launch the husky_navigation launchfile, it still launches the hydro default installation of slam_gmapping and NOT my overlay.

How do I specify this in the launchfile so that it calls my overlayed package?

Thank you.

PS - Let me know if I wasn't clear with some of the terminology here. I don't know what a default debian package installation of a hydro package is called.

edit retag flag offensive close merge delete

Comments

Where does roscd slam_gmapping lead you to?

BennyRe gravatar imageBennyRe ( 2014-07-30 09:51:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-07-30 12:22:56 -0500

ahendrix gravatar image

This should happen automatically if you've sourced the overlay with your modified packages in it before you run roslaunch.

Perhaps there's something unusual about the way you run the husky navigation launch file that is resetting the environment?

edit flag offensive delete link more

Comments

I haven't changed anything in the default launch file. I sourced the overlay again and it worked but I know that I had sourced it earlier too. So there's got to be something I'm running that's resetting the environment. How would I find something that resets the environment? Thank you.

2ROS0 gravatar image2ROS0 ( 2014-07-31 08:40:05 -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: 2014-07-30 08:49:30 -0500

Seen: 107 times

Last updated: Jul 30 '14