remove_all_added_models.py
Go to the documentation of this file.
00001 #! /usr/bin/env python
00002 
00003 import os
00004 import commands
00005 
00006 
00007 def remove_all_added_models ():
00008 
00009     manifest_dir_path = commands.getoutput('rospack find hrpsys_gazebo_tutorials') + '/environment_models/'
00010     manifest_path = manifest_dir_path + 'manifest.xml'
00011 
00012     os.system("rm -rf $(svn st %s | grep ? | cut -f2- -d\" \")" % manifest_dir_path)
00013     os.system("svn revert %s" % manifest_path)
00014 
00015 if __name__ == '__main__':
00016     remove_all_added_models()
00017 
00018 


hrpsys_gazebo_tutorials
Author(s): Yohei Kakiuchi
autogenerated on Tue Oct 7 2014 12:01:15