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

Deleted src files after catkin_make

asked 2016-02-17 14:11:56 -0600

nwanda gravatar image

updated 2016-02-17 14:29:58 -0600

Is there anyway to recover the source files from a package? After I compiled everything using catkin_make, I accidently removed the "src" folder of the package.

Since it is impossible to recover the files removed with "rm", is there a way to recover the source files using ROS?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-02-17 15:05:54 -0600

updated 2016-02-17 15:06:35 -0600

No, ROS relies uses operating system functionality for file management and has no own facilities that perform backups behind the scenes. You really should be using a version control system and regularly push your changes.

Your best bet is probably googling for how to recover files that have been removed using rm on Linux systems.

edit flag offensive delete link more

answered 2016-02-17 15:05:34 -0600

Depending on your file system. It's not 'impossible' to recover the files. If your volume is not encrypted then you could use a bootable usb stick with some software to scan the hardrive and try and recover the files.

There may be some of the header files in the other folders if you look through them, but I don't know if the C files will still be there.

edit flag offensive delete link more

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: 2016-02-17 14:11:56 -0600

Seen: 628 times

Last updated: Feb 17 '16