rviz::Robot Class Reference
#include <robot.h>
List of all members.
Detailed Description
A helper class to draw a representation of a robot, as specified by a URDF. Can display either the visual models of the robot, or the collision models.
Definition at line 90 of file robot.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
void rviz::Robot::clear |
( |
|
) |
|
Clears all data loaded from a URDF.
Definition at line 110 of file robot.cpp.
float rviz::Robot::getAlpha |
( |
|
) |
[inline] |
Ogre::SceneNode* rviz::Robot::getCollisionNode |
( |
|
) |
[inline] |
RobotLink * rviz::Robot::getLink |
( |
const std::string & |
name |
) |
|
CategoryPropertyWPtr rviz::Robot::getLinksCategory |
( |
|
) |
[inline] |
const std::string& rviz::Robot::getName |
( |
void |
|
) |
[inline] |
const Ogre::Quaternion & rviz::Robot::getOrientation |
( |
|
) |
[virtual] |
Ogre::SceneNode* rviz::Robot::getOtherNode |
( |
|
) |
[inline] |
const Ogre::Vector3 & rviz::Robot::getPosition |
( |
|
) |
[virtual] |
Ogre::SceneNode* rviz::Robot::getVisualNode |
( |
|
) |
[inline] |
bool rviz::Robot::isCollisionVisible |
( |
|
) |
|
Returns whether or not the collision representation is set to be visible.
Definition at line 91 of file robot.cpp.
bool rviz::Robot::isVisualVisible |
( |
|
) |
|
Returns whether or not the visual representation is set to be visible.
Definition at line 86 of file robot.cpp.
void rviz::Robot::load |
( |
TiXmlElement * |
root_element, |
|
|
urdf::Model & |
descr, |
|
|
bool |
visual = true , |
|
|
bool |
collision = true | |
|
) |
| | |
Loads meshes/primitives from a robot description. Calls clear() before loading.
- Parameters:
-
| descr | The robot description to read from |
| visual | Whether or not to load the visual representation |
| collision | Whether or not to load the collision representation |
Definition at line 167 of file robot.cpp.
void rviz::Robot::setAlpha |
( |
float |
a |
) |
|
void rviz::Robot::setCollisionVisible |
( |
bool |
visible |
) |
|
Set whether the collision meshes/primitives of the robot should be visible.
- Parameters:
-
| visible | Whether the collision meshes/primitives should be visible |
Definition at line 80 of file robot.cpp.
void rviz::Robot::setOrientation |
( |
const Ogre::Quaternion & |
orientation |
) |
[virtual] |
void rviz::Robot::setPosition |
( |
const Ogre::Vector3 & |
position |
) |
[virtual] |
void rviz::Robot::setPropertyManager |
( |
PropertyManager * |
property_manager, |
|
|
const CategoryPropertyWPtr & |
parent | |
|
) |
| | |
void rviz::Robot::setScale |
( |
const Ogre::Vector3 & |
scale |
) |
[virtual] |
void rviz::Robot::setVisible |
( |
bool |
visible |
) |
|
Set the robot as a whole to be visible or not.
- Parameters:
-
| visible | Should we be visible? |
Definition at line 60 of file robot.cpp.
void rviz::Robot::setVisualVisible |
( |
bool |
visible |
) |
|
Set whether the visual meshes of the robot should be visible.
- Parameters:
-
| visible | Whether the visual meshes of the robot should be visible |
Definition at line 74 of file robot.cpp.
void rviz::Robot::update |
( |
const LinkUpdater & |
updater |
) |
|
Member Data Documentation
Should we show the collision representation?
Definition at line 172 of file robot.h.
Map of name to link info, stores all loaded links.
Definition at line 165 of file robot.h.
Node all our collision nodes are children of.
Definition at line 168 of file robot.h.
Node all our visual nodes are children of.
Definition at line 167 of file robot.h.
Should we show the visual representation?
Definition at line 171 of file robot.h.
The documentation for this class was generated from the following files: