Go to the documentation of this file.
31 #ifndef RVIZ_ODOMETRY_DISPLAY_H_
32 #define RVIZ_ODOMETRY_DISPLAY_H_
36 #include <boost/shared_ptr.hpp>
37 #include <boost/thread/mutex.hpp>
44 #include <nav_msgs/Odometry.h>
55 class CovarianceProperty;
76 void reset()
override;
78 void update(
float wall_dt,
float ros_dt)
override;
96 void processMessage(
const nav_msgs::Odometry::ConstPtr& message)
override;
99 typedef std::deque<rviz::Axes*>
D_Axes;
rviz::FloatProperty * shaft_radius_property_
Display subclass using a tf2_ros::MessageFilter, templated on the ROS message type.
nav_msgs::Odometry::ConstPtr last_used_message_
std::deque< rviz::Axes * > D_Axes
Accumulates and displays the pose from a nav_msgs::Odometry message.
~OdometryDisplay() override
An arrow consisting of a cylinder and a cone.
void onInitialize() override
Override this function to do subclass-specific initialization.
void update(float wall_dt, float ros_dt) override
Called periodically by the visualization manager.
Property specialized to provide getter for booleans.
void updateColorAndAlpha()
void updateShapeVisibility()
rviz::FloatProperty * head_length_property_
void onEnable() override
Overridden from MessageFilterDisplay to get Arrow/Axes visibility correct.
Property specialized to enforce floating point max/min.
rviz::EnumProperty * shape_property_
rviz::FloatProperty * axes_radius_property_
rviz::FloatProperty * shaft_length_property_
void processMessage(const nav_msgs::Odometry::ConstPtr &message) override
rviz::FloatProperty * angle_tolerance_property_
rviz::FloatProperty * position_tolerance_property_
void updateGeometry(rviz::Arrow *arrow)
void reset() override
Called to tell the display to clear its state.
An object that displays a set of X/Y/Z axes, with X=Red, Y=Green, Z=Blue.
CovarianceProperty * covariance_property_
rviz::FloatProperty * head_radius_property_
void updateArrowsGeometry()
rviz::FloatProperty * axes_length_property_
std::deque< rviz::Arrow * > D_Arrow
void updateAxisGeometry()
rviz::IntProperty * keep_property_
rviz::ColorProperty * color_property_
rviz::FloatProperty * alpha_property_
Property specialized to provide max/min enforcement for integers.
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:02