From de3110a50f1f2f67b992b34d3564a8e9fbca5619 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 17:21:24 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- script/grasp_ball.py | 5 +++-- script/grasp_ball_in_box.py | 5 +++-- script/rrt.py | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) 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()