30 #ifndef TRAJECTORY_TRACKER_RVIZ_PLUGINS_PATH_WITH_VELOCITY_DISPLAY_H 31 #define TRAJECTORY_TRACKER_RVIZ_PLUGINS_PATH_WITH_VELOCITY_DISPLAY_H 40 #include <trajectory_tracker_msgs/PathWithVelocity.h> 41 #include <trajectory_tracker_msgs/PoseStampedWithVelocity.h> 76 virtual void onInitialize();
79 void processMessage(
const trajectory_tracker_msgs::PathWithVelocity::ConstPtr& msg);
82 void updateBufferLength();
84 void updateLineWidth();
86 void updatePoseStyle();
87 void updatePoseAxisGeometry();
88 void updatePoseArrowColor();
89 void updatePoseArrowGeometry();
92 void destroyObjects();
93 void allocateArrowVector(std::vector<rviz::Arrow*>& arrow_vect,
size_t num);
94 void allocateAxesVector(std::vector<rviz::Axes*>& axes_vect,
size_t num);
95 void destroyPoseAxesChain();
96 void destroyPoseArrowChain();
139 #endif // TRAJECTORY_TRACKER_RVIZ_PLUGINS_PATH_WITH_VELOCITY_DISPLAY_H rviz::FloatProperty * pose_arrow_shaft_diameter_property_
rviz::VectorProperty * offset_property_
rviz::FloatProperty * pose_arrow_head_diameter_property_
std::vector< rviz::Axes * > AxesPtrArray
Displays a trajectory_tracker_msgs::PathWithVelocity message.
std::vector< ArrowPtrArray > arrow_chain_
std::vector< rviz::Arrow * > ArrowPtrArray
rviz::FloatProperty * pose_arrow_head_length_property_
rviz::FloatProperty * pose_axes_length_property_
std::vector< AxesPtrArray > axes_chain_
rviz::ColorProperty * color_property_
rviz::IntProperty * buffer_length_property_
std::vector< rviz::BillboardLine * > billboard_lines_
std::vector< Ogre::ManualObject * > manual_objects_
rviz::ColorProperty * pose_arrow_color_property_
rviz::FloatProperty * alpha_property_
rviz::FloatProperty * line_width_property_
rviz::EnumProperty * pose_style_property_
rviz::FloatProperty * pose_arrow_shaft_length_property_
rviz::FloatProperty * pose_axes_radius_property_
rviz::EnumProperty * style_property_