Skip to content

Commit

Permalink
centroid planner migrated
Browse files Browse the repository at this point in the history
  • Loading branch information
junhyeokahn committed Jul 7, 2018
1 parent 018e416 commit a3dacc9
Show file tree
Hide file tree
Showing 44 changed files with 8,281 additions and 369 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ ExperimentDataCheck
ExperimentVideo
Configuration.h
drake_binary
*_RESULTS.yaml
*.pyc
47 changes: 47 additions & 0 deletions Addition/PythonPlotter/PlotCentroidTrajectory.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/usr/bin/python

'''
Copyright [2017] Max Planck Society. All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
'''

'''
Use example: ipython
run display.py -i <path_to_datafile>
'''

import sys, getopt
from helpers import Graphics

def main(argv):
inputfile = ''
try:
opts, args = getopt.getopt(argv,"hi:",["ifile="])
except getopt.GetoptError:
print 'display.py -i <path_to_datafile>'
sys.exit(2)

for opt, arg in opts:
if opt == '-h':
print 'display.py -i <path_to_datafile>'
sys.exit()
elif opt in ("-i", "--ifile"):
inputfile = arg

motion = Graphics()
motion.show_motion(inputfile)

if __name__ == "__main__":
main(sys.argv[1:])
File renamed without changes.
320 changes: 0 additions & 320 deletions Addition/PythonPlotter/example.py

This file was deleted.

Loading

0 comments on commit a3dacc9

Please sign in to comment.