Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots | List of all members
moveit_rviz_plugin::TrajectoryVisualization Class Reference

#include <trajectory_visualization.h>

Inheritance diagram for moveit_rviz_plugin::TrajectoryVisualization:
Inheritance graph
[legend]

Public Slots

void interruptCurrentDisplay ()
 
void setDefaultAttachedObjectColor (const QColor &color)
 

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. More...
 
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. More...
 
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. More...
 
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 74 of file trajectory_visualization.h.

Constructor & Destructor Documentation

moveit_rviz_plugin::TrajectoryVisualization::TrajectoryVisualization ( rviz::Property widget,
rviz::Display display 
)

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 61 of file trajectory_visualization.cpp.

moveit_rviz_plugin::TrajectoryVisualization::~TrajectoryVisualization ( )
virtual

Definition at line 123 of file trajectory_visualization.cpp.

Member Function Documentation

void moveit_rviz_plugin::TrajectoryVisualization::changedDisplayPathCollisionEnabled ( )
privateslot

Definition at line 282 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::changedDisplayPathVisualEnabled ( )
privateslot

Slot Event Functions.

Definition at line 267 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::changedLoopDisplay ( )
privateslot

Definition at line 206 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::changedRobotColor ( )
privateslot

Definition at line 498 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::changedRobotPathAlpha ( )
privateslot

Definition at line 250 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::changedShowTrail ( )
privateslot

Definition at line 213 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::changedStateDisplayTime ( )
privateslot

Definition at line 278 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::changedTrailStepSize ( )
privateslot

Definition at line 244 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::changedTrajectoryTopic ( )
privateslot

Definition at line 257 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::clearTrajectoryTrail ( )
protected

Definition at line 199 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::dropTrajectory ( )

Definition at line 352 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::enabledRobotColor ( )
privateslot

Definition at line 504 of file trajectory_visualization.cpp.

float moveit_rviz_plugin::TrajectoryVisualization::getStateDisplayTime ( )
protected

Definition at line 330 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 459 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::interruptCurrentDisplay ( )
slot

Definition at line 321 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::onDisable ( )

Definition at line 310 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::onEnable ( )

Definition at line 293 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 134 of file trajectory_visualization.cpp.

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

Definition at line 167 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::reset ( void  )
virtual

Definition at line 187 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::setDefaultAttachedObjectColor ( const QColor &  color)
slot

Definition at line 518 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::setName ( const QString &  name)

Definition at line 161 of file trajectory_visualization.cpp.

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

Definition at line 531 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::trajectorySliderPanelVisibilityChange ( bool  enable)
privateslot

Definition at line 537 of file trajectory_visualization.cpp.

void moveit_rviz_plugin::TrajectoryVisualization::unsetRobotColor ( rviz::Robot robot)
protected

Definition at line 512 of file trajectory_visualization.cpp.

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

Definition at line 357 of file trajectory_visualization.cpp.

Member Data Documentation

bool moveit_rviz_plugin::TrajectoryVisualization::animating_path_
protected

Definition at line 140 of file trajectory_visualization.h.

rviz::DisplayContext* moveit_rviz_plugin::TrajectoryVisualization::context_
protected

Definition at line 153 of file trajectory_visualization.h.

int moveit_rviz_plugin::TrajectoryVisualization::current_state_
protected

Definition at line 142 of file trajectory_visualization.h.

float moveit_rviz_plugin::TrajectoryVisualization::current_state_time_
protected

Definition at line 143 of file trajectory_visualization.h.

rviz::Display* moveit_rviz_plugin::TrajectoryVisualization::display_
protected

Definition at line 150 of file trajectory_visualization.h.

rviz::BoolProperty* moveit_rviz_plugin::TrajectoryVisualization::display_path_collision_enabled_property_
protected

Definition at line 160 of file trajectory_visualization.h.

RobotStateVisualizationPtr moveit_rviz_plugin::TrajectoryVisualization::display_path_robot_
protected

Definition at line 130 of file trajectory_visualization.h.

