Commit Graph

9185 Commits

Author SHA1 Message Date
Mike McCauley
e4eef61ec3 AP_InertialSensor: Flymaple sensors improvements
Flymaple sensors are now raw sampled at 800Hz, and LowPassFilter2p is used
to filter to the desired filter cutoff frequency.
Flymaple sensor polling is done in the main thread NOT in the timer
interrupts.
2013-09-27 15:45:59 +10:00
Mike McCauley
23429b6b9c AP_InertialSensor: Flymaple now polls sensors at 800Hz. More changes to
come...
2013-09-27 15:45:57 +10:00
Mike McCauley
29bced05bd AP_InertialSensor: Added examples/Flymaple for testing 2013-09-27 15:45:54 +10:00
Mike McCauley
d11f952ef1 AP_InertialSensor: Formalise and document Flymaple Gyro scaling factor 2013-09-27 15:45:52 +10:00
Mike McCauley
db2b7ed4e3 AP_HAL_FLYMAPLE: UARTDriver libmaple internal ring buffers enlarge on demand 2013-09-27 15:45:49 +10:00
Mike McCauley
adfcdca074 AP_HAL_FLYMAPLE: Sensor reading improvements
I2C speed increased to 400kHz
Accelerometer 8g max, Normal power, 800Hz bandwidth
Gyros: 2000 degrees/sec, 256Hz LPF, 8kHz internal sample rate
2013-09-27 15:45:47 +10:00
Andrew Tridgell
06e29536f1 PX4: added auth command to the build 2013-09-27 15:44:31 +10:00
Randy Mackay
c3f7146f03 Copter: improve check of frame type to catch spelling errors 2013-09-27 14:35:16 +09:00
Randy Mackay
e295d4555d Copter: send frame type in mavlink heartbeat msg 2013-09-27 14:35:13 +09:00
Randy Mackay
f7ba0438ef InertialSensor: remove DMP
this saves 3K of flash
2013-09-27 10:43:33 +09:00
Randy Mackay
a53d28e018 Copter: remove support for dmp ahrs 2013-09-27 10:42:49 +09:00
Randy Mackay
8306d74da0 AHRS: remove DMP as an ahrs 2013-09-27 10:42:46 +09:00
Andrew Tridgell
650ff258db Plane: update for new INS API 2013-09-27 10:49:00 +10:00
Andrew Tridgell
394645560a Copter: update for new INS API 2013-09-27 10:49:00 +10:00
Andrew Tridgell
0518fd5d56 Rover: update for new INS API 2013-09-27 10:49:00 +10:00
Andrew Tridgell
14636e1cdf AP_InertialSensor: changed num_samples_available() to sample_available()
this makes the interface clearer. It also fixes a 3D accel cal bug.
2013-09-27 10:49:00 +10:00
Andrew Tridgell
566eaf7d41 Copter: fixed flymaple build with copterleds 2013-09-27 10:32:22 +10:00
Andrew Tridgell
99da118faa Filter: added in Leonards LowPassFilter2p filter
this is a backport from PX4
2013-09-26 22:38:32 +10:00
Andrew Tridgell
3c86fceed9 AP_Progmem: removed SMACCM support 2013-09-26 22:38:32 +10:00
Andrew Tridgell
2469dcf8e6 AP_Notify: removed SMACCM support 2013-09-26 22:38:31 +10:00
Andrew Tridgell
1ec5cbed81 AP_InertialSensor: removed SMACCM support 2013-09-26 22:38:31 +10:00
Andrew Tridgell
60f3a8b6cf AP_HAL: removed SMACCM support 2013-09-26 22:38:31 +10:00
Andrew Tridgell
3f0f8dfa62 AP_Compass: removed SMACCM support 2013-09-26 22:38:31 +10:00
Andrew Tridgell
13cdc56a5a AP_Common: removed SMACCM support 2013-09-26 22:38:31 +10:00
Andrew Tridgell
a0b6481dfd Copter: removed SMACCM support 2013-09-26 22:38:31 +10:00
Andrew Tridgell
58f9349af4 HAL_SMACCM: removed SMACCM HAL port
this port is no longer maintained or used. Pat asked me to remove it
2013-09-26 22:38:31 +10:00
Randy Mackay
5cac1b3c92 Copter: ignore aux switch during radio failsafe 2013-09-26 20:19:39 +09:00
Randy Mackay
fd2e87b710 Copter: disable tuning during radio failsafe 2013-09-26 20:05:25 +09:00
Randy Mackay
6b97994dcd Copter: ignore switch changes during transitions in or out of radio failsafe 2013-09-26 19:37:22 +09:00
Randy Mackay
7cc8a9038f Copter: move failsafe flags into structure 2013-09-26 19:37:15 +09:00
Randy Mackay
f144de21b4 AC_Fence: fix example sketch 2013-09-26 17:52:13 +09:00
Randy Mackay
6f337fe1e8 AutoTest: increase timeout for GPS glitch test 2013-09-26 14:43:04 +09:00
Randy Mackay
e5c5084e76 InertialNav: fix example sketch 2013-09-26 14:40:32 +09:00
Randy Mackay
02f7310689 Copter: make it easier for Arduino users to easily reduce flash space by turning off features 2013-09-26 13:15:30 +09:00
Andrew Tridgell
081a481a7c build: added flymaple-upload target 2013-09-25 15:46:55 +10:00
Mike McCauley
708c603420 AP_HAL_FLYMAPLE: UARTDriver now has correct implementation of txspace that looks at HardwareSerial ring buffer 2013-09-25 15:46:07 +10:00
Mike McCauley
e4b5d0a3d6 AP_InertialSensor: Final Flymaple orientation fixes 2013-09-25 15:46:07 +10:00
Mike McCauley
276068356e AP_InertialSensor: Further Flymaple orientation fixes 2013-09-25 15:46:07 +10:00
Mike McCauley
06478bde52 AP_HAL_FLYMAPLE: Console is now a thin wrapper around uartA, consistent with AVR 2013-09-25 15:46:07 +10:00
Mike McCauley
b02dbca9d4 AP_InertialSensor: fix orientation of Flymaple sensors 2013-09-25 15:46:07 +10:00
Mike McCauley
4cd952446d AP_HAL_FLYMAPLE: added documentation about safety of noInterrupts()/interrupts() 2013-09-25 15:46:07 +10:00
Randy Mackay
ab71f2e535 AP_Camera: remove unused methods
throttle_pic, distance_pic and transistor_pic were not defined nor
called
2013-09-24 23:25:54 +09:00
Randy Mackay
2c96ed3f22 Copter: disable optical flow
This at least allows ArduCopter to be compiled with arduino until we
find larger flash savings
2013-09-24 21:59:19 +09:00
Randy Mackay
589200042d Copter: remove declination setup from CLI 2013-09-24 21:45:54 +09:00
Randy Mackay
09756e16b7 Copter: remove battery setup from CLI 2013-09-24 21:45:54 +09:00
Randy Mackay
3bf1352701 Copter: shorten motor tests printf 2013-09-24 21:45:53 +09:00
Randy Mackay
8cce837f77 Copter: remove accel level from cli
the accel command should always be used in place of level
2013-09-24 21:45:52 +09:00
Randy Mackay
77b5cb5d3f Copter: correct typo in error #define 2013-09-24 21:45:52 +09:00
Randy Mackay
8a886c0e19 Copter: remove err msg for undefined throttle mode
Printing errors like this to the console are unlikely to ever be seen
2013-09-24 21:45:51 +09:00
Randy Mackay
284aa2217f Copter: remove old comments 2013-09-24 21:45:43 +09:00