#include <aeronautics.h>
aeronautics::aeronautics |
( |
| ) |
|
P8 on your BBB | USB facing you, P8 is the pin block on the right hand side.
Definition: overlayBase.h:45
GPIO PWM Pin Number 42.
Definition: overlayBase.h:52
GPIO PWM Pin Number 22.
Definition: overlayBase.h:53
GPIO PWM Pin Number 19.
Definition: overlayBase.h:54
GPIO PWM Pin Number 14.
Definition: overlayBase.h:55
Definition: dji_2212.h:32
void init()
Definition: dji_2212.cpp:37
P9 on your BBB | USB facing you, P9 is the pin block on the left hand side.
Definition: overlayBase.h:44
dji_2212 * motor[4]
Definition: aeronautics.h:35
void aeronautics::maintainAltitude |
( |
| ) |
|
maintainAltitude() Allow the quadcopter to analyse current altitude related sensor readings against target settings and adjust motors accordingly
- Parameters
-
- Returns
- none TODO: implement this method
void aeronautics::maintainHeading |
( |
| ) |
|
maintainHeading() Allow the quadcopter to analyse current heading readings against target settings and adjust motors accordingly
- Parameters
-
- Returns
- none TODO: implement this method
void aeronautics::maintainPitch |
( |
double |
_duty_increment, |
|
|
float |
_pitch |
|
) |
| |
maintainPitch() - Analyse target settings and adjust motors accordingly
- Parameters
-
- Returns
- none TODO: handle potential errors.
95 }
void setTargetSpeed(long _targetSpeed)
Definition: motors.cpp:31
dji_2212 * motor[4]
Definition: aeronautics.h:35
void aeronautics::maintainRoll |
( |
double |
_duty_increment, |
|
|
float |
_roll |
|
) |
| |
maintainRoll() - Analyse target settings and adjust motors accordingly
- Parameters
-
- Returns
- none TODO: handle potential errors.
void setTargetSpeed(long _targetSpeed)
Definition: motors.cpp:31
dji_2212 * motor[4]
Definition: aeronautics.h:35
Four pointers for new DJI_2212 motors
The documentation for this class was generated from the following files:
- /Users/michaelbrookes/ClionProjects/Quadro/lib/aeronautics/aeronautics.h
- /Users/michaelbrookes/ClionProjects/Quadro/lib/aeronautics/aeronautics.cpp