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

Install a new package

asked 2013-03-14 02:27:27 -0600

JaRu gravatar image

Hi!

I use ROS electric and I like to install a new package, for example the navigation package, so that I can use the map_server from this package.

Is there something to adhere when I install this?

Because I install it, but when I try to run the launch file, I get the message that the map_server node could not be found.

Thank you for help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-03-14 03:53:08 -0600

aimc gravatar image

updated 2013-03-14 03:54:57 -0600

Hello. As you noticed, first you need to install it from its repository.

sudo apt-get install ros-%YOUR_ROS_DISTRO%-navigation

Anyway it is already installed by default. Then you should install the tutorials for that package:

sudo apt-get install ros-%YOUR_ROS_DISTRO%-navigation-tutorials

then go to that directory, and execute a node:

roscd navigation_tutorials
rosrun robot_setup_tf_tutorial tf_broadcaster

In another terminal roscd again to that package and:

rosrun robot_setup_tf_tutorial tf_listener

If you want to make that package by yourself, you should go to your workspace directory, and create a package, then create the two .cpp files, modify the CMakeLists.txt and rosmake.

Hope this helps.

Please consult these links for further information: TF Setup Navigation Package

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-14 02:27:27 -0600

Seen: 279 times

Last updated: Mar 14 '13