Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots
moveit_rviz_plugin::TrajectoryVisualization Class Reference

#include <trajectory_visualization.h>

List of all members.

Public Slots

void interruptCurrentDisplay ()

Public Member Functions

void dropTrajectory ()
void onDisable ()
void onEnable ()
void onInitialize (Ogre::SceneNode *scene_node, rviz::DisplayContext *context, ros::NodeHandle update_nh)
void onRobotModelLoaded (robot_model::RobotModelConstPtr robot_model)
virtual void reset ()
void setName (const QString &name)
 TrajectoryVisualization (rviz::Property *widget, rviz::Display *display)
 Playback a trajectory from a planned path.
virtual void update (float wall_dt, float ros_dt)
virtual ~TrajectoryVisualization ()

Protected Member Functions

void clearTrajectoryTrail ()
float getStateDisplayTime ()
void incomingDisplayTrajectory (const moveit_msgs::DisplayTrajectory::ConstPtr &msg)
 ROS callback for an incoming path message.
void setRobotColor (rviz::Robot *robot, const QColor &color)
void unsetRobotColor (rviz::Robot *robot)

Protected Attributes

bool animating_path_
rviz::DisplayContextcontext_
int current_state_
float current_state_time_
rviz::Displaydisplay_
rviz::BoolPropertydisplay_path_collision_enabled_property_
RobotStateVisualizationPtr display_path_robot_
rviz::BoolPropertydisplay_path_visual_enabled_property_
robot_trajectory::RobotTrajectoryPtr displaying_trajectory_message_
bool drop_displaying_trajectory_
rviz::BoolPropertyenable_robot_color_property_
rviz::BoolPropertyinterrupt_display_property_
rviz::BoolPropertyloop_display_property_
rviz::ColorPropertyrobot_color_property_
robot_model::RobotModelConstPtr robot_model_
rviz::FloatPropertyrobot_path_alpha_property_
robot_state::RobotStatePtr robot_state_
Ogre::SceneNode * scene_node_
rviz::EditableEnumPropertystate_display_time_property_
rviz::BoolPropertytrail_display_property_
rviz::IntPropertytrail_step_size_property_
robot_trajectory::RobotTrajectoryPtr trajectory_message_to_display_
rviz::PanelDockWidgettrajectory_slider_dock_panel_
TrajectoryPaneltrajectory_slider_panel_
rviz::RosTopicPropertytrajectory_topic_property_
ros::Subscriber trajectory_topic_sub_
std::vector< rviz::Robot * > trajectory_trail_
ros::NodeHandle update_nh_
boost::mutex update_trajectory_message_
rviz::Propertywidget_

Private Slots

void changedDisplayPathCollisionEnabled ()
void changedDisplayPathVisualEnabled ()
 Slot Event Functions.
void changedLoopDisplay ()
void changedRobotColor ()
void changedRobotPathAlpha ()
void changedShowTrail ()
void changedStateDisplayTime ()
void changedTrailStepSize ()
void changedTrajectoryTopic ()
void enabledRobotColor ()
void trajectorySliderPanelVisibilityChange (bool enable)

Detailed Description

Definition at line 70 of file trajectory_visualization.h.


Constructor & Destructor Documentation

Playback a trajectory from a planned path.

Parameters:
widget- either a rviz::Display or rviz::Property
display- the rviz::Display from the parent
Returns:
true on success

Definition at line 58 of file trajectory_visualization.cpp.

Definition at line 120 of file trajectory_visualization.cpp.


Member Function Documentation

Definition at line 285 of file trajectory_visualization.cpp.

Slot Event Functions.

Definition at line 270 of file trajectory_visualization.cpp.

Definition at line 209 of file trajectory_visualization.cpp.

Definition at line 487 of file trajectory_visualization.cpp.

Definition at line 253 of file trajectory_visualization.cpp.

Definition at line 216 of file trajectory_visualization.cpp.

