#include <my_plugin.h>
Public Slots | |
void | add_drone_to_list () |
void | drone_select (const QString &str) |
void | emergency_publish () |
void | land_publish () |
void | remove_drone_from_list () |
void | reset_pose_publish () |
void | takeoff_publish () |
Public Member Functions | |
virtual void | initPlugin (qt_gui_cpp::PluginContext &context) |
MyPlugin () | |
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 () |
Public Attributes | |
QStringList | drones_list |
Private Member Functions | |
void | init_emergency_pub (int i=0, bool only=false) |
void | init_land_pub (int i=0, bool only=false) |
void | init_reset_pose_pub (int i=0, bool only=false) |
void | init_takeoff_pub (int i=0, bool only=false) |
void | navdataCb (const ardrone_autonomy::Navdata::ConstPtr navdata) |
void | rolesCb (const ucl_drone::DroneRoles::ConstPtr drones_rolesPtr) |
Private Attributes | |
std::vector< ros::Publisher > | emergency_pub |
std::vector< ros::Publisher > | land_pub |
ros::Subscriber | navdata_sub |
std::vector< ros::Publisher > | reset_pose_pub |
std::string | roles_channel |
ros::Subscriber | roles_sub |
std::vector< ros::Publisher > | takeoff_pub |
Ui::MyPluginWidget | ui_ |
QWidget * | widget_ |
Definition at line 16 of file my_plugin.h.
Definition at line 17 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::add_drone_to_list | ( | ) | [slot] |
Definition at line 50 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::drone_select | ( | const QString & | str | ) | [slot] |
Definition at line 87 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::emergency_publish | ( | ) | [slot] |
Definition at line 97 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::init_emergency_pub | ( | int | i = 0 , |
bool | only = false |
||
) | [private] |
Definition at line 168 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::init_land_pub | ( | int | i = 0 , |
bool | only = false |
||
) | [private] |
Definition at line 183 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::init_reset_pose_pub | ( | int | i = 0 , |
bool | only = false |
||
) | [private] |
Definition at line 213 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::init_takeoff_pub | ( | int | i = 0 , |
bool | only = false |
||
) | [private] |
Definition at line 198 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::initPlugin | ( | qt_gui_cpp::PluginContext & | context | ) | [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 25 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::land_publish | ( | ) | [slot] |
Definition at line 109 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::navdataCb | ( | const ardrone_autonomy::Navdata::ConstPtr | navdata | ) | [private] |
Definition at line 228 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::remove_drone_from_list | ( | ) | [slot] |
Definition at line 71 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::reset_pose_publish | ( | ) | [slot] |
Definition at line 133 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::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 260 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::rolesCb | ( | const ucl_drone::DroneRoles::ConstPtr | drones_rolesPtr | ) | [private] |
Definition at line 145 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::saveSettings | ( | qt_gui_cpp::Settings & | plugin_settings, |
qt_gui_cpp::Settings & | instance_settings | ||
) | const [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 250 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::shutdownPlugin | ( | ) | [virtual] |
Reimplemented from rqt_gui_cpp::Plugin.
Definition at line 236 of file my_plugin.cpp.
void ucl_drone_gui::MyPlugin::takeoff_publish | ( | ) | [slot] |
Definition at line 121 of file my_plugin.cpp.
QStringList ucl_drone_gui::MyPlugin::drones_list |
Definition at line 32 of file my_plugin.h.
std::vector< ros::Publisher > ucl_drone_gui::MyPlugin::emergency_pub [private] |
Definition at line 45 of file my_plugin.h.
std::vector< ros::Publisher > ucl_drone_gui::MyPlugin::land_pub [private] |
Definition at line 48 of file my_plugin.h.
Definition at line 42 of file my_plugin.h.
std::vector< ros::Publisher > ucl_drone_gui::MyPlugin::reset_pose_pub [private] |
Definition at line 54 of file my_plugin.h.
std::string ucl_drone_gui::MyPlugin::roles_channel [private] |
Definition at line 39 of file my_plugin.h.
Definition at line 38 of file my_plugin.h.
std::vector< ros::Publisher > ucl_drone_gui::MyPlugin::takeoff_pub [private] |
Definition at line 51 of file my_plugin.h.
Ui::MyPluginWidget ucl_drone_gui::MyPlugin::ui_ [private] |
Definition at line 35 of file my_plugin.h.
QWidget* ucl_drone_gui::MyPlugin::widget_ [private] |
Definition at line 36 of file my_plugin.h.