Created
August 2, 2018 16:57
-
-
Save tmaxxdd/c6590062d5a58cb52587b39248034901 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <mavlink.h> | |
int sysid = 255;//GCS ///< ID 20 for this airplane. 1 PX, 255 ground station | |
int compid = 190;//Mission Planner ///< The component sending the message | |
int type = MAV_TYPE_QUADROTOR; ///< This system is an airplane / fixed wing | |
// Define the system type, in this case an airplane -> on-board controller | |
uint8_t system_type = MAV_TYPE_GENERIC; | |
uint8_t autopilot_type = MAV_AUTOPILOT_GENERIC; | |
// Hardware definitions | |
uint8_t system_mode = MAV_MODE_TEST_ARMED; /// /* UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | */ | |
uint32_t custom_mode = MAV_MODE_FLAG_SAFETY_ARMED; ///< Custom mode, can be defined by user/adopter | |
uint8_t system_state = MAV_STATE_STANDBY; ///< System ready for flight |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment