#include <marble_plugin.h>
Signals | |
void | newGpsPosition (qreal, qreal) |
Public Member Functions | |
void | gpsCallback (const sensor_msgs::NavSatFixConstPtr &gpspt) |
virtual void | initPlugin (qt_gui_cpp::PluginContext &context) |
MarblePlugin () | |
virtual void | restoreSettings (const qt_gui_cpp::Settings &plugin_settings, const qt_gui_cpp::Settings &instance_settings) |
virtual void | saveSettings (qt_gui_cpp::Settings &plugin_settings, qt_gui_cpp::Settings &instance_settings) const |
virtual void | shutdownPlugin () |
Private Slots | |
void | changeGpsTopic (const QString &topic_name) |
void | changeMarbleModelTheme (int idx) |
void | enableNavigation (bool checked) |
void | routeChanged () |
void | setKmlFile (bool envoke_file_dialog=true) |
Private Member Functions | |
void | findGpsTopics () |
void | initWidget (qt_gui_cpp::PluginContext &context) |
Private Attributes | |
ros::Subscriber | m_sat_nav_fix_subscriber |
Marble::MapThemeManager * | map_theme_manager |
Marble::RouteRequest * | request |
rqt_marble::BridgeRosMarble * | ros_navigation |
Marble::RoutingModel * | routeModel |
Marble::RoutingManager * | routing_manager |
Ui_MarblePluginWidget | ui_ |
QWidget * | widget_ |
MarblePlugin class works as an interface for 2 libraries: for Marble via Ui_form class and for rqt framework by extending rqt_gui_cpp::Plugin class.
Definition at line 54 of file marble_plugin.h.
Definition at line 58 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::changeGpsTopic | ( | const QString & | topic_name | ) | [private, slot] |
Definition at line 179 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::changeMarbleModelTheme | ( | int | idx | ) | [private, slot] |
idx,: | index within combobox |
Definition at line 169 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::enableNavigation | ( | bool | checked | ) | [private, slot] |
Definition at line 290 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::findGpsTopics | ( | ) | [private] |
Capture GPS Topics from ROS and set the topic names on combo box.
Definition at line 143 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::gpsCallback | ( | const sensor_msgs::NavSatFixConstPtr & | gpspt | ) |
Definition at line 210 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::initPlugin | ( | qt_gui_cpp::PluginContext & | context | ) | [virtual] |
Overridden from rqt_gui_cpp::Plugin
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 72 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::initWidget | ( | qt_gui_cpp::PluginContext & | context | ) | [private] |
Definition at line 84 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::newGpsPosition | ( | qreal | , |
qreal | |||
) | [signal] |
void rqt_marble::MarblePlugin::restoreSettings | ( | const qt_gui_cpp::Settings & | plugin_settings, |
const qt_gui_cpp::Settings & | instance_settings | ||
) | [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 255 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::routeChanged | ( | ) | [private, slot] |
Definition at line 298 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::saveSettings | ( | qt_gui_cpp::Settings & | plugin_settings, |
qt_gui_cpp::Settings & | instance_settings | ||
) | const [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 239 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::setKmlFile | ( | bool | envoke_file_dialog = true | ) | [private, slot] |
Definition at line 186 of file marble_plugin.cpp.
void rqt_marble::MarblePlugin::shutdownPlugin | ( | ) | [virtual] |
Reimplemented from rqt_gui_cpp::Plugin.
Definition at line 163 of file marble_plugin.cpp.
Definition at line 92 of file marble_plugin.h.
Marble::MapThemeManager* rqt_marble::MarblePlugin::map_theme_manager [private] |
Definition at line 96 of file marble_plugin.h.
Marble::RouteRequest* rqt_marble::MarblePlugin::request [private] |
Definition at line 94 of file marble_plugin.h.
Definition at line 97 of file marble_plugin.h.
Marble::RoutingModel* rqt_marble::MarblePlugin::routeModel [private] |
Definition at line 95 of file marble_plugin.h.
Marble::RoutingManager* rqt_marble::MarblePlugin::routing_manager [private] |
Definition at line 93 of file marble_plugin.h.
Ui_MarblePluginWidget rqt_marble::MarblePlugin::ui_ [private] |
Definition at line 90 of file marble_plugin.h.
QWidget* rqt_marble::MarblePlugin::widget_ [private] |
Definition at line 91 of file marble_plugin.h.