#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 | 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_ |
Definition at line 57 of file odometry_plugin.h.
Definition at line 57 of file odometry_plugin.cpp.
mapviz_plugins::OdometryPlugin::~OdometryPlugin | ( | ) | [virtual] |
Definition at line 93 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 242 of file odometry_plugin.cpp.
void mapviz_plugins::OdometryPlugin::DrawCovariance | ( | ) | [private] |
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.
bool mapviz_plugins::OdometryPlugin::SupportsPainting | ( | ) | [inline, virtual] |
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.
QWidget* mapviz_plugins::OdometryPlugin::config_widget_ [private] |
Definition at line 95 of file odometry_plugin.h.
bool mapviz_plugins::OdometryPlugin::has_message_ [private] |
Definition at line 98 of file odometry_plugin.h.
Definition at line 97 of file odometry_plugin.h.
std::string mapviz_plugins::OdometryPlugin::topic_ [private] |
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.