Installing and building AGX Dynamics plugin¶
BUILD_AGX_DYNAMICS_PLUGIN : AGXDynamicsPlugin - Enable rigid body simulation with AGX Dynamics
BUILD_AGX_BODYEXTENSION_PLUGIN : AGXBodyExtensionPlugin - Including dedicated models such as wire, breakable joint, etc. Only works with AGXDynamicsPlugin.
cd choreonoid
cmake .
ccmake .
Enable following options ON, then execute configure and generate.
BUILD_AGX_DYNAMICS_PLUGIN ON
BUILD_AGX_BODYEXTENSION_PLUGIN ON
Make sure that CMake Errors are not occurred. Then execute make, make install as follows:
make -j4
make install
Note
Since AGXBodyExtensionPlugin is depeneded on AGXDynamicsPlugin, ccmake will not show the option BUILD_AGX_BODYEXTENSION_PLUGIN when BUILD_AGX_DYNAMICS_PLUGIN is OFF. Set BUILD_AGX_DYNAMICS_PLUGIN ON and execute configure once.
Note
When ccmake configure is executed, the AGX Dynamics installation path AGX_DIR is automatically set. In case that AGX_DIR is not set, please set it manually. The default path is /opt/Algoryx/AgX-<version>.