Commit cc377ce7 authored by Jayant Khatkar's avatar Jayant Khatkar
Browse files

reorganise code, read plan in main (#11)

parent 8e73e6f3
import gcode2contour as gc
import numpy as np
import pickle
from utils import load_plan
if __name__ == '__main__':
plan = load_plan('plans/1.plan')
from .planning_tools import JTrajectory
from .plan import load_plan
import gcode2contour as gc
import numpy as np
import pickle
from utils import JTrajectory
from . import JTrajectory
def _emptyTraj(joints, arm):
......@@ -78,7 +78,3 @@ def load_plan(filename):
plan.trajs = trajs
plan.cumul_time = ctime
return plan
if __name__ == '__main__':
plan = load_plan('plans/1.plan')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment