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

What does rosdep init do?

asked 2015-08-22 13:47:41 -0600

UserK gravatar image

Hi, I was wondering what does the following command exactly do and why do we need it?

pi@tenzo ~ $ sudo rosdep init
Wrote /etc/ros/rosdep/sources.list.d/20-default.list

Why do we need to run the update command afterwards?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-08-22 20:49:13 -0600

130s gravatar image

The source of rosdep key entries are maintained on rosdistro repository and frequently updated.

Why do we need to run the update command afterwards?

After rosdep update you probably saw something was done at ~/.ros/rosdep/sources.cache. That's where the latest rosdep key entries are stored in some files that get updated with the rosdep command.

edit flag offensive delete link more

Comments

Thanks 130. Clean answer!

UserK gravatar image UserK  ( 2015-08-24 16:35:39 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-08-22 13:47:41 -0600

Seen: 469 times

Last updated: Aug 22 '15