30 #ifndef RVIZ_ROBOT_MODEL_DISPLAY_H 31 #define RVIZ_ROBOT_MODEL_DISPLAY_H 35 #include <OgreVector3.h> 70 virtual void onInitialize();
71 virtual void update(
float wall_dt,
float ros_dt );
72 virtual void fixedFrameChanged();
78 void updateVisualVisible();
79 void updateCollisionVisible();
80 void updateTfPrefix();
82 void updateRobotDescription();
91 virtual void onEnable();
92 virtual void onDisable();
Property * collision_enabled_property_
FloatProperty * alpha_property_
A single element of a property tree, with a name, value, description, and possibly children...
Property specialized to enforce floating point max/min.
std::string robot_description_
Property * visual_enabled_property_
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
Robot * robot_
Handles actually drawing the robot.
bool has_new_transforms_
Callback sets this to tell our update function it needs to update the transforms. ...
FloatProperty * update_rate_property_
Property specialized for string values.
Uses a robot xml description to display the pieces of a robot at the transforms broadcast by rosTF...
StringProperty * tf_prefix_property_
StringProperty * robot_description_property_
float time_since_last_transform_