#include <smurf.h>
|
void | handleURI (configmaps::ConfigMap *map, std::string uri) |
|
void | handleURIs (configmaps::ConfigMap *map) |
|
void | getSensorIDList (configmaps::ConfigMap *map) |
|
void | translateLink (urdf::LinkSharedPtr link, bool fixed) |
|
void | translateJoint (urdf::LinkSharedPtr childlink) |
|
void | createMaterial (const urdf::MaterialSharedPtr material) |
|
void | createOrigin (const urdf::LinkSharedPtr &link, bool fixed) |
|
void | createInertial (const urdf::LinkSharedPtr &link) |
|
void | createVisual (const urdf::VisualSharedPtr &visual, bool fixed) |
|
void | createCollision (const urdf::CollisionSharedPtr &collision, bool fixed) |
|
void | addEmptyVisualToNode (configmaps::ConfigMap *map) |
|
void | addEmptyCollisionToNode (configmaps::ConfigMap *map) |
|
void | createEmptyVisualMaterial () |
|
void | createOriginMaterial () |
|
urdf::Pose | getGlobalPose (const urdf::LinkSharedPtr &link) |
|
void | calculatePose (configmaps::ConfigMap *map, const urdf::LinkSharedPtr &link) |
|
void | convertPose (const urdf::Pose &pose, const urdf::Pose &toPose, utils::Vector *v, utils::Quaternion *q) |
|
void | poseToVectorAndQuaternion (const urdf::Pose &pose, utils::Vector *v, utils::Quaternion *q) |
|
bool | isEqualPos (const urdf::Pose &p1, const urdf::Pose p2) |
|
bool | isNullPos (const urdf::Pose &p) |
|
unsigned int | loadMaterial (configmaps::ConfigMap config) |
|
unsigned int | loadNode (configmaps::ConfigMap config) |
|
unsigned int | loadJoint (configmaps::ConfigMap config) |
|
unsigned int | loadMotor (configmaps::ConfigMap config) |
|
interfaces::BaseSensor * | loadSensor (configmaps::ConfigMap config) |
|
unsigned int | loadController (configmaps::ConfigMap config) |
|
unsigned int | loadGraphic (configmaps::ConfigMap config) |
|
unsigned int | loadLight (configmaps::ConfigMap config) |
|
Definition at line 50 of file smurf.h.
◆ SMURF()
◆ ~SMURF()
mars::smurf::SMURF::~SMURF |
( |
| ) |
|
◆ addConfigMap()
◆ addEmptyCollisionToNode()
◆ addEmptyVisualToNode()
◆ calculatePose()
◆ convertPose()
◆ CREATE_MODULE_INFO()
mars::smurf::SMURF::CREATE_MODULE_INFO |
( |
| ) |
|
◆ createCollision()
void mars::smurf::SMURF::createCollision |
( |
const urdf::CollisionSharedPtr & |
collision, |
|
|
bool |
fixed = false |
|
) |
| |
|
private |
◆ createEmptyVisualMaterial()
void mars::smurf::SMURF::createEmptyVisualMaterial |
( |
| ) |
|
|
private |
◆ createEntity()
◆ createInertial()
void mars::smurf::SMURF::createInertial |
( |
const urdf::LinkSharedPtr & |
link | ) |
|
|
private |
◆ createMaterial()
void mars::smurf::SMURF::createMaterial |
( |
const urdf::MaterialSharedPtr |
material | ) |
|
|
private |
◆ createModel()
void mars::smurf::SMURF::createModel |
( |
bool |
fixed = false | ) |
|
- Returns
- 0 on error.
Definition at line 939 of file smurf.cpp.
◆ createOrigin()
void mars::smurf::SMURF::createOrigin |
( |
const urdf::LinkSharedPtr & |
link, |
|
|
bool |
fixed |
|
) |
| |
|
private |
◆ createOriginMaterial()
void mars::smurf::SMURF::createOriginMaterial |
( |
| ) |
|
|
private |
◆ createVisual()
void mars::smurf::SMURF::createVisual |
( |
const urdf::VisualSharedPtr & |
visual, |
|
|
bool |
fixed = false |
|
) |
| |
|
private |
◆ getGlobalPose()
urdf::Pose mars::smurf::SMURF::getGlobalPose |
( |
const urdf::LinkSharedPtr & |
link | ) |
|
|
private |
◆ getLibName()
const std::string mars::smurf::SMURF::getLibName |
( |
| ) |
const |
|
inlinevirtual |
◆ getLibVersion()
int mars::smurf::SMURF::getLibVersion |
( |
| ) |
const |
|
inlinevirtual |
◆ getRobotname()
std::string mars::smurf::SMURF::getRobotname |
( |
| ) |
|
◆ getSensorIDList()
◆ handleURI()
◆ handleURIs()
◆ init()
void mars::smurf::SMURF::init |
( |
void |
| ) |
|
|
virtual |
◆ isEqualPos()
bool mars::smurf::SMURF::isEqualPos |
( |
const urdf::Pose & |
p1, |
|
|
const urdf::Pose |
p2 |
|
) |
| |
|
private |
◆ isNullPos()
bool mars::smurf::SMURF::isNullPos |
( |
const urdf::Pose & |
p | ) |
|
|
private |
◆ load()
unsigned int mars::smurf::SMURF::load |
( |
| ) |
|
◆ loadController()
◆ loadGraphic()
◆ loadJoint()
◆ loadLight()
◆ loadMaterial()
◆ loadMotor()
◆ loadNode()
◆ loadSensor()
◆ parseURDF()
unsigned int mars::smurf::SMURF::parseURDF |
( |
std::string |
filename | ) |
|
◆ poseToVectorAndQuaternion()
◆ reset()
void mars::smurf::SMURF::reset |
( |
void |
| ) |
|
|
virtual |
◆ translateJoint()
void mars::smurf::SMURF::translateJoint |
( |
urdf::LinkSharedPtr |
childlink | ) |
|
|
private |
◆ translateLink()
void mars::smurf::SMURF::translateLink |
( |
urdf::LinkSharedPtr |
link, |
|
|
bool |
fixed = false |
|
) |
| |
|
private |
◆ update()
◆ collisionNameMap
std::map<std::string, std::string> mars::smurf::SMURF::collisionNameMap |
|
private |
◆ controllerList
◆ currentNodeID
unsigned long mars::smurf::SMURF::currentNodeID |
|
private |
◆ debugMap
◆ entity
◆ entityconfig
◆ graphicList
◆ groupID
int mars::smurf::SMURF::groupID |
|
private |
◆ jointIDMap
std::map<std::string, unsigned long> mars::smurf::SMURF::jointIDMap |
|
private |
◆ jointList
◆ lightList
◆ linkIDMap
std::map<std::string, unsigned long> mars::smurf::SMURF::linkIDMap |
|
private |
◆ mapIndex
unsigned int mars::smurf::SMURF::mapIndex |
|
private |
◆ materialList
◆ materialMap
◆ model
urdf::ModelInterfaceSharedPtr mars::smurf::SMURF::model |
|
private |
◆ motorIDMap
std::map<std::string, unsigned long> mars::smurf::SMURF::motorIDMap |
|
private |
◆ motorList
◆ nextControllerID
unsigned long mars::smurf::SMURF::nextControllerID |
|
private |
◆ nextGroupID
unsigned long mars::smurf::SMURF::nextGroupID |
|
private |
◆ nextJointID
unsigned long mars::smurf::SMURF::nextJointID |
|
private |
◆ nextMaterialID
unsigned long mars::smurf::SMURF::nextMaterialID |
|
private |
◆ nextMotorID
unsigned long mars::smurf::SMURF::nextMotorID |
|
private |
◆ nextNodeID
unsigned long mars::smurf::SMURF::nextNodeID |
|
private |
◆ nextSensorID
unsigned long mars::smurf::SMURF::nextSensorID |
|
private |
◆ nodeIDMap
std::map<std::string, unsigned long> mars::smurf::SMURF::nodeIDMap |
|
private |
◆ nodeList
◆ robotname
std::string mars::smurf::SMURF::robotname |
|
private |
◆ sensorIDMap
std::map<std::string, unsigned long> mars::smurf::SMURF::sensorIDMap |
|
private |
◆ sensorList
◆ tmpPath
std::string mars::smurf::SMURF::tmpPath |
|
private |
◆ visualNameMap
std::map<std::string, std::string> mars::smurf::SMURF::visualNameMap |
|
private |
The documentation for this class was generated from the following files:
- /Developer/bob-learning-dev/simulation/mars/entity_generation/smurf/src/smurf.h
- /Developer/bob-learning-dev/simulation/mars/entity_generation/smurf/src/smurf.cpp