PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Geofence vertex point. More...
#include <navigation.h>
Public Attributes | |
double | lat |
double | lon |
float | alt |
union { | |
uint16_t vertex_count | |
number of vertices in this polygon More... | |
float circle_radius | |
geofence circle radius in meters (only used for NAV_CMD_NAV_FENCE_CIRCLE*) More... | |
}; | |
uint16_t | nav_cmd |
navigation command (one of MAV_CMD_NAV_FENCE_*) More... | |
uint8_t | frame |
MAV_FRAME. More... | |
uint8_t | _padding0 [5] |
padding struct size to alignment boundary More... | |
Geofence vertex point.
Corresponds to the DM_KEY_FENCE_POINTS dataman item
Definition at line 203 of file navigation.h.
union { ... } |
uint8_t mission_fence_point_s::_padding0[5] |
padding struct size to alignment boundary
Definition at line 216 of file navigation.h.
float mission_fence_point_s::alt |
Definition at line 206 of file navigation.h.
Referenced by MavlinkMissionManager::handle_mission_item_both(), Geofence::loadFromFile(), and MavlinkMissionManager::send_mission_item().
float mission_fence_point_s::circle_radius |
geofence circle radius in meters (only used for NAV_CMD_NAV_FENCE_CIRCLE*)
Definition at line 210 of file navigation.h.
Referenced by Geofence::_updateFence(), MavlinkMissionManager::handle_mission_item_both(), Geofence::insideCircle(), and MavlinkMissionManager::send_mission_item().
uint8_t mission_fence_point_s::frame |
MAV_FRAME.
Definition at line 214 of file navigation.h.
Referenced by MavlinkMissionManager::handle_mission_item_both(), Geofence::insideCircle(), Geofence::insidePolygon(), Geofence::loadFromFile(), and MavlinkMissionManager::send_mission_item().
double mission_fence_point_s::lat |
Definition at line 204 of file navigation.h.
Referenced by MavlinkMissionManager::handle_mission_item_both(), Geofence::insideCircle(), Geofence::insidePolygon(), Geofence::loadFromFile(), and MavlinkMissionManager::send_mission_item().
double mission_fence_point_s::lon |
Definition at line 205 of file navigation.h.
Referenced by MavlinkMissionManager::handle_mission_item_both(), Geofence::insideCircle(), Geofence::insidePolygon(), Geofence::loadFromFile(), and MavlinkMissionManager::send_mission_item().
uint16_t mission_fence_point_s::nav_cmd |
navigation command (one of MAV_CMD_NAV_FENCE_*)
Definition at line 213 of file navigation.h.
Referenced by Geofence::_updateFence(), MavlinkMissionManager::handle_mission_item_both(), Geofence::loadFromFile(), and MavlinkMissionManager::send_mission_item().
uint16_t mission_fence_point_s::vertex_count |
number of vertices in this polygon
Definition at line 209 of file navigation.h.
Referenced by Geofence::_updateFence(), MavlinkMissionManager::handle_mission_item_both(), Geofence::loadFromFile(), and MavlinkMissionManager::send_mission_item().