...
Code Block |
---|
/** * @brief Retrieves latest data from ground, if any. * * @param ... Struct in which retrieved data is stored. * * @return true if data was retrieved, otherwise false */ bool get_from_ground(Data_From_Ground_t &dataFromGround); /** * @brief Sends data to ground. * * @param dataToGround Data to send. */ void send_to_ground(Data_To_Ground_t &dataToGround); |
Structs:
Code Block |
---|
typedef struct {
float latitude;
float longitude;
float altitude;
float yaw;
float pitch;
float roll;
uint8_t motorOutputs[NUM_MOTOR_OUTPUTS];
} Data_From_AM_t; |
High-level diagram of function calls:
...