diff --git a/script/grasp_ball.py b/script/grasp_ball.py index e501969d..af88f5a2 100644 --- a/script/grasp_ball.py +++ b/script/grasp_ball.py @@ -1,5 +1,3 @@ -from hpp import Transform -from hpp.corbaserver.manipulation import ConstraintGraph, Constraints from manipulation import ( Ground, PathPlayer, # noqa: F401 @@ -11,6 +9,9 @@ vf, ) +from hpp import Transform +from hpp.corbaserver.manipulation import ConstraintGraph, Constraints + vf.loadEnvironmentModel(Ground, "ground") vf.loadObjectModel(Pokeball, "pokeball") robot.setJointBounds( diff --git a/script/grasp_ball_in_box.py b/script/grasp_ball_in_box.py index 16f3341c..2950a93b 100644 --- a/script/grasp_ball_in_box.py +++ b/script/grasp_ball_in_box.py @@ -1,5 +1,3 @@ -from hpp.corbaserver import Client # noqa: F401 -from hpp.corbaserver.manipulation import ConstraintGraph from manipulation import ( Box, Ground, @@ -10,6 +8,9 @@ vf, ) +from hpp.corbaserver import Client # noqa: F401 +from hpp.corbaserver.manipulation import ConstraintGraph + vf.loadEnvironmentModel(Ground, "ground") vf.loadEnvironmentModel(Box, "box") vf.moveObstacle("box/base_link_0", [0.3 + 0.04, 0, 0.04, 0, 0, 0, 1]) diff --git a/script/rrt.py b/script/rrt.py index 9eecb7f1..b15c38f6 100644 --- a/script/rrt.py +++ b/script/rrt.py @@ -1,7 +1,8 @@ +from motion_planner import MotionPlanner + from hpp.corbaserver import Client, ProblemSolver from hpp.corbaserver.practicals.ur5 import Robot from hpp.gepetto import PathPlayer, ViewerFactory # noqa: F401 -from motion_planner import MotionPlanner Client().problem.resetProblem()