Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent 870223d commit 6f40068
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions script/grasp_ball.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from hpp import Transform
from hpp.corbaserver.manipulation import ConstraintGraph, Constraints
from manipulation import (
Ground,
PathPlayer, # noqa: F401
Expand All @@ -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(
Expand Down
5 changes: 3 additions & 2 deletions script/grasp_ball_in_box.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from hpp.corbaserver import Client # noqa: F401
from hpp.corbaserver.manipulation import ConstraintGraph
from manipulation import (
Box,
Ground,
Expand All @@ -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])
Expand Down
3 changes: 2 additions & 1 deletion script/rrt.py
Original file line number Diff line number Diff line change
@@ -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()

Expand Down

0 comments on commit 6f40068

Please sign in to comment.