rviz::BoolProperty* moveit_rviz_plugin::TrajectoryVisualization::display_path_visual_enabled_property_
protected

Definition at line 159 of file trajectory_visualization.h.

robot_trajectory::RobotTrajectoryPtr moveit_rviz_plugin::TrajectoryVisualization::displaying_trajectory_message_
protected

Definition at line 136 of file trajectory_visualization.h.

bool moveit_rviz_plugin::TrajectoryVisualization::drop_displaying_trajectory_
protected

Definition at line 141 of file trajectory_visualization.h.

rviz::BoolProperty* moveit_rviz_plugin::TrajectoryVisualization::enable_robot_color_property_
protected

Definition at line 168 of file trajectory_visualization.h.

rviz::BoolProperty* moveit_rviz_plugin::TrajectoryVisualization::interrupt_display_property_
protected

Definition at line 166 of file trajectory_visualization.h.

rviz::BoolProperty* moveit_rviz_plugin::TrajectoryVisualization::loop_display_property_
protected

Definition at line 164 of file trajectory_visualization.h.

rviz::ColorProperty* moveit_rviz_plugin::TrajectoryVisualization::robot_color_property_
protected

Definition at line 167 of file trajectory_visualization.h.

robot_model::RobotModelConstPtr moveit_rviz_plugin::TrajectoryVisualization::robot_model_
protected

Definition at line 146 of file trajectory_visualization.h.

rviz::FloatProperty* moveit_rviz_plugin::TrajectoryVisualization::robot_path_alpha_property_
protected

Definition at line 163 of file trajectory_visualization.h.

robot_state::RobotStatePtr moveit_rviz_plugin::TrajectoryVisualization::robot_state_
protected

Definition at line 147 of file trajectory_visualization.h.

Ogre::SceneNode* moveit_rviz_plugin::TrajectoryVisualization::scene_node_
protected

Definition at line 152 of file trajectory_visualization.h.

rviz::EditableEnumProperty* moveit_rviz_plugin::TrajectoryVisualization::state_display_time_property_
protected

Definition at line 161 of file trajectory_visualization.h.

rviz::BoolProperty* moveit_rviz_plugin::TrajectoryVisualization::trail_display_property_
protected

Definition at line 165 of file trajectory_visualization.h.

rviz::IntProperty* moveit_rviz_plugin::TrajectoryVisualization::trail_step_size_property_
protected

Definition at line 169 of file trajectory_visualization.h.

robot_trajectory::RobotTrajectoryPtr moveit_rviz_plugin::TrajectoryVisualization::trajectory_message_to_display_
protected

Definition at line 137 of file trajectory_visualization.h.

rviz::PanelDockWidget* moveit_rviz_plugin::TrajectoryVisualization::trajectory_slider_dock_panel_
protected

Definition at line 156 of file trajectory_visualization.h.

TrajectoryPanel* moveit_rviz_plugin::TrajectoryVisualization::trajectory_slider_panel_
protected

Definition at line 155 of file trajectory_visualization.h.

rviz::RosTopicProperty* moveit_rviz_plugin::TrajectoryVisualization::trajectory_topic_property_
protected

Definition at line 162 of file trajectory_visualization.h.

ros::Subscriber moveit_rviz_plugin::TrajectoryVisualization::trajectory_topic_sub_
protected

Definition at line 139 of file trajectory_visualization.h.

std::vector<rviz::Robot*> moveit_rviz_plugin::TrajectoryVisualization::trajectory_trail_
protected

Definition at line 138 of file trajectory_visualization.h.

ros::NodeHandle moveit_rviz_plugin::TrajectoryVisualization::update_nh_
protected

Definition at line 154 of file trajectory_visualization.h.

boost::mutex moveit_rviz_plugin::TrajectoryVisualization::update_trajectory_message_
protected

Definition at line 144 of file trajectory_visualization.h.

rviz::Property* moveit_rviz_plugin::TrajectoryVisualization::widget_
protected

Definition at line 151 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 Sun Oct 18 2020 13:19:09