Building and Installing AGX Dynamics Plugin (Ubuntu Linux)¶
Enabling AGX Dynamics Plugin with CMake Options¶
The AGX Dynamics plugin is included in the Choreonoid source code. To enable it, set the following options to ON in the Build Configuration with CMake when building Choreonoid:
BUILD_AGX_DYNAMICS_PLUGIN : AGX Dynamics Plugin - AGX Dynamics simulation plugin
BUILD_AGX_BODYEXTENSION_PLUGIN : AGX Body Extension Plugin - Dedicated model plugin (wires, etc.)
You can specify these as cmake command options:
cmake -DBUILD_AGX_DYNAMICS_PLUGIN=ON -DBUILD_AGX_BODYEXTENSION_PLUGIN=ON
or you can switch these option values to ON in the menu displayed by the ccmake command.
When you build Choreonoid with this CMake configuration, the AGX Dynamics plugin will be built simultaneously and become available for use.
Note
Since the AGX Body Extension Plugin depends on the AGX Dynamics Plugin, it will not be displayed in ccmake unless BUILD_AGX_DYNAMICS_PLUGIN is ON. Try turning BUILD_AGX_DYNAMICS_PLUGIN ON and running configure once.
Note
When you run configure in ccmake, the AGX Dynamics path AGX_DIR is automatically set, but if it is not set, please set it manually. The default path is /opt/Algoryx/AGX-<version>.