#include <initial_pose_tool.h>
Public Member Functions | |
virtual void | enumerateProperties (PropertyManager *property_manager, const Property *&parent) |
const std::string & | getTopic () |
virtual bool | hasProperties () |
InitialPoseTool () | |
virtual void | onInitialize () |
void | setTopic (const std::string &topic) |
virtual | ~InitialPoseTool () |
Protected Member Functions | |
virtual void | onPoseSet (double x, double y, double theta) |
Protected Attributes | |
ros::NodeHandle | nh_ |
ros::Publisher | pub_ |
std::string | topic_ |
StringProperty * | topic_property_ |
Definition at line 49 of file initial_pose_tool.h.
rviz::InitialPoseTool::InitialPoseTool | ( | ) |
Definition at line 43 of file initial_pose_tool.cpp.
virtual rviz::InitialPoseTool::~InitialPoseTool | ( | ) | [inline, virtual] |
Definition at line 53 of file initial_pose_tool.h.
void rviz::InitialPoseTool::enumerateProperties | ( | PropertyManager * | property_manager, | |
const Property *& | parent | |||
) | [virtual] |
Definition at line 80 of file initial_pose_tool.cpp.
const std::string& rviz::InitialPoseTool::getTopic | ( | ) | [inline] |
Definition at line 56 of file initial_pose_tool.h.
virtual bool rviz::InitialPoseTool::hasProperties | ( | ) | [inline, virtual] |
If your Tool subclass defines properties in enumerateProperties(), also override this function to return true.
Reimplemented from rviz::Tool.
Definition at line 58 of file initial_pose_tool.h.
void rviz::InitialPoseTool::onInitialize | ( | ) | [virtual] |
Override onInitialize to do any setup needed after the VisualizationManager has been set. This is called by Tool::initialize(). The base implementation here does nothing.
Reimplemented from rviz::PoseTool.
Definition at line 49 of file initial_pose_tool.cpp.
void rviz::InitialPoseTool::onPoseSet | ( | double | x, | |
double | y, | |||
double | theta | |||
) | [protected, virtual] |
Implements rviz::PoseTool.
Definition at line 61 of file initial_pose_tool.cpp.
void rviz::InitialPoseTool::setTopic | ( | const std::string & | topic | ) |
Definition at line 55 of file initial_pose_tool.cpp.
ros::NodeHandle rviz::InitialPoseTool::nh_ [protected] |
Definition at line 66 of file initial_pose_tool.h.
ros::Publisher rviz::InitialPoseTool::pub_ [protected] |
Definition at line 67 of file initial_pose_tool.h.
std::string rviz::InitialPoseTool::topic_ [protected] |
Definition at line 64 of file initial_pose_tool.h.
StringProperty* rviz::InitialPoseTool::topic_property_ [protected] |
Definition at line 69 of file initial_pose_tool.h.