|
ASCO Aerial Autonomy
|
Owns, initializes, and facilitates communication between different hardware/software components. Provides builtin position, velocity, and rpy controllers for controlling UAV. More...
#include <uav_system.h>


Public Member Functions | |
| UAVSystem (parsernode::Parser &drone_hardware) | |
| Constructor with default configuration. More... | |
| UAVSystem (parsernode::Parser &drone_hardware, UAVSystemConfig config) | |
| Constructor. More... | |
| parsernode::common::quaddata | getUAVData () const |
| Get sensor data from UAV. More... | |
| void | takeOff () |
| Public API call to takeoff. More... | |
| void | enableAutonomousMode () |
| Public API call to enable Quadcopter SDK. This call is only necessary if Quad goes into manual mode due to rc switching while state machine is running. More... | |
| void | land () |
| Public API call to land. More... | |
| std::string | getSystemStatus () const |
| Provide the current state of UAV system. More... | |
| UAVSystemConfig | getConfiguration () |
| Get system configuration. More... | |
| void | setHomeLocation () |
| save current location as home location More... | |
| bool | isHomeLocationSpecified () |
| Check if home location is specified. More... | |
| PositionYaw | getHomeLocation () |
| Stored home location. More... | |
Public Member Functions inherited from BaseRobotSystem | |
| BaseRobotSystem () | |
| Constructor to initialize active controllers and mutexes to NULL. More... | |
| template<class ControllerHardwareConnectorT , class GoalT > | |
| void | setGoal (GoalT goal) |
| sets goal to the connector and swaps the active connector with the specified connector type. More... | |
| template<class ControllerHardwareConnectorT , class GoalT > | |
| GoalT | getGoal () const |
| Get the goal from connector. More... | |
| template<class ControllerHardwareConnectorT > | |
| ControllerStatus | getStatus () const |
| Get the status of a controller. More... | |
| ControllerStatus | getActiveControllerStatus (HardwareType hardware_type) const |
| Get the status of the active controller. More... | |
| void | abortController (HardwareType hardware_type) |
| Remove active controller for given hardware type. More... | |
| void | runActiveController (HardwareType hardware_type) |
| Run active controller stored for a given hardware type. More... | |
Protected Attributes | |
| parsernode::Parser & | drone_hardware_ |
| Hardware. More... | |
| UAVSystemConfig | config_ |
| UAV configuration parameters. More... | |
Protected Attributes inherited from BaseRobotSystem | |
| TypeMap < AbstractControllerHardwareConnector > | controller_hardware_connector_container_ |
| Container to store and retrieve controller-hardware-connectors. More... | |
Owns, initializes, and facilitates communication between different hardware/software components. Provides builtin position, velocity, and rpy controllers for controlling UAV.
|
inline |
Constructor with default configuration.
|
inline |
Constructor.
UAVSystem requires a drone hardware. It instantiates the connectors, controllers
| drone_hardware | input hardware to send commands back |
| config | The system configuration specifying the parameters such as takeoff height, etc. |
|
inline |
Public API call to enable Quadcopter SDK. This call is only necessary if Quad goes into manual mode due to rc switching while state machine is running.
|
inline |
Get system configuration.
|
inline |
Stored home location.
|
inlinevirtual |
Provide the current state of UAV system.
Implements BaseRobotSystem.
Reimplemented in UAVVisionSystem.
|
inline |
Get sensor data from UAV.
|
inline |
Check if home location is specified.
|
inline |
Public API call to land.
|
inline |
save current location as home location
|
inline |
Public API call to takeoff.
|
protected |
UAV configuration parameters.
|
protected |
Hardware.
1.8.6