![]() |
Autodrone
Multi-Domain Vehicle
|
This file contains functions to initialize the ESC or change modes. More...
#include "board.h"
Functions | |
void | motorInit (void) |
Sets motor_value to 0 for all motors. More... | |
void | motors3dOn (void) |
Changes motor mode to 3D. More... | |
void | motors3dOff (void) |
Changes motor mode to 3D. More... | |
void | motorsSettingsSave (void) |
void | motorsChangeMode (dshotCommands_e command, motors_grouped_e motors) |
void | motorsBeep (motors_beeps_e beep) |
Variables | |
uint16_t | motor_value [MOTOR_COUNT] |
semaphore_t | motor_initialized = false |
motors_mode_e | motors_mode = MOTORS_MODE_NORMAL |
This file contains functions to initialize the ESC or change modes.
void motorInit | ( | void | ) |
Sets motor_value to 0 for all motors.
void motors3dOff | ( | void | ) |
Changes motor mode to 3D.
void motors3dOn | ( | void | ) |
Changes motor mode to 3D.
void motorsBeep | ( | motors_beeps_e | beep | ) |
void motorsChangeMode | ( | dshotCommands_e | command, |
motors_grouped_e | motors | ||
) |
void motorsSettingsSave | ( | void | ) |
semaphore_t motor_initialized = false |
uint16_t motor_value[MOTOR_COUNT] |
motors_mode_e motors_mode = MOTORS_MODE_NORMAL |