Skip to content

Commit

Permalink
[Python] fix: SyntaxError: import * only allowed at module level
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed May 12, 2020
1 parent 5f387f6 commit 0508d28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sl1m/planner_scenarios/complex1.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@


from sl1m.plot_plytopes import *
from sl1m.planner_l1 import *

floor2 = [[-3., 0.4 , 0. ], [-2.7 , 0.4, 0. ], [-2.7 , 0.1, 0. ], [-03., 0.1, 0. ], ]
floor = [[-0.23, 0.54 , 0. ], [-0.1 , 0.54, 0. ], [-0.1 , -0.46, 0. ], [-0.23, -0.46, 0. ], ]
Expand Down Expand Up @@ -143,7 +144,6 @@ def min_dist(size):


def solveL1():
from sl1m.planner_l1 import *
#~ draw_rectangle(l,ax)
#~ plt.show()

Expand Down Expand Up @@ -204,7 +204,6 @@ def solveL1():
for i, idx in enumerate(solutionIndices):
pb["phaseData"][idx]["S"] = [surfaces[i][solutionComb[i]]]

from sl1m.planner import *

t1 = clock()
A, b, E, e = convertProblemToLp(pb)
Expand Down

0 comments on commit 0508d28

Please sign in to comment.