#include <odometry_plugin.h>
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 | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
void | Shutdown () |
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_ |
Definition at line 57 of file odometry_plugin.h.
Definition at line 60 of file odometry_plugin.cpp.
mapviz_plugins::OdometryPlugin::~OdometryPlugin | ( | ) | [virtual] |
Definition at line 94 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 270 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::DrawCovariance | ( | ) | [private] |
Definition at line 282 of file odometry_plugin.cpp.
QWidget * mapviz_plugins::OdometryPlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 255 of file odometry_plugin.cpp.
bool mapviz_plugins::OdometryPlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 262 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 303 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::odometryCallback | ( | const nav_msgs::OdometryConstPtr | odometry | ) | [private] |
Definition at line 133 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 213 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 227 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 241 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 383 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::SelectTopic | ( | ) | [protected, slot] |
Definition at line 98 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::Shutdown | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 66 of file odometry_plugin.h.
void mapviz_plugins::OdometryPlugin::TopicEdited | ( | ) | [protected, slot] |
Definition at line 110 of file odometry_plugin.cpp.
QWidget* mapviz_plugins::OdometryPlugin::config_widget_ [private] |
Definition at line 89 of file odometry_plugin.h.
bool mapviz_plugins::OdometryPlugin::has_message_ [private] |
Definition at line 92 of file odometry_plugin.h.
Definition at line 91 of file odometry_plugin.h.
std::string mapviz_plugins::OdometryPlugin::topic_ [private] |
Definition at line 90 of file odometry_plugin.h.
Ui::odometry_config mapviz_plugins::OdometryPlugin::ui_ [private] |
Definition at line 88 of file odometry_plugin.h.