Skip to content

update python prefabs #125

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

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
64467b2
Resolve remaining bugs related to SoftRobot plugin compilation issues.
adagolodjo Aug 22, 2024
37b54a7
update python prefabs
adagolodjo Aug 30, 2024
df9225e
Merge branch 'fixLinkWithSoftRobot' into update_python_prefabs
adagolodjo Aug 30, 2024
9de9336
Merge pull request #128 from SofaDefrost/master
adagolodjo Sep 2, 2024
79547ec
fix bugs due to Sofa Update
adagolodjo Sep 5, 2024
05451bd
Merge branch 'update_python_prefabs' of github.com:SofaDefrost/plugin…
adagolodjo Sep 5, 2024
bd2d47e
fix bugs due to Sofa Update
adagolodjo Sep 5, 2024
ef0220c
Refactor Cosserat prefab to remove visualization parameters and simpl…
adagolodjo Sep 6, 2024
1a439c8
-----> qwen2
adagolodjo Sep 6, 2024
f76833e
-----> qwen2
adagolodjo Sep 6, 2024
87c1064
Refactor naming consistency and update parameters in BeamPhysicsParam…
adagolodjo Sep 6, 2024
8f84fab
Rename parameter data class for prefab use case"
adagolodjo Sep 6, 2024
609dd33
Refactoring
adagolodjo Sep 6, 2024
1411919
Refactor naming consistency and update parameters in BeamPhysicsParam…
adagolodjo Sep 6, 2024
ff18262
Rename parameter data class for prefab use case"
adagolodjo Sep 6, 2024
60add9d
cleanning prefab
adagolodjo Sep 8, 2024
3f200fa
Merge remote-tracking branch 'origin/update_python_prefabs' into upda…
adagolodjo Sep 8, 2024
e469781
Merge branch 'master' of github.com:SofaDefrost/plugin.Cosserat
adagolodjo Sep 10, 2024
49bf1c5
code cleanning
adagolodjo Sep 11, 2024
ca025cd
Merge branch 'master' of github.com:SofaDefrost/plugin.Cosserat
adagolodjo Oct 3, 2024
b0cf1a2
merge master to update_python_prefabs branch
adagolodjo Oct 4, 2024
1c7d597
clean tuto scenes
adagolodjo Oct 7, 2024
9332cde
update tuto3 scene regarding the modification of cosserat's prefab
adagolodjo Oct 8, 2024
0752b10
Add beam structure with points and controller for cable actuation
adagolodjo Oct 9, 2024
a5e9503
adding new scens
adagolodjo Oct 9, 2024
21b4cdf
Refactor CosseratBase and tutorial scenes to update parameter handlin…
adagolodjo Oct 14, 2024
368f0d2
Refactor CosseratBase and tutorial scenes to update parameter handlin…
adagolodjo Oct 14, 2024
07fa31e
Enhance FEM object integration and update beam parameters
adagolodjo Oct 16, 2024
8f54ed3
Fix logging in SparseLDLSolver and update gravity in tutorial
adagolodjo Oct 30, 2024
04ec1c8
enhance and restructure FEM mesh handling and visualization
adagolodjo Nov 15, 2024
ef893b2
Merge branch 'master' of github.com:SofaDefrost/plugin.Cosserat
adagolodjo Nov 29, 2024
ee91fb7
merge master
adagolodjo Nov 29, 2024
795b81c
Merge remote-tracking branch 'upstream/master' into update_python_pre…
alxbilger Dec 3, 2024
78e8133
Merge branch 'master' of github.com:SofaDefrost/plugin.Cosserat
adagolodjo Dec 3, 2024
ecbd8b0
Refactor PCS_Example3.py: Remove unused code, fix variable names, and…
adagolodjo Dec 3, 2024
d4d4ce8
Merge branch 'master' of github.com:SofaDefrost/plugin.Cosserat
adagolodjo Dec 7, 2024
b3eabbb
merge master, and remove non necessary file
adagolodjo Dec 7, 2024
8780aaf
clean the test
adagolodjo Apr 12, 2025
671ea0a
add lie group
adagolodjo Apr 12, 2025
dcc5510
clean the test
adagolodjo Apr 12, 2025
26f730c
docs(lie-groups): add implementation roadmap and documentation
adagolodjo Apr 12, 2025
b218d74
Merge branch 'master' into update_python_prefabs
adagolodjo Apr 12, 2025
bf39cdc
docs: Add comprehensive Lie group documentation and utilities
adagolodjo Apr 12, 2025
21c1622
Merge remote-tracking branch 'origin/feature/lie-groups' and resolve …
adagolodjo Apr 12, 2025
e52b15b
Update CMakeLists files
adagolodjo Apr 12, 2025
fb5811f
Merge branch 'feature/lie-groups' into feature/comprehensive-improvem…
adagolodjo Apr 12, 2025
89f74f4
feat: Add BaseBeamHookeLawForceField and update beam force field impl…
adagolodjo Apr 13, 2025
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
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@ if(COSSERAT_BUILD_TESTS)
add_subdirectory(Tests)
endif()

