mirror of
https://github.com/okalachev/flix.git
synced 2026-02-17 15:41:32 +00:00
Make motor indexes definition const int and move them to motors.ino
Remove motor indexes definitions from flix.ino Add motors.ino to simulation code and implement required mocks
This commit is contained in:
@@ -50,6 +50,8 @@ Vector ratesTarget;
|
||||
Vector torqueTarget;
|
||||
float thrustTarget;
|
||||
|
||||
extern const int MOTOR_REAR_LEFT, MOTOR_REAR_RIGHT, MOTOR_FRONT_RIGHT, MOTOR_FRONT_LEFT;
|
||||
|
||||
void control() {
|
||||
interpretRC();
|
||||
failsafe();
|
||||
|
||||
Reference in New Issue
Block a user