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

WIP - HPP-FCL 3x #330

Merged
merged 311 commits into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
bca2520
hfield: fix logic
jcarpent Mar 13, 2023
26d15d0
hfield: fix faces and first step toward better collision detection re…
jcarpent Mar 15, 2023
90ce01f
[hfields] Don't count collisions outside bins
lmontaut Mar 17, 2023
2600e53
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 17, 2023
da2e3e4
[hfields] Fixing rotating normal
lmontaut Mar 17, 2023
0625a65
[hfields] Fixing GJKsolver output & hfields normal
lmontaut Mar 17, 2023
0334c04
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 17, 2023
e801be4
[hfields] Fixing assertion error due to distToCollision
lmontaut Mar 22, 2023
b207d82
[Contacts] Adding method to get distance to collision.
lmontaut Mar 22, 2023
c6ceda0
[GJKSolver] Uniformizing GJKSolver::shapeTriangleInteraction
lmontaut Mar 22, 2023
379bd97
[BVH-Shape] Uniformizing Contact for BVH-Shape.
lmontaut Mar 22, 2023
7d245c6
[BVH-BVH] Uniformizing Contact for BVH-BVH
lmontaut Mar 22, 2023
1cc9e18
[Octree] Octree-Octree collisions: uniformizing
lmontaut Mar 22, 2023
0d9a0b8
[Octree-BVH] Octree-BVH collisions: uniformizing
lmontaut Mar 22, 2023
84f3578
[Octree-Hfield] collisions: uniformizing according
lmontaut Mar 22, 2023
e2b6bcd
[Contact] getDistanceToCollision const
lmontaut Mar 22, 2023
6afd526
[Contact] getDistanceToCollision const
lmontaut Mar 22, 2023
e926e29
[Hfields] Removing std::cout and debug related stuff
lmontaut Mar 22, 2023
118805b
[GJKSolver] Fixing missing boolean in shapeTriangleInteraction
lmontaut Mar 22, 2023
890c76c
Merge pull request #381 from jcarpent/topic/hppfcl3x
jcarpent Mar 24, 2023
de739d3
Merge branch 'hppfcl3x' into topic/devel-to-hppfcl3x
jcarpent Mar 25, 2023
34997c1
Merge pull request #389 from humanoid-path-planner/topic/devel-to-hpp…
jcarpent Mar 25, 2023
406fd56
python/doc: add missing include for octree
jcarpent Mar 25, 2023
d19ff9a
core: add typedef for Vec6f
jcarpent Mar 25, 2023
867302b
cmake: use eigenpy >= 2.9.2
jcarpent Mar 25, 2023
777c8ae
octree: use Vec6f instead of boost::array
jcarpent Mar 25, 2023
6eef612
python/octree: expose more features
jcarpent Mar 25, 2023
6844526
octree: fix compatibility with Eigen
jcarpent Mar 25, 2023
ae9f2b8
ci/conda: update Python version
jcarpent Mar 25, 2023
46cb134
python/octree: expose clone
jcarpent Mar 26, 2023
4013718
python: remove compilation warning
jcarpent Mar 26, 2023
21b59db
octree: enhance efficiency of makeOctree
jcarpent Mar 26, 2023
276afa0
octree: add size method
jcarpent Mar 26, 2023
4479dfa
core: fix guard
jcarpent Apr 1, 2023
95e62fb
octree: make class fields protected instead of private
jcarpent Apr 1, 2023
87b1613
cmake: make optional the include files related to octree
jcarpent Apr 1, 2023
de77b62
octree: remove boost::array usages
jcarpent Apr 2, 2023
c106006
octree: add test of Octree::operator==
jcarpent Apr 2, 2023
7cf7629
octree: add doc
jcarpent Apr 2, 2023
b32ab2c
octree: add OcTree::getTree()
jcarpent Apr 2, 2023
d8db238
octree: extend operator==
jcarpent Apr 2, 2023
069eced
octree: add tobytes() method
jcarpent Apr 4, 2023
b7368c4
serialization/octree: add octree support
jcarpent Apr 4, 2023
85eed1a
python: expose Octree::tobytes
jcarpent Apr 4, 2023
dd69f64
cmake: fix stubgen dependency
jcarpent Apr 4, 2023
6467749
distance: add distance_function_not_implemented
jcarpent Apr 7, 2023
f8d1ec2
distance: set distance_function_not_implemented to OCTREE with HF
jcarpent Apr 7, 2023
9ceed63
Merge remote-tracking branch 'origin/devel' into hppfcl3x
jcarpent Apr 7, 2023
79523fb
python: fix conversion of bit vector to raw Python buffer
jcarpent Apr 7, 2023
ec28e21
python: fix compatibility with Python 2.7
jcarpent Apr 7, 2023
daf7e1e
python: fix Python 2.7
jcarpent Apr 7, 2023
cd02ecf
octree: fix computation of aabb_local
jcarpent Apr 7, 2023
ab05755
octree: fix var name
jcarpent Apr 7, 2023
899cbbd
octree: add missing copyright
jcarpent Apr 8, 2023
05e2a7d
python: add info on dependencies
jcarpent Apr 11, 2023
e2309bd
[details/GJK] Adding the polyak acceleration
lmontaut Apr 14, 2023
2d6cf46
[tests] Adding Polyak acceleration in tests
lmontaut Apr 14, 2023
253e5e6
[tests] Renaming test file for accelerated GJKs
lmontaut Apr 14, 2023
1b39539
[python/GJK] Exposing Polyak variant
lmontaut Apr 14, 2023
f94e59d
Merge pull request #398 from lmontaut/topic/polyak
jcarpent Apr 14, 2023
8a338b2
Merge pull request #390 from jcarpent/topic/hppfcl3x
jcarpent Apr 14, 2023
b010973
Add missing boost include
stephane-caron Apr 20, 2023
067f2a1
Merge pull request #401 from stephane-caron/fix/missing_include
jcarpent Apr 21, 2023
3a854ba
Merge pull request #411 from humanoid-path-planner/devel
jcarpent Apr 29, 2023
866f54e
Merge pull request #416 from humanoid-path-planner/devel
jcarpent May 9, 2023
b65d8d0
octree.cpp: add <array> header
ManifoldFR Jun 1, 2023
0d5077c
Merge pull request #432 from ManifoldFR/hppfcl3x
jcarpent Jun 1, 2023
ab8eded
Fix conversion warning
wxmerkt May 9, 2023
f483d78
ci: update macos-linux-pip
nim65s May 11, 2023
04ea7a8
CMake: set default build type
nim65s May 11, 2023
12a2739
CMake: fetch submodule if not available
nim65s May 11, 2023
9974dfb
tests: use boost::filesystem
nim65s May 19, 2023
c9a38fd
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] May 22, 2023
b87dd37
ci/windows: update python version to 3.10
jcarpent May 30, 2023
b354266
ci: fix python version as string
jcarpent May 30, 2023
4eaab2d
ci: update miniconda
jcarpent May 30, 2023
fe83b10
ci: fix conda-incubator/setup-miniconda
jcarpent May 30, 2023
2d11c64
python: fix class naming for Windows
jcarpent May 31, 2023
a5edf92
cmake: add missing include for python_build macro
jcarpent May 31, 2023
9123a4d
ci/windows: add "if errorlevel 1 exit 1"
jcarpent May 31, 2023
3c84457
release: Update package.xml version to 2.3.4
jcarpent Jun 1, 2023
863b945
core: remove useless var
jcarpent Jun 3, 2023
42afc32
cmake: sync submodule
jcarpent Jun 19, 2023
c664ba8
doc/python: fix parsing of anonymous enum
jcarpent Jun 19, 2023
e6bf8fd
Merge pull request #437 from jcarpent/topic/hppfcl3x
jcarpent Jun 19, 2023
662a44d
Merge remote-tracking branch 'origin/master' into hppfcl3x
jcarpent Jul 12, 2023
ed23518
[core/Convex] `points` switch raw to shared_ptr
lmontaut Jul 28, 2023
39bbe07
[misc/convex] Fix compiler warning
lmontaut Jul 28, 2023
5b173d0
[core/BVHModel] `vertices`: switch raw to shared pointer
lmontaut Jul 28, 2023
6b90fd4
[core/Convex] `polygons`: switch from raw to shared_ptr
lmontaut Jul 31, 2023
fbce0f6
[core/BVHModel] `tri_indices`: switch from raw to shared_ptr
lmontaut Jul 31, 2023
60e84cb
[core/Convex] `neighbors`: switch from raw to shared_ptr
lmontaut Jul 31, 2023
7b4c7a6
[core/Convex] Remove concept of `own_storage`
lmontaut Jul 31, 2023
532a224
[core/Convex] Make copy constructor and clone consistent with
lmontaut Aug 1, 2023
22d23f6
[misc/formatting] pre-commit formatting for BVHModel and Convex
lmontaut Aug 1, 2023
425cf0f
[core/Convex] Keep `convexHull` with raw pointer but mark it as depre…
lmontaut Aug 1, 2023
0ac9deb
[test/convex] Fixing memory allocation
lmontaut Aug 2, 2023
7bede79
[misc/BVHModel] remove useless todo. BVH splitter/fitter does not
lmontaut Aug 2, 2023
71b6df1
[core/BVHModel] `bvs`: switch from raw to shared_ptr
lmontaut Aug 2, 2023
92b6890
[core/BVHModel] `primitive_indices`: switch from raw to shared_ptr
lmontaut Aug 2, 2023
83e29f2
ci/ros: disable ccache
jcarpent Aug 2, 2023
8769740
ci/ros: sync industrial_ci
jcarpent Aug 1, 2023
906af40
ci/ros: remove foxy and replace with iron
jcarpent Aug 1, 2023
9bc6a72
Merge pull request #451 from lmontaut/topic/hppfcl3x/shared-ptrs
jcarpent Aug 8, 2023
510921c
[misc] fix typo in comment
lmontaut Aug 8, 2023
0fbcea3
[core/Convex] Adding mesh double description.
lmontaut Aug 9, 2023
78a780f
[core/Convex] Updating copy constructor and initialize
lmontaut Aug 9, 2023
4d1bb61
[core/Convex] Updating `isEqual` method
lmontaut Aug 9, 2023
8a7b26f
[serialization/Convex] Serializing `normals` and `offsets` of
lmontaut Aug 9, 2023
03a2397
[python/Convex] Python bindings of `normals` and `offsets` of
lmontaut Aug 9, 2023
08d2dd5
[core/Convex] Fix missing ifdef flag
lmontaut Aug 9, 2023
daa6d90
[core/Convex] qhull: moving includes back to .cpp file
lmontaut Aug 10, 2023
caeda28
[python/Convex] Fix eigen map and ref for `offsets`
lmontaut Aug 10, 2023
77cfb6d
[core/data_types] Changing to `Eigen::RowMajor`.
lmontaut Aug 10, 2023
172560f
[Core/Convex] Fixing memory leaks for `points`. Using std::vector.
lmontaut Sep 4, 2023
40f5886
[Core/BVHModel] Fixing memory leak for `vertices`. Using std::vector.
lmontaut Sep 5, 2023
44a374e
[Core/Convex] Fixing memory leak for `polygons`. Using std::vector.
lmontaut Sep 5, 2023
cbb3b6d
[Core/BVHModel] Fixing memory leak for `tri_indices` Using std::vector.
lmontaut Sep 5, 2023
6b84faa
[Core/Convex] Fixing memory leak for `neighbors`. Using std::vector.
lmontaut Sep 5, 2023
05040f1
[Core/BVHModel] Fixing memory leak for bvs. Using std::vector for `bvs`
lmontaut Sep 5, 2023
d5509ee
[Core/Convex] Fix memory leak for double description. Using std::vector
lmontaut Sep 5, 2023
2da373a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 5, 2023
75e05ec
[Misc/Convex] Adding missing include for windows
lmontaut Sep 6, 2023
5479466
[BVHModel] adding safeguard in `isEqual` in case `bvs` does not exist.
lmontaut Sep 6, 2023
3ea3001
[BVHModel] Update serialization
lmontaut Sep 7, 2023
3766c24
Merge pull request #450 from lmontaut/topic/hppfcl3x/mesh-double-desc…
jcarpent Sep 22, 2023
621eb84
Merge branch 'hppfcl3x' into hppfcl2x
jcarpent Oct 6, 2023
4cdc761
Merge pull request #458 from humanoid-path-planner/hppfcl2x
jcarpent Oct 6, 2023
bbb9c3a
[ConvexBase] Fix neighbor copy in copy constructor.
lmontaut Oct 5, 2023
b2f759a
[test/Convex] Update copy constructor test
lmontaut Oct 5, 2023
7dcc8e5
Merge pull request #457 from lmontaut/topic/hppfcl3x/fix_convex_neigh…
jcarpent Oct 11, 2023
1cdd6e8
Apply #464 on hppfcl3x (#465)
nim65s Nov 12, 2023
70b414f
[BVH-Halfspace] Fix missing normal when shapes are not in collision.
lmontaut Oct 12, 2023
414c071
[Triangle-halfspace] Fixing normal & nearest points
lmontaut Oct 26, 2023
3ebed93
[test] Adding BVH-halfspace normal_and_nearest_points test
lmontaut Oct 26, 2023
6c75f15
[broadphase/detail] explicitly #include <cstdint> header in morton.h
ManifoldFR Nov 14, 2023
4ef9538
Merge pull request #473 from ManifoldFR/topic/wjallet/include-cstdint
jcarpent Nov 14, 2023
c218968
Merge pull request #460 from lmontaut/hppfcl3x
jcarpent Nov 20, 2023
f93687e
Add metrics for gjk and epa (#479)
lmontaut Nov 22, 2023
dcd9238
[EPA] Exposing epa parameters to QueryRequests
lmontaut Nov 22, 2023
5a94d7d
Merge pull request #480 from lmontaut/topic/hppfcl3x/expose-epa-param…
jcarpent Nov 22, 2023
2107312
[CollisionObject] Provide helpers to get raw pointer of
lmontaut Nov 24, 2023
3a50c71
Merge pull request #482 from lmontaut/topic/hppfcl3x/geometry-object-…
jcarpent Nov 24, 2023
fc81cfc
core: fix compilation warning
jcarpent Nov 26, 2023
13b61f9
core: use reference on shared_ptr
jcarpent Nov 26, 2023
5a6de6e
Merge pull request #484 from jcarpent/topic/hppfcl3x
jcarpent Nov 26, 2023
a5a9670
Enable ruff linting (#464)
nim65s Oct 24, 2023
de8f748
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Oct 30, 2023
9403bda
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Nov 6, 2023
9a794c9
cmake: update jrlcmakemodules to support python3.12
jorisv Nov 13, 2023
4a0af8c
ci: add check step
jorisv Nov 13, 2023
70c311b
Provide conda build for python 3.10, 3.11 and 3.12
jorisv Nov 13, 2023
cb948b4
release: Update package.xml version to 2.3.7
jorisv Nov 14, 2023
7bc1686
serialization: fix missing include
jcarpent Nov 26, 2023
4942016
Merge pull request #485 from jcarpent/topic/hppfcl3x
jcarpent Nov 26, 2023
b073c3e
serialization: add helper to register types inside a Boost archive
jcarpent Nov 26, 2023
8c406a3
serialization: fix types
jcarpent Nov 27, 2023
0454636
serialization: add load_construct_data for OcTree class + clean
jcarpent Nov 27, 2023
48e93f3
serialization: add missing fwd declaration
jcarpent Nov 27, 2023
ebf4d7c
Merge pull request #486 from jcarpent/topic/hppfcl3x
jcarpent Nov 27, 2023
7bc19e7
[doc/Contact] Fix doc being at the wrong place
lmontaut Nov 27, 2023
d4af355
[CollisionResult] Adding missing `normal` field.
lmontaut Nov 27, 2023
28c9c94
[CollisionResult] Fill `normal` field
lmontaut Nov 27, 2023
1d498d5
[core] Missing swap results for swapped shapes
lmontaut Nov 27, 2023
0d0cd74
Merge pull request #490 from lmontaut/topic/hppfcl3x/contact-doc
jcarpent Nov 28, 2023
8aad3af
[CollisionData] Fix constructors & equal operators
lmontaut Nov 30, 2023
222c929
[serialize/CollisionData] Serialize missing fields
lmontaut Nov 30, 2023
205bb37
Apply suggestions from code review
jcarpent Dec 4, 2023
6f65f43
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 4, 2023
05f5db5
Merge pull request #492 from lmontaut/topic/hppfcl3x/collision-data-f…
jcarpent Dec 5, 2023
f52e4e7
cmake: sync submodule
jcarpent Dec 11, 2023
08e5b57
doc: fix
jcarpent Dec 11, 2023
c10dbd9
broadphase: add new signature for exist
jcarpent Dec 11, 2023
11e0e59
python: expose CollisionCallBackCollect::exist
jcarpent Dec 11, 2023
8eceaf7
python/utils: add std-pair support
jcarpent Dec 11, 2023
9d3b4ca
python/utils: fix compilations issues and warnings
jcarpent Dec 11, 2023
abcec53
python: register CollisionCallBackCollect::CollisionPair
jcarpent Dec 11, 2023
49e5020
Merge pull request #497 from jcarpent/topic/hppfcl3x
jcarpent Dec 11, 2023
09bf499
[python] Expose GJKInitialGuess
lmontaut Dec 14, 2023
714c20f
Merge pull request #500 from lmontaut/topic/hppfcl3x/expose-gjk-initi…
jcarpent Dec 15, 2023
21dc168
cmake: use MODULE keyword for Python modules
jcarpent Dec 12, 2023
c5f64c7
core: enhance quality for encompassing AABB in computeAABB
jcarpent Dec 15, 2023
6c4b7d7
core: use int instead of size_t
jcarpent Dec 15, 2023
726138f
broadphase/SaP: use AABB
jcarpent Dec 15, 2023
5582776
broadphase/SaP: rename var
jcarpent Dec 15, 2023
6421999
SaP: fix warning
jcarpent Dec 15, 2023
51c43cd
SaP: remove `;`
jcarpent Dec 15, 2023
50955dd
SaP: fix bug
jcarpent Dec 15, 2023
394b40e
SaP: remove warning
jcarpent Dec 15, 2023
620d564
SaP: fix var name
jcarpent Dec 15, 2023
4f530c0
SaP: add missing line
jcarpent Dec 15, 2023
4c2a354
Merge pull request #501 from jcarpent/topic/hppfcl3x
jcarpent Dec 18, 2023
ad38e3a
Merge tag 'v2.4.0' into hppfcl3x
jcarpent Dec 29, 2023
22074cc
python: fix segfault issue
jcarpent Dec 30, 2023
f1c068f
test/python: test empty BVH model
jcarpent Dec 30, 2023
c2c84e3
Merge pull request #506 from jcarpent/topic/hppfcl3x
jcarpent Dec 31, 2023
2307511
Deprecating `Quaternion3f` in favor of `Quatf`
lmontaut Jan 2, 2024
3f9fbec
[Readme] Add C++ and python examples
lmontaut Jan 2, 2024
b4990f5
Merge pull request #507 from lmontaut/topic/hppfcl3x/deprecate-quater…
jcarpent Jan 4, 2024
12d1bbd
narrowphase: fix missing computation of local AABB
jcarpent Jan 5, 2024
e1552b7
narrowphase: fix missing computation of local AABB
jcarpent Jan 5, 2024
8028610
core: move update of GJK result to the right segment
jcarpent Jan 6, 2024
115b812
test/serialization: add XML test
jcarpent Jan 6, 2024
055def9
serialization/octree: fix pointer case handling
jcarpent Jan 6, 2024
011b55e
serialization: add helpers to export classes
jcarpent Jan 6, 2024
9605f54
test/serialization: extend test to account for pointers
jcarpent Jan 6, 2024
b56968d
serialization: add cast_register for Pointers registration
jcarpent Jan 7, 2024
3aef419
core: enforce alignement of HField data members
jcarpent Jan 7, 2024
d5a9168
serialization: fix std::vector
jcarpent Jan 7, 2024
96a93b3
core: remove compilation error (duplicate)
jcarpent Jan 7, 2024
6e9e395
core: remove compilation warnings
jcarpent Jan 7, 2024
1fc8b0e
ci/conda: install compilers
jcarpent Jan 7, 2024
7472910
core: unify use of HPP_FCL_THROW_PRETTY
jcarpent Jan 8, 2024
354f818
test/python: fix assert
jcarpent Jan 8, 2024
38a341a
core: Initialize all ConvexBase value
jorisv Jan 8, 2024
f206d81
core: Fix alignement issue
jorisv Jan 8, 2024
2836224
core: fix headers
jcarpent Jan 8, 2024
8a822e7
python/auto-doc: fix issue on Windows
jcarpent Jan 8, 2024
c66754f
ci: Use ccache in CI build
jorisv Jan 9, 2024
ef40a79
ci: Do only 2 parallel build to avoid CI crash
jorisv Jan 9, 2024
5a36c3e
core: fix windows compilation issues
jcarpent Jan 9, 2024
e3624ce
ci: Fix ccache env variable and use Ninja in Linux/MacOS build
jorisv Jan 9, 2024
8b8ee08
ci: Try to use Ninja with ClangCL to support ccache
jorisv Jan 9, 2024
a4898e2
ci: Add ninja dependency
jorisv Jan 9, 2024
926ad9a
ci: Update windows build with cl
jorisv Jan 9, 2024
325e2aa
ci: Don't call conda list in windows workflow
jorisv Jan 9, 2024
ac43b7e
cmake: Add bigobj option on MSVC
jorisv Jan 9, 2024
052a8bf
ci: Update environment file name
jorisv Jan 9, 2024
f303191
ci: Use Python version in ccache cache key
jorisv Jan 9, 2024
5967e1b
ci: Deactivate ctest verbose
jorisv Jan 9, 2024
e0e7125
cmake: Use standard assimp config file if it exists
jorisv Jan 11, 2024
bb0074b
core: Fix octree serialization under Windows
jorisv Jan 12, 2024
5d62236
cmake: Fix Findassimp for ubuntu 20.04
jorisv Jan 12, 2024
cc914a9
cmake: Use Findassimp.cmake from jrlcmakemodules
jorisv Jan 12, 2024
1255f9a
serialization/octree: add further check
jcarpent Jan 16, 2024
aa364a1
Merge pull request #510 from jcarpent/topic/hppfcl3x
jcarpent Jan 17, 2024
876e899
cmake: sync submodule
jcarpent Jan 19, 2024
5f7347d
[broadphase] Initialize NodeVecIterator
lmontaut Jan 18, 2024
e61656f
Merge pull request #517 from jcarpent/topic/hppfcl3x
jcarpent Jan 19, 2024
0f96bf8
CMake: use Findassimp from jrl cmake module
nim65s Jan 24, 2024
7092869
changelog
nim65s Jan 24, 2024
edff674
Merge pull request #523 from humanoid-path-planner/master
jcarpent Jan 28, 2024
3c114e1
Merge branch 'hppfcl3x' into cmake-assimp
jcarpent Jan 28, 2024
917ea12
Merge pull request #522 from humanoid-path-planner/cmake-assimp
jcarpent Jan 29, 2024
a5ff1ee
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jan 29, 2024
5c11420
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 29, 2024
49fb7d5
Merge pull request #524 from humanoid-path-planner/pre-commit-ci-upda…
jcarpent Jan 30, 2024
494448b
Use Mathjax for documentation.
florent-lamiraux Jan 19, 2024
0cbfec3
Update CHANGELOG.md.
florent-lamiraux Jan 19, 2024
f2ab121
Merge pull request #518 from florent-lamiraux/hppfcl3x
jcarpent Jan 30, 2024
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
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
0067c8aa66aac548601e2a3fd029aa264cc59f2a
76b68f785df31b00e153290b45ec290a9c5f7963
# ruff --fix . (Guilhem Saurel, 2023-10-25)
02cef56abfacee590c8444fd379c8837bf007fa1
# black . (Guilhem Saurel, 2023-10-25)
febfbcbe9c98cdb4e0c7bbf4554a6925b391834b
# ruff --fix . (Guilhem Saurel, 2023-10-24)
58dee5ae90eded5125825a2da0fe76a5031f3334
# black . (Guilhem Saurel, 2023-10-24)
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/conda/environment_macos_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: fcl
channels:
- conda-forge
- nodefaults
dependencies:
- eigen
- octomap
- assimp
- numpy
- boost
- eigenpy
- python
- doxygen
- lxml
- pylatexenc
- qhull
- cmake
- ccache
- cxx-compiler
- llvm-openmp
- pkg-config
- ninja
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ dependencies:
- lxml
- pylatexenc
- qhull
- cmake
- ccache
- pkg-config
- ninja
70 changes: 41 additions & 29 deletions .github/workflows/macos-linux-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,63 +4,75 @@ on: [push,pull_request]

jobs:
hpp-fcl-conda:
name: CI on ${{ matrix.os }} with Conda
name: CI on ${{ matrix.os }} with Conda Python ${{ matrix.python-version }} - ${{ matrix.build_type }} ${{ matrix.cxx_options }}
runs-on: ${{ matrix.os }}
env:
CCACHE_BASEDIR: "${GITHUB_WORKSPACE}"
CCACHE_DIR: "${GITHUB_WORKSPACE}/.ccache"
CCACHE_COMPRESS: true
CCACHE_COMPRESSLEVEL: 6

strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.8", "3.12"]
cxx_options: ['', '-mavx2']
build_type: [Release, Debug]
exclude:
- build_type: Debug
cxx_options: -mavx2
os: macos-latest
- build_type: Release
cxx_options: -mavx2
os: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: conda-incubator/setup-miniconda@v2
- uses: actions/cache@v3
with:
activate-environment: hpp-fcl
path: .ccache
key: ccache-macos-linux-conda-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.python-version }}-${{ github.sha }}
restore-keys: ccache-macos-linux-conda-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.python-version }}-

- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: fcl
auto-update-conda: true
environment-file: .github/workflows/conda/conda-env.yml
environment-file: .github/workflows/conda/environment_macos_linux.yml
python-version: ${{ matrix.python-version }}

- name: Install compilers on OSX
if: contains(matrix.os, 'macos')
shell: bash -l {0}
run: |
conda activate hpp-fcl
conda install compilers=1.4.2 -c conda-forge

- name: Install cmake and update conda
shell: bash -l {0}
run: |
conda activate hpp-fcl
conda install cmake -c main
conda install llvm-openmp -c conda-forge
auto-activate-base: false

- name: Build hpp-fcl
shell: bash -l {0}
shell: bash -el {0}
run: |
conda activate hpp-fcl
conda list
echo $CONDA_PREFIX

mkdir build
cd build

cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3) -DGENERATE_PYTHON_STUBS=ON -DHPP_FCL_HAS_QHULL=ON
make -j2
make build_tests
export CTEST_OUTPUT_ON_FAILURE=1
make test
make install
cmake .. \
-G "Ninja" \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DCMAKE_CXX_FLAGS=${{ matrix.cxx_options }} \
-DPYTHON_EXECUTABLE=$(which python3) \
-DGENERATE_PYTHON_STUBS=ON \
-DHPP_FCL_HAS_QHULL=ON
cmake --build . -j2
ctest --output-on-failure
cmake --install .

