#include <Robot.hpp>
| configmaps::ConfigMap smurf::Robot::getAnnotations |
( |
const urdf::JointSharedPtr & |
joint | ) |
|
|
protected |
| const smurf::ContactParams smurf::Robot::getContactParams |
( |
const std::string & |
collisionName, |
|
|
const std::string & |
linkName |
|
) |
| |
| smurf::Frame * smurf::Robot::getFrameByName |
( |
const std::string & |
name | ) |
|
|
protected |
| const std::vector<smurf::Frame *>& smurf::Robot::getFrames |
( |
| ) |
const |
|
inline |
| configmaps::ConfigMap smurf::Robot::getJointConfigMap |
( |
const urdf::JointSharedPtr & |
joint | ) |
|
|
protected |
| const std::vector<smurf::Joint *>& smurf::Robot::getJoints |
( |
| ) |
const |
|
inline |
| const std::vector<smurf::Motor *>& smurf::Robot::getMotors |
( |
| ) |
const |
|
inline |
| const Frame* smurf::Robot::getRootFrame |
( |
| ) |
const |
|
inline |
| const std::vector<smurf::Sensor *>& smurf::Robot::getSensors |
( |
| ) |
const |
|
inline |
| void smurf::Robot::loadCollidables |
( |
| ) |
|
Loads the SMURF Collidable objects in their correspondent frames
The smurf collidable contains the urdf collision object. Therefore if loadCollidables is executed, loadCollisions in no needed.
| void smurf::Robot::loadCollisions |
( |
| ) |
|
Loads the URDF collision objects in their correspondent frames
| void smurf::Robot::loadFrames |
( |
urdf::ModelInterfaceSharedPtr |
model | ) |
|
| void smurf::Robot::loadFromSmurf |
( |
const std::string & |
path, |
|
|
std::string |
prefix = "" |
|
) |
| |
Loads all the information from the Smurf model in the Robot object.
- Creates the frames (from the links and from the visuals)
- Loads the joints
- Loads the sensors
- Loads the collidables
- Loads the inertials
| void smurf::Robot::loadInertials |
( |
| ) |
|
Loads the SMURF Inertial objects in their correspondent frames
The smurf inertial object contains the urdf inertial object.
| void smurf::Robot::loadJoints |
( |
| ) |
|
Loads the different joints of the model in the correspondent frames.
- Fixed joints are loaded as staticTransforms
- Floating, revolute and prismatic joints as dynamicTransforms and as Joints.
| void smurf::Robot::loadMotors |
( |
| ) |
|
| void smurf::Robot::loadSensors |
( |
| ) |
|
| void smurf::Robot::loadVisuals |
( |
| ) |
|
| const bool smurf::Robot::debug = false |
|
protected |
| urdf::ModelInterfaceSharedPtr smurf::Robot::model |
|
protected |
| std::string smurf::Robot::prefix |
|
protected |
| Frame* smurf::Robot::rootFrame |
|
protected |
| configmaps::ConfigMap* smurf::Robot::smurfMap |
|
protected |
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-tools-smurf-0.20180405/src/Robot.hpp
- /build/rock-master-18.09-tools-smurf-0.20180405/src/Robot.cpp