bool ninja_is_armed(struct ninja *self)
Definition: ninja.c:320
void ninja_input_acc(struct ninja *self, int32_t x, int32_t y, int32_t z)
sensor_mask_t
Definition: ninja.h:26
bool isRXDataNew
Definition: ninja.h:58
struct instruments ins
Definition: ninja.h:41
void ninja_run_pid_loop(struct ninja *self, uint32_t dt_us)
Definition: ninja.c:652
int16_t telemTemperature1
Definition: ninja.h:65
Definition: failsafe.h:46
uint32_t ninja_has_sensors(struct ninja *self, sensor_mask_t sensor_mask)
Definition: ninja.c:316
uint16_t cycleTime
Definition: ninja.h:69
Definition: serial_msp.h:87
struct pt state_arming
Definition: ninja.h:75
uint16_t filteredCycleTime
Definition: ninja.h:68
Definition: ninja_sched.h:88
Definition: rc_adjustments.h:116
int16_t headFreeModeHold
Definition: ninja.h:61
bool is_armed
Definition: ninja.h:79
int32_t sys_millis_t
Definition: system_calls.h:6
sys_micros_t loop_time
Definition: ninja.h:82
uint32_t sensors
Definition: ninja.h:80
void ninja_disarm(struct ninja *self)
Definition: ninja.c:212
void ninja_arm(struct ninja *self)
Definition: ninja.c:205
uint8_t motorControlEnable
Definition: ninja.h:63
void ninja_input_rc(struct ninja *self, const struct ninja_rc_input *rc)
void ninja_heartbeat(struct ninja *self)
Definition: ninja.c:679
int32_t sys_micros_t
Definition: system_calls.h:7
uint16_t direct_outputs[MIXER_OUTPUT_COUNT]
this is used for directly controlling motors while we are disarmed (from gcs)
Definition: ninja.h:87
sys_millis_t disarm_timeout
Definition: ninja.h:77
sys_millis_t arming_delay
Definition: ninja.h:76
uint8_t z
set the acc deadband for z-Axis, this ignores small accelerations
Definition: accelerometer.h:52
void ninja_input_gyro(struct ninja *self, int32_t x, int32_t y, int32_t z)
uint32_t disarmAt
Definition: ninja.h:66
Definition: blackbox.h:90
const struct system_calls * system
Definition: ninja.h:94
struct config * config
pointer to current configuration
Definition: ninja.h:97
Definition: system_calls.h:200
struct ninja_rc_input rc_input
Definition: ninja.h:71
struct pt state_ctrl
Definition: ninja.h:73
void ninja_init(struct ninja *self, const struct system_calls *syscalls, struct config *config)
Definition: ninja.c:83
struct ninja_sched sched
Definition: ninja.h:84
struct battery bat
Definition: ninja.h:44
struct anglerate ctrl
Definition: ninja.h:43
int16_t magHold
Definition: ninja.h:60
Definition: instruments.h:11
Definition: ledstrip.h:30
Definition: anglerate.h:48
struct rc_event_listener rc_evl
Definition: ninja.h:47