Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes
mapviz_plugins::OdometryPlugin Class Reference

#include <odometry_plugin.h>

Inheritance diagram for mapviz_plugins::OdometryPlugin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Draw (double x, double y, double scale)
QWidget * GetConfigWidget (QWidget *parent)
bool Initialize (QGLWidget *canvas)
void LoadConfig (const YAML::Node &node, const std::string &path)
 OdometryPlugin ()
void Paint (QPainter *painter, double x, double y, double scale)
void SaveConfig (YAML::Emitter &emitter, const std::string &path)
void Shutdown ()
bool SupportsPainting ()
virtual ~OdometryPlugin ()

Protected Slots

void SelectTopic ()
void TopicEdited ()

Protected Member Functions

void PrintError (const std::string &message)
void PrintInfo (const std::string &message)
void PrintWarning (const std::string &message)

Private Member Functions

void DrawCovariance ()
void odometryCallback (const nav_msgs::OdometryConstPtr odometry)

Private Attributes

QWidget * config_widget_
bool has_message_
ros::Subscriber odometry_sub_
std::string topic_
Ui::odometry_config ui_

Detailed Description

Definition at line 57 of file odometry_plugin.h.


Constructor & Destructor Documentation

Definition at line 57 of file odometry_plugin.cpp.

Definition at line 93 of file odometry_plugin.cpp.


Member Function Documentation

void mapviz_plugins::OdometryPlugin::Draw ( double  x,
double  y,
double  scale 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 242 of file odometry_plugin.cpp.

Definition at line 292 of file odometry_plugin.cpp.

QWidget * mapviz_plugins::OdometryPlugin::GetConfigWidget ( QWidget *  parent) [virtual]

Reimplemented from mapviz::MapvizPlugin.

Definition at line 227 of file odometry_plugin.cpp.

bool mapviz_plugins::OdometryPlugin::Initialize ( QGLWidget *  canvas) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 234 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::LoadConfig ( const YAML::Node &  node,
const std::string &  path 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 315 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::odometryCallback ( const nav_msgs::OdometryConstPtr  odometry) [private]

Definition at line 132 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::Paint ( QPainter *  painter,
double  x,
double  y,
double  scale 
) [virtual]

Reimplemented from mapviz::MapvizPlugin.

Definition at line 255 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::PrintError ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 212 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::PrintInfo ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 217 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::PrintWarning ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 222 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::SaveConfig ( YAML::Emitter &  emitter,
const std::string &  path 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 400 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::SelectTopic ( ) [protected, slot]

Definition at line 97 of file odometry_plugin.cpp.

void mapviz_plugins::OdometryPlugin::Shutdown ( ) [inline, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 66 of file odometry_plugin.h.

Reimplemented from mapviz::MapvizPlugin.

Definition at line 77 of file odometry_plugin.h.

void mapviz_plugins::OdometryPlugin::TopicEdited ( ) [protected, slot]

Definition at line 109 of file odometry_plugin.cpp.


Member Data Documentation

Definition at line 95 of file odometry_plugin.h.

Definition at line 98 of file odometry_plugin.h.

Definition at line 97 of file odometry_plugin.h.

Definition at line 96 of file odometry_plugin.h.

Ui::odometry_config mapviz_plugins::OdometryPlugin::ui_ [private]

Definition at line 94 of file odometry_plugin.h.


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


mapviz_plugins
Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 18:51:07