Skip to content
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
39 changes: 39 additions & 0 deletions .github/workflows/ci_ros2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: ROS2 Continuous Integration
on:
push:
branches:
- devel
- main
pull_request:
jobs:
build:
strategy:
matrix:
env:
- {ROS_DISTRO: rolling}
env:
UPSTREAM_WORKSPACE: |
github:gepetto/example-robot-data#devel
github:humanoid-path-planner/hpp-constraints#devel
github:humanoid-path-planner/hpp-core#devel
github:humanoid-path-planner/hpp-environments#devel
github:humanoid-path-planner/hpp-manipulation#devel
github:humanoid-path-planner/hpp-manipulation-urdf#devel
github:humanoid-path-planner/hpp-pinocchio#devel
github:humanoid-path-planner/hpp-statistics#devel
github:humanoid-path-planner/hpp-util#devel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: 'ros-industrial/industrial_ci@125164b9f1883cdf1858897a7146d1bebf2be5c6'
env: ${{ matrix.env }}
check:
if: always()
name: check-ros-ci
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
1 change: 1 addition & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pull_request_rules:
- name: merge [bot] PRs when CI pass
conditions:
- check-success = "check-macos-linux-nix"
- check-success = "check-ros-ci"
- check-success = "pre-commit.ci - pr"
- or:
- author = dependabot[bot]
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ set(${PROJECT_NAME}_HEADERS
)

set(PYTHON_COMPONENTS Interpreter Development NumPy)
findpython()

add_project_dependency(hpp-util REQUIRED)
add_project_dependency(hpp-pinocchio REQUIRED)
Expand All @@ -113,7 +114,6 @@ add_project_dependency(hpp-manipulation REQUIRED)
add_project_dependency(hpp-manipulation-urdf REQUIRED)
add_project_dependency(eigenpy REQUIRED)
add_project_dependency(pinocchio REQUIRED)
findpython()
search_for_boost_python()

if(BUILD_TESTING)
Expand Down
2 changes: 1 addition & 1 deletion doc/configure.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2018 CNRS
# Authors: Joseph Mirabel
Expand Down
48 changes: 24 additions & 24 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 24 additions & 33 deletions package.xml
Original file line number Diff line number Diff line change
@@ -1,37 +1,28 @@
<?xml version='1.0'?>
<package format='2'>
<name>hpp-python</name>
<version>8.0.0</version>
<description>Implement python bindings for HPP </description>
<package format='2'>
<name>hpp_python</name>
<version>8.0.0</version>
<description>Implement python bindings for HPP</description>
<author>Joseph Mirabel</author>
<author>Florent Lamiraux</author>
<maintainer email='guilhem.saurel@laas.fr'>Guilhem Saurel</maintainer>
<license>BSD-2-Clause</license>

<maintainer email='hpp@laas.fr'>Joseph Mirabel</maintainer>
<license>BSD</license>
<depend>eigenpy</depend>
<depend>pinocchio</depend>
<depend>hpp_util</depend>
<depend>hpp_pinocchio</depend>
<depend>hpp_constraints</depend>
<depend>hpp_core</depend>
<depend>hpp_manipulation</depend>
<depend>hpp_manipulation_urdf</depend>

<author>Joseph Mirabel</author>
<author>Florent Lamiraux</author>
<buildtool_depend>cmake</buildtool_depend>
<build_depend>doxygen</build_depend>
<build_depend>jrl_cmakemodules</build_depend>
<build_depend>python3-lxml</build_depend>

<build_depend>eigenpy</build_depend>
<exec_depend>eigenpy</exec_depend>
<build_export_depend>eigenpy</build_export_depend>
<build_depend>pinocchio</build_depend>
<exec_depend>pinocchio</exec_depend>
<build_export_depend>pinocchio</build_export_depend>
<build_depend>hpp-util</build_depend>
<exec_depend>hpp-util</exec_depend>
<build_export_depend>hpp-util</build_export_depend>
<build_depend>hpp-pinocchio</build_depend>
<exec_depend>hpp-pinocchio</exec_depend>
<build_export_depend>hpp-pinocchio</build_export_depend>
<build_depend>hpp-constraints</build_depend>
<exec_depend>hpp-constraints</exec_depend>
<build_export_depend>hpp-constraints</build_export_depend>
<build_depend>hpp-core</build_depend>
<exec_depend>hpp-core</exec_depend>
<build_export_depend>hpp-core</build_export_depend>
<build_depend>hpp-manipulation</build_depend>
<exec_depend>hpp-manipulation</exec_depend>
<build_export_depend>hpp-manipulation</build_export_depend>
<build_depend>hpp-manipulation-urdf</build_depend>
<exec_depend>hpp-manipulation-urdf</exec_depend>
<build_export_depend>hpp-manipulation-urdf</build_export_depend>
</package>
<export>
<build_type>cmake</build_type>
</export>
</package>
2 changes: 1 addition & 1 deletion src/pyhpp/core/static_stability_constraint_factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion src/pyhpp/manipulation/constraint_graph_factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion src/pyhpp/manipulation/security_margins.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2020 CNRS, Airbus SAS
# Author: Florent Lamiraux
Expand Down
2 changes: 1 addition & 1 deletion src/pyhpp/pinocchio/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Florent Lamiraux
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/benchmark_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/construction-set-m-rrt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from math import pi, sqrt
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/pr2-in-iai-kitchen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/romeo-placard.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/ur3-spheres-spf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright 2020 CNRS
#
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_configuration_shooter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_constraint_factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_constraint_graph_factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_device.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_differentiable_function.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_handles_grippers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_liegroup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_path.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_path_optimizer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_path_planner.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_path_projector.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_path_validation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_position_constraint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_problem.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (c) 2025 CNRS
# Author: Paul Sardin
Expand Down
Loading