12 #include <mrpt/img/TColor.h> 13 #include <mrpt/math/TPoint2D.h> 14 #include <mrpt/math/TPolygon2D.h> 15 #include <mrpt/math/TPose3D.h> 22 class DefaultFriction;
24 class DynamicsDifferential;
36 double x = 0,
y = -0.5,
yaw = 0;
47 mrpt::img::TColor
color{0xff323232};
50 {
"mass", {
"%lf", &mass}},
51 {
"width", {
"%lf", &
width}},
52 {
"diameter", {
"%lf", &diameter}},
53 {
"color", {
"%color", &
color}},
54 {
"inertia", {
"%lf", &Iyy}}};
69 double getW()
const {
return w; }
GLint GLint GLint GLint GLint GLint y
void setW(double val)
Spinning velocity (rad/s) wrt shaft.
std::map< std::string, TParamEntry > TParameterDefinitions
void recalcInertia()
Recompute Iyy from mass, diameter and height.
GLubyte GLubyte GLubyte GLubyte w
void loadFromXML(const rapidxml::xml_node< char > *xml_node)
void getAs3DObject(mrpt::opengl::CSetOfObjects &obj)
const TParameterDefinitions m_params
void setPhi(double val)
Orientation (rad) wrt vehicle local frame.
double getW() const
Spinning velocity (rad/s) wrt shaft.
GLint GLint GLint GLint GLint x
double getPhi() const
Orientation (rad) wrt vehicle local frame.
GLint GLint GLint GLint GLint GLint GLsizei width