Definition at line 281 of file trajectory_visualization.cpp.

Definition at line 247 of file trajectory_visualization.cpp.

Definition at line 260 of file trajectory_visualization.cpp.

Definition at line 202 of file trajectory_visualization.cpp.

Definition at line 355 of file trajectory_visualization.cpp.

Definition at line 493 of file trajectory_visualization.cpp.

Definition at line 333 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::incomingDisplayTrajectory ( const moveit_msgs::DisplayTrajectory::ConstPtr &  msg) [protected]

ROS callback for an incoming path message.

Definition at line 448 of file trajectory_visualization.cpp.

Definition at line 324 of file trajectory_visualization.cpp.

Definition at line 313 of file trajectory_visualization.cpp.

Definition at line 296 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::onInitialize ( Ogre::SceneNode *  scene_node,
rviz::DisplayContext context,
ros::NodeHandle  update_nh 
)

Definition at line 131 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::onRobotModelLoaded ( robot_model::RobotModelConstPtr  robot_model)

Definition at line 164 of file trajectory_visualization.cpp.

Definition at line 184 of file trajectory_visualization.cpp.

Definition at line 158 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::setRobotColor ( rviz::Robot robot,
const QColor &  color 
) [protected]

Definition at line 509 of file trajectory_visualization.cpp.

Definition at line 517 of file trajectory_visualization.cpp.

Definition at line 501 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Definition at line 360 of file trajectory_visualization.cpp.


Member Data Documentation

Definition at line 135 of file trajectory_visualization.h.

Definition at line 148 of file trajectory_visualization.h.

Definition at line 137 of file trajectory_visualization.h.

Definition at line 138 of file trajectory_visualization.h.

Definition at line 145 of file trajectory_visualization.h.

Definition at line 155 of file trajectory_visualization.h.

Definition at line 125 of file trajectory_visualization.h.

Definition at line 154 of file trajectory_visualization.h.

robot_trajectory::RobotTrajectoryPtr moveit_rviz_plugin::TrajectoryVisualization::displaying_trajectory_message_ [protected]

Definition at line 131 of file trajectory_visualization.h.

Definition at line 136 of file trajectory_visualization.h.

Definition at line 163 of file trajectory_visualization.h.

Definition at line 161 of file trajectory_visualization.h.

Definition at line 159 of file trajectory_visualization.h.

Definition at line 162 of file trajectory_visualization.h.

robot_model::RobotModelConstPtr moveit_rviz_plugin::TrajectoryVisualization::robot_model_ [protected]

Definition at line 141 of file trajectory_visualization.h.

Definition at line 158 of file trajectory_visualization.h.

robot_state::RobotStatePtr moveit_rviz_plugin::TrajectoryVisualization::robot_state_ [protected]

Definition at line 142 of file trajectory_visualization.h.

Definition at line 147 of file trajectory_visualization.h.

Definition at line 156 of file trajectory_visualization.h.

Definition at line 160 of file trajectory_visualization.h.

Definition at line 164 of file trajectory_visualization.h.

robot_trajectory::RobotTrajectoryPtr moveit_rviz_plugin::TrajectoryVisualization::trajectory_message_to_display_ [protected]

Definition at line 132 of file trajectory_visualization.h.

Definition at line 151 of file trajectory_visualization.h.

Definition at line 150 of file trajectory_visualization.h.

Definition at line 157 of file trajectory_visualization.h.

Definition at line 134 of file trajectory_visualization.h.

Definition at line 133 of file trajectory_visualization.h.

Definition at line 149 of file trajectory_visualization.h.

Definition at line 139 of file trajectory_visualization.h.

Definition at line 146 of file trajectory_visualization.h.


The documentation for this class was generated from the following files:


visualization
Author(s): Ioan Sucan , Dave Coleman , Sachin Chitta
autogenerated on Wed Jun 19 2019 19:25:00