-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add Collision Detection #128
Closed
NicerNewerCar
wants to merge
27
commits into
BrownBiomechanics:main
from
NicerNewerCar:add-collision
Closed
Add Collision Detection #128
NicerNewerCar
wants to merge
27
commits into
BrownBiomechanics:main
from
NicerNewerCar:add-collision
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add option `Autoscoper_BUILD_VTK` - Builds VTK as part of Autoscopers Superbuild - Defaults to OFF * Add External_VTK for VTK v9.2.6
NicerNewerCar
force-pushed
the
add-collision
branch
from
June 1, 2023 18:18
f10d44a
to
486a8d1
Compare
NicerNewerCar
force-pushed
the
add-collision
branch
from
June 5, 2023 13:39
486a8d1
to
9b71a05
Compare
jcfr
added a commit
to jcfr/SlicerAutoscoperM
that referenced
this pull request
Jun 23, 2023
Highlighted Autoscoper changes: * Fix trailing comma when saving single volume tracking data so that the file can be loaded by other CVS reader (e.g numpy) Before: X_data, Y_data, Z_data, YAW_data, PITCH_data, ROLL_data, After: X_data, Y_data, Z_data, YAW_data, PITCH_data, ROLL_data See pull request BrownBiomechanics/Autoscoper#130 * Documentation updates * Update sources to explicitly reference "std" namespace. * Add support for 3D kernels (Kernel::block3d and Kernel::grid3d). Not yet used. It was originally integrated to support the computation of "Distance field" in pull request BrownBiomechanics/Autoscoper#87 (Add support for loading meshes with trials) which was closed in favor of BrownBiomechanics/Autoscoper#128 (Add Collision Detection) List of Autoscoper changes: $ git shortlog 60b3d6ec0..b29d30f51 --no-merges Anthony Lombardi (20): ENH: Update OpenCL wrapper to support 3D kernels (PR-113) DOC: Fix typos in PyAutoscoper docstrings DOC: Set up Markdown Sphinx docs DOC: Add Documentation for PyAutoscoper DOC: Add About Autoscoper section to RTD DOC: Add getting started and user interface to RTD DOC: Add MATLAB socket control docs to RTD DOC: Add dev guide to RTD DOC: Update the license info on the home page DOC: Add UI description DOC: Add instructions for remote GPU access DOC: Add tutorials for sample and custom data DOC: Add file specifications ENH: Add .readthedocs.yaml to install required packages ENH: Make content take up 100% of the screen width DOC: Add tutorial for filters DOC: Update History and Getting Started DOC: Update README for PyAutoscoper to point to RTD DOC: Add tutorial descriptions and reference on getting started BUG: Fix trailing comma when saving single volume tracking data Jean-Christophe Fillion-Robin (24): STYLE: Update "line-length" black settings from 88 to 120 DOC: Add top-level license based on source file headers DOC: Update README adding a "License" section along with historical notes STYLE: Update black version specified in pre-commit config COMP: Update pre-commit config to ensure black always uses expected settings COMP: Explicitly reference "std" namespace DOC: Consistently add an empty line between header and content DOC: Strip trailing white spaces DOC: Add dedicated "About" top-level section DOC: Move SampleData description in "Getting Started" DOC: Move "Advanced Topics" after "User Interface" and "Tutorials" DOC: Fix headers in CONTRIBUTING document DOC: Fix cross-references warnings DOC: Update configuration removing invalid options DOC: Fix formatting of "Example" in "Camera Calibration File Format" DOC: Update "Getting Started" to fix reference to sample data ENH: Update NewTrialDialog UI file to use "OK" instead of "Ok" DOC: Fix miscellaneous typos DOC: Update PyAutoscoper document to use back-ticks around method names DOC: Tweak formatting of "Loading and Tracking Data" tutorial DOC: Use "AutoscoperM" instead of SAM in "Loading Custom Data" tutorial DOC: Ensure "Tutorials" are complete by relying on implicit link text STYLE: Remove obsolete comments from autoscoper/CMakeLists.txt COMP: Set autoscoper_set_env.sh permission flags only if configuring script
jcfr
added a commit
to BrownBiomechanics/SlicerAutoscoperM
that referenced
this pull request
Jun 23, 2023
Highlighted Autoscoper changes: * Fix trailing comma when saving single volume tracking data so that the file can be loaded by other CVS reader (e.g numpy) Before: X_data, Y_data, Z_data, YAW_data, PITCH_data, ROLL_data, After: X_data, Y_data, Z_data, YAW_data, PITCH_data, ROLL_data See pull request BrownBiomechanics/Autoscoper#130 * Documentation updates * Update sources to explicitly reference "std" namespace. * Add support for 3D kernels (Kernel::block3d and Kernel::grid3d). Not yet used. It was originally integrated to support the computation of "Distance field" in pull request BrownBiomechanics/Autoscoper#87 (Add support for loading meshes with trials) which was closed in favor of BrownBiomechanics/Autoscoper#128 (Add Collision Detection) List of Autoscoper changes: $ git shortlog 60b3d6ec0..b29d30f51 --no-merges Anthony Lombardi (20): ENH: Update OpenCL wrapper to support 3D kernels (PR-113) DOC: Fix typos in PyAutoscoper docstrings DOC: Set up Markdown Sphinx docs DOC: Add Documentation for PyAutoscoper DOC: Add About Autoscoper section to RTD DOC: Add getting started and user interface to RTD DOC: Add MATLAB socket control docs to RTD DOC: Add dev guide to RTD DOC: Update the license info on the home page DOC: Add UI description DOC: Add instructions for remote GPU access DOC: Add tutorials for sample and custom data DOC: Add file specifications ENH: Add .readthedocs.yaml to install required packages ENH: Make content take up 100% of the screen width DOC: Add tutorial for filters DOC: Update History and Getting Started DOC: Update README for PyAutoscoper to point to RTD DOC: Add tutorial descriptions and reference on getting started BUG: Fix trailing comma when saving single volume tracking data Jean-Christophe Fillion-Robin (24): STYLE: Update "line-length" black settings from 88 to 120 DOC: Add top-level license based on source file headers DOC: Update README adding a "License" section along with historical notes STYLE: Update black version specified in pre-commit config COMP: Update pre-commit config to ensure black always uses expected settings COMP: Explicitly reference "std" namespace DOC: Consistently add an empty line between header and content DOC: Strip trailing white spaces DOC: Add dedicated "About" top-level section DOC: Move SampleData description in "Getting Started" DOC: Move "Advanced Topics" after "User Interface" and "Tutorials" DOC: Fix headers in CONTRIBUTING document DOC: Fix cross-references warnings DOC: Update configuration removing invalid options DOC: Fix formatting of "Example" in "Camera Calibration File Format" DOC: Update "Getting Started" to fix reference to sample data ENH: Update NewTrialDialog UI file to use "OK" instead of "Ok" DOC: Fix miscellaneous typos DOC: Update PyAutoscoper document to use back-ticks around method names DOC: Tweak formatting of "Loading and Tracking Data" tutorial DOC: Use "AutoscoperM" instead of SAM in "Loading Custom Data" tutorial DOC: Ensure "Tutorials" are complete by relying on implicit link text STYLE: Remove obsolete comments from autoscoper/CMakeLists.txt COMP: Set autoscoper_set_env.sh permission flags only if configuring script
jcfr
reviewed
Aug 15, 2023
libautoscoper/src/PSO.cpp
Outdated
@@ -2,6 +2,8 @@ | |||
#include <iostream> | |||
#include <string> | |||
|
|||
#define VELOCITY_FILTER 0 | |||
#define COLLISION_REPONSE 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
#define COLLISION_REPONSE 0 | |
#define COLLISION_RESPONSE 0 |
* Add option `Autoscoper_BUILD_VTK` - Builds VTK as part of Autoscopers Superbuild - Defaults to OFF * Add External_VTK for VTK v9.2.6
is it possible to get a version if collision detected .. rather than integrated into optimization? As a first step |
Closing in favor of #295 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The groundwork for collision detection in Autoscoper.
Enable collision detection by either turning the
Autoscoper_BUILD_VTK
option on or by passingVTK_DIR
(build directory of a pre-built VTK library) at configuration time.Autoscoper_BUILD_VTK
- Builds VTK as part of Autoscopers Superbuild - Defaults to OFFAutoscoper_COLLISION_DETCTION
Autoscoper_BUILD_VTK
orVTK_DIR
is definedMesh
class -> wrapper forvtkPolyData
andvtkSTL{Reader,Writer}
MeshFile
MeshFile
must be placed in the same order asVolumeFile
, so the meshes stay synced with the volumes.Example config file (Note this version of Autoscoper does NOT have relative path support, this is for demonstration purposes):
TODO:
Mesh
class from PR Add support for loading meshes with trials #87External_VTK.cmake
to only build what modules we needExternal_VTK
-> Currently untested