Inertial Control
I added inertial navigation based on the simulator data. This is an option only available if you compile with Arduino and set #define INERTIAL_NAV ENABLED in the APM_Config.h file. This has been tested for one real flight and did not crash my quad, but consider it very alpha. The quad may be unpredictable at first until the error correction fixes poorly calibrated accels. Be Careful. Most of the real work is in the inertia file, but the error correction, new variable defines and calibration calls are sprinkled throughout. The Log should record RAW messages with special debugging values.
Showing
- ArduCopter/APM_Config.h 21 additions, 1 deletionArduCopter/APM_Config.h
- ArduCopter/ArduCopter.pde 28 additions, 0 deletionsArduCopter/ArduCopter.pde
- ArduCopter/Attitude.pde 6 additions, 2 deletionsArduCopter/Attitude.pde
- ArduCopter/Log.pde 39 additions, 6 deletionsArduCopter/Log.pde
- ArduCopter/inertia.pde 114 additions, 0 deletionsArduCopter/inertia.pde
- ArduCopter/motors.pde 6 additions, 2 deletionsArduCopter/motors.pde
- ArduCopter/navigation.pde 20 additions, 1 deletionArduCopter/navigation.pde
Loading
Please register or sign in to comment