Wednesday, August 6, 2014

Useful fundamental researches


      The diagram below shows the flight mode state machine and the different main modes the PX4 system can be in. As the graph shows it covers simple manual / FPV assisted flight as well as full autonomous flight and ensures sane transitions between the modes.

 

      A RGB LED is installed in PX4 to indicate state transitions and errors in different states. Basically, the LED has four colors, red, amber, green and blue, and four different flashing mode: "on", "fast", "breathe" and "blink_normal". These colors and flashing modes contribute to PX4 LED indication. According to PX4 firmware of ArduCopter-3.1.5 release, a table of PX4 LED indication was made in July as presented below:
                         

Arming stateREDAMBERGREENBLUE
RGBLED_MODE
_ON
ARMING_STATE
_ARMED
NONEVEHICLE_BATTERY
_WARNING_LOW
|| status_local->failsafe
condition_local
_position_valid
condition_local
_position_invalid
RGBLED_MODE
_BLINK_FAST
ARMING_STATE
_ARMED_ERROR
ARMING_STATE
_ARMED_ERROR
NONENONENONE
RGBLED_MODE
_BREATHE
ARMING_STATE
_STANDBY
NONEVEHICLE_BATTERY
_WARNING_LOW
|| status_local->failsafe
condition_local
_position_valid
condition_local
_position_invalid
RGBLED_MODE
_BLINK_NORMAL
STANDBY_ERROR
and other states
STANDBY_ERROR
and other states
NONENONENONE


      3DR telemetry was used for radio control in this research. Since three UAVs were tested in the same time, to avoid interference from each other, telemetries need to be change their Net IDs, and receivers and transmitters should be matched up to the same channel in pairs. After research, it turns out that APM Planner 2 was a good software to flash 3DR telemetry firmware:











No comments:

Post a Comment