ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

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

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


Thanks 130. Clean answer!

UserK gravatar image UserK  ( 2015-08-24 16:35:39 -0600 )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


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

Seen: 405 times

Last updated: Aug 22 '15