Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #34

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ci:
autoupdate_branch: devel
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.5
rev: v0.6.3
hooks:
- id: ruff
args:
Expand Down
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