#include <Wheel.h>
Public Member Functions | |
| void | getAs3DObject (mrpt::opengl::CSetOfObjects &obj) |
| double | getPhi () const |
| Orientation (rad) wrt vehicle local frame. More... | |
| double | getW () const |
| Spinning velocity (rad/s) wrt shaft. More... | |
| void | loadFromXML (const rapidxml::xml_node< char > *xml_node) |
| void | recalcInertia () |
| Recompute Iyy from mass, diameter and height. More... | |
| void | setPhi (double val) |
| Orientation (rad) wrt vehicle local frame. More... | |
| void | setW (double val) |
| Spinning velocity (rad/s) wrt shaft. More... | |
| Wheel () | |
Public Attributes | |
| TColor | color |
| constructor and at loadFromXML(), but can be overrided. More... | |
| double | diameter |
| [m,rad] (in local coords) More... | |
| double | Iyy |
| double | mass |
| [kg] More... | |
| double | width |
| Length(diameter) and width of the wheel rectangle [m]. More... | |
| double | x |
| double | y |
| double | yaw |
Protected Attributes | |
| double | phi |
| double | w |
Common info for 2D wheels, for usage in derived classes. Wheels are modeled as a mass with a rectangular shape.
| void Wheel::getAs3DObject | ( | mrpt::opengl::CSetOfObjects & | obj | ) |
|
inline |
|
inline |
| void Wheel::loadFromXML | ( | const rapidxml::xml_node< char > * | xml_node | ) |
| void Wheel::recalcInertia | ( | ) |
|
inline |
|
inline |
| TColor mvsim::Wheel::color |
constructor and at loadFromXML(), but can be overrided.
Color for OpenGL rendering
| double mvsim::Wheel::Iyy |
|
protected |
| double mvsim::Wheel::width |
| double mvsim::Wheel::yaw |