Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Fixedwing autopilot inititalization. More...
#include <stdint.h>
#include "firmwares/fixedwing/autopilot.h"
#include "state.h"
#include "firmwares/fixedwing/nav.h"
#include "pprz_version.h"
Go to the source code of this file.
Functions | |
void | autopilot_send_mode (void) |
Send mode over telemetry. More... | |
void | autopilot_init (void) |
Autopilot inititalization. More... | |
Variables | |
uint8_t | pprz_mode |
bool_t | kill_throttle |
uint8_t | mcu1_status |
bool_t | launch |
uint16_t | autopilot_flight_time |
flight time in seconds. More... | |
uint8_t | lateral_mode |
uint16_t | vsupply |
Supply voltage in deciVolt. More... | |
int32_t | current |
Supply current in milliAmpere. More... | |
float | energy |
Energy consumption (mAh) This is the ap copy of the measurement from fbw. More... | |
bool_t | gps_lost |
bool_t | power_switch |
Power switch control. More... | |
Fixedwing autopilot inititalization.
Definition in file autopilot.c.
void autopilot_init | ( | void | ) |
Autopilot inititalization.
Definition at line 175 of file autopilot.c.
Referenced by init_ap(), and main_init().
void autopilot_send_mode | ( | void | ) |
Send mode over telemetry.
Definition at line 167 of file autopilot.c.
References DefaultChannel, and DefaultDevice.
Referenced by navigation_task(), and telecommand_task().
uint16_t autopilot_flight_time |
flight time in seconds.
Definition at line 48 of file autopilot.c.
Referenced by attitude_loop(), autopilot_init(), generic_com_periodic(), gsm_send_report_continue(), main_periodic(), mf_daq_send_state(), monitor_task(), nav_check_wp_time(), parse_mf_daq_msg(), send_fp(), and telecommand_task().
int32_t current |
Supply current in milliAmpere.
This the ap copy of the measurement from fbw
Definition at line 53 of file autopilot.c.
Referenced by telecommand_task().
float energy |
Energy consumption (mAh) This is the ap copy of the measurement from fbw.
Definition at line 54 of file autopilot.c.
Referenced by generic_com_periodic(), and telecommand_task().
bool_t gps_lost |
Definition at line 56 of file autopilot.c.
Referenced by autopilot_init(), and navigation_task().
bool_t kill_throttle |
Definition at line 42 of file autopilot.c.
Referenced by attitude_loop(), autopilot_init(), autopilot_on_rc_frame(), autopilot_set_motors_on(), electrical_periodic(), geo_mag_periodic(), mavlink_send_heartbeat(), monitor_task(), nav_bungee_takeoff_run(), nav_bungee_takeoff_setup(), and v_ctl_climb_loop().
uint8_t lateral_mode |
Definition at line 50 of file autopilot.c.
Referenced by autopilot_init(), fly_to_xy(), nav_without_gps(), and navigation_task().
bool_t launch |
Definition at line 45 of file autopilot.c.
Referenced by autopilot_init().
uint8_t mcu1_status |
Definition at line 43 of file autopilot.c.
Referenced by mcu1_status_update().
bool_t power_switch |
uint8_t pprz_mode |
Definition at line 41 of file autopilot.c.
Referenced by attitude_loop(), autopilot_init(), cam_periodic(), generic_com_periodic(), h_ctl_pitch_loop(), h_ctl_roll_loop(), mavlink_send_heartbeat(), navigation_task(), periodic_auto1_commands(), pprz_mode_update(), takeoff_detect_periodic(), telecommand_task(), v_ctl_set_pitch(), v_ctl_set_throttle(), and vPoint().
uint16_t vsupply |
Supply voltage in deciVolt.
This the ap copy of the measurement from fbw
Definition at line 52 of file autopilot.c.
Referenced by attitude_loop(), gsm_send_report_continue(), monitor_task(), and telecommand_task().