- name: Uninstall hpp-fcl
shell: bash -l {0}
shell: bash -el {0}
run: |
cd build
make uninstall
cmake --build . --target uninstall

check:
if: always()
Expand Down
44 changes: 24 additions & 20 deletions .github/workflows/windows-conda-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on: [push,pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
env:
CCACHE_BASEDIR: "${GITHUB_WORKSPACE}"
CCACHE_DIR: "${GITHUB_WORKSPACE}/.ccache"
CCACHE_COMPRESS: true
CCACHE_COMPRESSLEVEL: 6

strategy:
fail-fast: false
matrix:
Expand All @@ -15,42 +21,40 @@ jobs:
compiler: clang-cl

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: conda-incubator/setup-miniconda@v2
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

- uses: actions/cache@v3
with:
path: .ccache
key: ccache-windows-conda-clang-${{ matrix.os }}-${{ matrix.compiler }}-${{ github.sha }}
restore-keys: ccache-windows-conda-clang-${{ matrix.os }}-${{ matrix.compiler }}-

- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: fcl
environment-file: .github/workflows/conda/conda-env.yml
auto-update-conda: true
environment-file: .github/workflows/conda/environment_windows.yml
python-version: "3.10"
- name: Install cmake and update conda
run: |
conda install cmake -c main
auto-activate-base: false

- name: Build FCL
shell: cmd /C CALL {0}
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
:: unset extra Boost envs
set Boost_ROOT=
set BOOST_ROOT_1_69_0=
set BOOST_ROOT_1_72_0=
set PATH=%PATH:C:\hostedtoolcache\windows\Boost\1.72.0;=%

call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
:: Tell Ninja to use clang-cl
set CC=clang-cl
set CXX=clang-cl

:: Create build
mkdir build
pushd build

:: Configure
set PKG_CONFIG_PATH=%CONDA_PREFIX%\Library\share\pkgconfig:%CONDA_PREFIX%\Library\share\pkgconfig
cmake ^
-G "Visual Studio 16 2019" -T "ClangCl" -DCMAKE_GENERATOR_PLATFORM=x64 ^
-G "Ninja" ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache ^
-DCMAKE_BUILD_TYPE=Release ^
-DGENERATE_PYTHON_STUBS=ON ^
-DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^
Expand All @@ -65,7 +69,7 @@ jobs:
if errorlevel 1 exit 1

:: Testing
ctest --output-on-failure -C Release -V
ctest --output-on-failure -C Release
if errorlevel 1 exit 1

:: Test Python import
Expand Down
40 changes: 21 additions & 19 deletions .github/workflows/windows-conda-v142.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on: [push,pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
env:
CCACHE_BASEDIR: "${GITHUB_WORKSPACE}"
CCACHE_DIR: "${GITHUB_WORKSPACE}/.ccache"
CCACHE_COMPRESS: true
CCACHE_COMPRESSLEVEL: 6

strategy:
fail-fast: false
matrix:
Expand All @@ -14,42 +20,38 @@ jobs:
os: windows-2019

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: conda-incubator/setup-miniconda@v2
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

- uses: actions/cache@v3
with:
path: .ccache
key: ccache-windows-conda-vs-${{ matrix.os }}-${{ matrix.compiler }}-${{ github.sha }}
restore-keys: ccache-windows-conda-vs-${{ matrix.os }}-${{ matrix.compiler }}-

- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: fcl
environment-file: .github/workflows/conda/conda-env.yml
auto-update-conda: true
environment-file: .github/workflows/conda/environment_windows.yml
python-version: "3.10"
- name: Install cmake and update conda
run: |
conda install cmake -c main
auto-activate-base: false

- name: Build FCL
shell: cmd /C CALL {0}
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
:: unset extra Boost envs
set Boost_ROOT=
set BOOST_ROOT_1_69_0=
set BOOST_ROOT_1_72_0=
set PATH=%PATH:C:\hostedtoolcache\windows\Boost\1.72.0;=%

call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64

:: Create build
mkdir build
pushd build

:: Configure
set PKG_CONFIG_PATH=%CONDA_PREFIX%\Library\share\pkgconfig:%CONDA_PREFIX%\Library\share\pkgconfig
cmake ^
-G "Visual Studio 16 2019" -T "v142" -DCMAKE_GENERATOR_PLATFORM=x64 ^
-G "Ninja" ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache ^
-DCMAKE_BUILD_TYPE=Release ^
-DGENERATE_PYTHON_STUBS=ON ^
-DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^
Expand All @@ -64,7 +66,7 @@ jobs:
if errorlevel 1 exit 1

:: Testing
ctest --output-on-failure -C Release -V
ctest --output-on-failure -C Release
if errorlevel 1 exit 1

:: Test Python import
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ repos:
hooks:
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,35 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Fixed

- CMake: fix assimp finder

## [2.4.1] - 2024-01-23

### Fixed
- CachedMeshLoader checks file last modification time.
- Fix call to clear methods for {Collision,Distance}Data inside init function ([#509](https://github.com/humanoid-path-planner/hpp-fcl/pull/509))
- CMake: fix submodule use in bindings in ([#512](https://github.com/humanoid-path-planner/hpp-fcl/pull/512))
- Fix bug in DynamicAABBTreeCollisionManager (see [#514](https://github.com/humanoid-path-planner/hpp-fcl/issues/514)) in ([#515](https://github.com/humanoid-path-planner/hpp-fcl/pull/515))
### Added
- In struct Contact
- Documentation of the members,
- initialization of normal, closest points and contact point in constructors
- method getDistanceToCollision
- New variant of GJK (PolyakAcceleration).
- Specialization of distance computation between
- Sphere and Capsule,
- Ellipsoid and Halfspace,
- Ellipsoid and Plane.
- Collision computation between Octree and HeightField.

### Changed
- Matrixx3f and Matrixx3i become row major.
- Use shared pointers to vectors instead of arrays for vertices and triangles in class BVHModelBase.

### Removed
- members related epa in class QueryRequest

## [2.4.0] - 2023-11-27

Expand Down
14 changes: 10 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ include("${JRL_CMAKE_MODULES}/ide.cmake")
include(CMakeDependentOption)

SET(CMAKE_MODULE_PATH
${CMAKE_SOURCE_DIR}/cmake-modules/
${JRL_CMAKE_MODULES}/find-external/assimp/
${CMAKE_MODULE_PATH})

set_default_cmake_build_type("RelWithDebInfo")
Expand Down Expand Up @@ -107,7 +107,7 @@ CMAKE_DEPENDENT_OPTION(GENERATE_PYTHON_STUBS "Generate the Python stubs associat
ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.0")

if(BUILD_PYTHON_INTERFACE)
FIND_PACKAGE(eigenpy 2.7.10 REQUIRED)
FIND_PACKAGE(eigenpy 2.9.2 REQUIRED)
endif()

# Required dependencies
Expand Down Expand Up @@ -243,7 +243,6 @@ SET(${PROJECT_NAME}_HEADERS
include/hpp/fcl/BVH/BVH_utility.h
include/hpp/fcl/collision_object.h
include/hpp/fcl/collision_utility.h
include/hpp/fcl/octree.h
include/hpp/fcl/hfield.h
include/hpp/fcl/fwd.hh
include/hpp/fcl/mesh_loader/assimp.h
Expand All @@ -257,7 +256,6 @@ SET(${PROJECT_NAME}_HEADERS
include/hpp/fcl/internal/traversal_node_bvh_shape.h
include/hpp/fcl/internal/traversal_node_bvhs.h
include/hpp/fcl/internal/traversal_node_hfield_shape.h
include/hpp/fcl/internal/traversal_node_octree.h
include/hpp/fcl/internal/traversal_node_setup.h
include/hpp/fcl/internal/traversal_node_shapes.h
include/hpp/fcl/internal/traversal_recurse.h
Expand All @@ -282,6 +280,14 @@ SET(${PROJECT_NAME}_HEADERS
include/hpp/fcl/timings.h
)

IF(HPP_FCL_HAS_OCTOMAP)
LIST(APPEND ${PROJECT_NAME}_HEADERS
include/hpp/fcl/octree.h
include/hpp/fcl/serialization/octree.h
include/hpp/fcl/internal/traversal_node_octree.h
)
ENDIF(HPP_FCL_HAS_OCTOMAP)

add_subdirectory(doc)
add_subdirectory(src)
if (BUILD_PYTHON_INTERFACE)
Expand Down
Loading
Loading