# Benchmarks
# Only build benchmarks if Google Benchmark is available
find_package(benchmark QUIET)
if(benchmark_FOUND)
message(STATUS "Google Benchmark found, enabling benchmark support")
cmake_dependent_option(COSSERAT_BUILD_BENCHMARKS "Compile the benchmarks" ON "COSSERAT_BUILD_TESTS" OFF)
else()
message(STATUS "Google Benchmark not found, benchmarks will be disabled")
set(COSSERAT_BUILD_BENCHMARKS OFF CACHE BOOL "Compile the benchmarks" FORCE)
endif()


# Config files and install rules for pythons scripts
sofa_install_pythonscripts(PLUGIN_NAME ${PROJECT_NAME} PYTHONSCRIPTS_SOURCE_DIR "examples/python3/")
Expand Down
54 changes: 25 additions & 29 deletions Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,42 +1,38 @@
cmake_minimum_required(VERSION 3.12)

set(This Cosserat_test)
project(Cosserat_test)

project(${This} C CXX)
if (UNIT_TEST)

#find_package(Cosserat REQUIRED)
find_package(Sofa.Testing REQUIRED)
enable_testing()

enable_testing()
set(HEADER_FILES
)

set(HEADER_FILES
Example.h
constraint/Constraint.h
)
set(SOURCE_FILES
Example.cpp
constraint/ExampleTest.cpp
# constraint/CosseratUnilateralInteractionConstraintTest.cpp
set(SOURCE_FILES
engine/GeometricStiffnessEngineTest.cpp
forcefield/BeamHookeLawForceFieldTest.cpp
mapping/AdaptiveBeamMappingTest.cpp
mapping/CosseratNonLinearMapping2DTest.cpp
liegroups/RealSpaceTest.cpp
liegroups/SO2Test.cpp
liegroups/SE2Test.cpp
)

add_executable(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES})
target_link_libraries(${PROJECT_NAME} Cosserat_SRC)
target_link_libraries(${PROJECT_NAME} gtest gtest_main)
target_link_libraries(${PROJECT_NAME} SofaGTestMain)

add_executable(${This} ${SOURCE_FILES} ${HEADER_FILES})

target_link_libraries(${PROJECT_NAME}
Sofa.Testing
Cosserat
)

target_include_directories(${This}
PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../>"
)
if(APPLE)
target_link_libraries(${PROJECT_NAME} "-framework Cocoa")
endif()

add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME})

add_test(
NAME ${This}
COMMAND ${This}
)
endif()

#[[add_subdirectory(constraint)]]
# Add benchmarks subdirectory if benchmarks are enabled
if(COSSERAT_BUILD_BENCHMARKS)
add_subdirectory(benchmarks)
endif()
Loading
Loading