mc_rtc  2.14.0
RobotModule_visual.h File Reference
#include <mc_rbdyn/api.h>
#include <mc_rtc/path.h>
#include <mc_rbdyn/RobotModule.h>
#include <SpaceVecAlg/SpaceVecAlg>
Include dependency graph for RobotModule_visual.h:

Go to the source code of this file.

Namespaces

 mc_rbdyn
 

Functions

MC_RBDYN_DLLAPI sva::RBInertiad mc_rbdyn::computeInertiaFromVisual (const rbd::parsers::Visual &visual, double mass)
 Computes the inertia from a visual geometry description. More...
 
MC_RBDYN_DLLAPI std::vector< std::shared_ptr< Surface > > mc_rbdyn::genSurfacesFromVisual (const rbd::parsers::Visual &visual)
 Generates planar surfaces from a visual geometry description. More...
 
MC_RBDYN_DLLAPI RobotModulePtr mc_rbdyn::robotModuleFromVisual (const std::string &name, const rbd::parsers::Visual &visual, const sva::RBInertiad &inertia, bool isFixed=true)
 Creates a RobotModule from a visual geometry and inertia. More...
 
MC_RBDYN_DLLAPI RobotModulePtr mc_rbdyn::robotModuleFromVisual (const std::string &name, const rbd::parsers::Visual &visual, double mass, bool isFixed=true)
 Creates a RobotModule from a visual geometry and mass. The inertia is computed based on the geometry type assuming the CoM to be at the geometric center of the shape and an homogenous density. More...
 
MC_RBDYN_DLLAPI RobotModulePtr mc_rbdyn::robotModuleFromVisual (const std::string &name, const mc_rtc::Configuration &config)
 Creates a RobotModule from a configuration. More...