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

What does rosdep init do?

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

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 -0500

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 -0500 )edit

Question Tools

1 follower


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

Seen: 443 times

Last updated: Aug 22 '15