Safety allopwed area plugin. More...
Public Member Functions | |
const std::string | get_name () const |
Plugin name (CamelCase) | |
const message_map | get_rx_handlers () |
Return map with message rx handlers. | |
void | initialize (UAS &uas_, ros::NodeHandle &nh, diagnostic_updater::Updater &diag_updater) |
Plugin initializer. | |
SafetyAreaPlugin () | |
Private Member Functions | |
void | safety_set_allowed_area (uint8_t coordinate_frame, float p1x, float p1y, float p1z, float p2x, float p2y, float p2z) |
void | safetyarea_cb (const geometry_msgs::PolygonStamped::ConstPtr &req) |
void | send_safety_set_allowed_area (float p1x, float p1y, float p1z, float p2x, float p2y, float p2z) |
Private Attributes | |
ros::NodeHandle | safety_nh |
ros::Subscriber | safetyarea_sub |
UAS * | uas |
Safety allopwed area plugin.
Send safety area to FCU controller.
Definition at line 40 of file safety_area.cpp.