Public Member Functions | Protected Member Functions | Protected Attributes
motion_planning_rviz_plugin::PlanningDisplay Class Reference

#include <planning_display.h>

Inheritance diagram for motion_planning_rviz_plugin::PlanningDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void changedAlpha ()
void changedCollisionVisible ()
 Set whether the collision representation should be displayed.
void changedLoopDisplay ()
void changedRobotDescription ()
 Set the robot description parameter.
void changedStateDisplayTime ()
 Set the amount of time each state should display for.
void changedTopic ()
 Set the topic to listen on for the JointPath message.
void changedVisualVisible ()
 Set whether the visual mesh representation should be displayed.
virtual void fixedFrameChanged ()
virtual void onInitialize ()
 PlanningDisplay ()
virtual void update (float wall_dt, float ros_dt)
virtual ~PlanningDisplay ()

Protected Member Functions

void advertise ()
 Advertises any ROS topics.
void calculateRobotPosition ()
 Uses libTF to set the robot's position, given the target frame and the planning frame.
void incomingJointPath (const arm_navigation_msgs::DisplayTrajectory::ConstPtr &msg)
 ROS callback for an incoming kinematic path message.
void load ()
 Loads a URDF from our description_param_.
virtual void onDisable ()
virtual void onEnable ()
void subscribe ()
 Subscribes to any ROS topics we need to subscribe to.
void unadvertise ()
 Unadvertises all ROS topics that we have advertised.
void unsubscribe ()
 Unsubscribes from all ROS topics we're currently subscribed to.

Protected Attributes

float alpha_
rviz::FloatPropertyalpha_property_
bool animating_path_
rviz::BoolPropertycollision_enabled_property_
int current_state_
float current_state_time_
std::string description_param_
 ROS parameter that contains the robot xml description.
arm_navigation_msgs::DisplayTrajectory::ConstPtr displaying_kinematic_path_message_
planning_environment::RobotModelsenv_models_
arm_navigation_msgs::DisplayTrajectory::ConstPtr incoming_kinematic_path_message_
const
planning_models::KinematicModel
kinematic_model_
std::string kinematic_path_topic_
bool loop_display_
rviz::BoolPropertyloop_display_property_
bool new_kinematic_path_
rviz::Robotrobot_
 Handles actually drawing the robot.
rviz::StringPropertyrobot_description_property_
float state_display_time_
rviz::FloatPropertystate_display_time_property_
ros::Publisher state_publisher_
ros::Subscriber sub_
rviz::RosTopicPropertytopic_property_
rviz::BoolPropertyvisual_enabled_property_

Detailed Description

Definition at line 74 of file planning_display.h.


Constructor & Destructor Documentation

Definition at line 90 of file planning_display.cpp.

Definition at line 129 of file planning_display.cpp.


Member Function Documentation

Advertises any ROS topics.

Definition at line 247 of file planning_display.cpp.

Uses libTF to set the robot's position, given the target frame and the planning frame.

Definition at line 376 of file planning_display.cpp.

Definition at line 150 of file planning_display.cpp.

Set whether the collision representation should be displayed.

Parameters:
visible

Definition at line 175 of file planning_display.cpp.

Definition at line 145 of file planning_display.cpp.

Set the robot description parameter.

Parameters:
description_paramThe ROS parameter name which contains the robot xml description

Definition at line 137 of file planning_display.cpp.

Set the amount of time each state should display for.

Parameters:
timeThe length of time, in seconds

Definition at line 165 of file planning_display.cpp.

Set the topic to listen on for the JointPath message.

Parameters:
topicThe ROS topic

Definition at line 156 of file planning_display.cpp.

Set whether the visual mesh representation should be displayed.

Parameters:
visible

Definition at line 170 of file planning_display.cpp.

Reimplemented from rviz::Display.

Definition at line 415 of file planning_display.cpp.

ROS callback for an incoming kinematic path message.

Definition at line 409 of file planning_display.cpp.

Loads a URDF from our description_param_.

Definition at line 180 of file planning_display.cpp.

Reimplemented from rviz::Display.

Definition at line 221 of file planning_display.cpp.

Reimplemented from rviz::Display.

Definition at line 213 of file planning_display.cpp.

Reimplemented from rviz::Display.

Definition at line 123 of file planning_display.cpp.

Subscribes to any ROS topics we need to subscribe to.

Definition at line 228 of file planning_display.cpp.

Unadvertises all ROS topics that we have advertised.

Definition at line 256 of file planning_display.cpp.

Unsubscribes from all ROS topics we're currently subscribed to.

Definition at line 242 of file planning_display.cpp.

void motion_planning_rviz_plugin::PlanningDisplay::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Reimplemented from rviz::Display.

Definition at line 262 of file planning_display.cpp.


Member Data Documentation

Definition at line 175 of file planning_display.h.

Definition at line 182 of file planning_display.h.

Definition at line 170 of file planning_display.h.

Definition at line 178 of file planning_display.h.

Definition at line 171 of file planning_display.h.

Definition at line 174 of file planning_display.h.

ROS parameter that contains the robot xml description.

Definition at line 159 of file planning_display.h.

Definition at line 168 of file planning_display.h.

Definition at line 165 of file planning_display.h.

Definition at line 167 of file planning_display.h.

Definition at line 166 of file planning_display.h.

Definition at line 164 of file planning_display.h.

Definition at line 172 of file planning_display.h.

Definition at line 183 of file planning_display.h.

Definition at line 169 of file planning_display.h.

Handles actually drawing the robot.

Definition at line 161 of file planning_display.h.

Definition at line 180 of file planning_display.h.

Definition at line 173 of file planning_display.h.

Definition at line 179 of file planning_display.h.

Definition at line 185 of file planning_display.h.

Definition at line 163 of file planning_display.h.

Definition at line 181 of file planning_display.h.

Definition at line 177 of file planning_display.h.


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


motion_planning_rviz_plugin
Author(s): Josh Faust
autogenerated on Mon Dec 2 2013 12:39:30