#include <navsat_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) |
NavSatPlugin () | |
void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
void | Shutdown () |
virtual | ~NavSatPlugin () |
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 | NavSatFixCallback (const sensor_msgs::NavSatFixConstPtr navsat) |
Private Attributes | |
QWidget * | config_widget_ |
bool | has_message_ |
swri_transform_util::LocalXyWgs84Util | local_xy_util_ |
ros::Subscriber | navsat_sub_ |
std::string | topic_ |
Ui::navsat_config | ui_ |
Definition at line 47 of file navsat_plugin.h.
Definition at line 50 of file navsat_plugin.cpp.
mapviz_plugins::NavSatPlugin::~NavSatPlugin | ( | ) | [virtual] |
Definition at line 84 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 221 of file navsat_plugin.cpp.
QWidget * mapviz_plugins::NavSatPlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 207 of file navsat_plugin.cpp.
bool mapviz_plugins::NavSatPlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 214 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::LoadConfig | ( | const YAML::Node & | node, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 229 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::NavSatFixCallback | ( | const sensor_msgs::NavSatFixConstPtr | navsat | ) | [private] |
Definition at line 121 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 165 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 179 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 193 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 290 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::SelectTopic | ( | ) | [protected, slot] |
Definition at line 88 of file navsat_plugin.cpp.
void mapviz_plugins::NavSatPlugin::Shutdown | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 56 of file navsat_plugin.h.
void mapviz_plugins::NavSatPlugin::TopicEdited | ( | ) | [protected, slot] |
Definition at line 100 of file navsat_plugin.cpp.
QWidget* mapviz_plugins::NavSatPlugin::config_widget_ [private] |
Definition at line 78 of file navsat_plugin.h.
bool mapviz_plugins::NavSatPlugin::has_message_ [private] |
Definition at line 83 of file navsat_plugin.h.
Definition at line 85 of file navsat_plugin.h.
Definition at line 82 of file navsat_plugin.h.
std::string mapviz_plugins::NavSatPlugin::topic_ [private] |
Definition at line 80 of file navsat_plugin.h.
Ui::navsat_config mapviz_plugins::NavSatPlugin::ui_ [private] |
Definition at line 77 of file navsat_plugin.h.