Andrew Tridgell
6836a986f3
PeriodicProcess: switch to SREG = oldSREG pattern for interrupt mask/restore
12 years ago
Andrew Tridgell
f843705da3
INS: switch to SREG = oldSREG pattern for interrupt mask/restore
12 years ago
Andrew Tridgell
e331634bc5
AP_Baro: switch to SREG = oldSREG pattern for interrupt mask/restore
12 years ago
Andrew Tridgell
fc63087cb8
AnalogSource: switch to SREG = oldSREG pattern for interrupt mask/restore
12 years ago
Andrew Tridgell
c1a02e49a0
ADC: switch to SREG = oldSREG pattern for interrupt mask/restore
12 years ago
Andrew Tridgell
ccb1f1722e
SITL: fixed a interrupt recursion bug
...
this can be triggered by the timer scheduler re-enabling interrupts
12 years ago
Andrew Tridgell
3c88b0d204
AP_Param: fixed Vector3f elements with 16 character names
12 years ago
Andrew Tridgell
b0713ba412
AP_Param: support up to 16 character parameter names
...
MAVLink allows for 16 chars, with no null termination if all 16 are
used
12 years ago
Andrew Tridgell
a7e537d6c0
INS: set the acceptable calibration error equal on all axes
12 years ago
Andrew Tridgell
40fc0feaf9
INS: show calibration values on failure
...
this will help debug bad calibrations
12 years ago
Andrew Tridgell
85e050f16c
INS: get check for send_msg the right way around!
...
I broke this in my previous commit
12 years ago
Andrew Tridgell
fd3993287d
INS: disable accel calibration on the 1280
...
this would put us well over 128k in sketch size
12 years ago
Andrew Tridgell
9c811671f1
INS: make calibrate_accel() return a bool
...
this will allow APM to auto set MANUAL_LEVEL to 1
12 years ago
Andrew Tridgell
152c12c283
INS: fixed raw accel offset for APM1
...
we now get reasonable offset values
12 years ago
Andrew Tridgell
3776e6108f
INS: use vector subtraction to make code clearer
12 years ago
rmackay9
8ccac5da3d
AP_InertialSensor: correct typo to datasheet's filename
12 years ago
Andrew Tridgell
5a214acca3
AHRS: changed the docs for AHRS_YAW_P and AHRS_RP_P
...
a user had set AHRS_YAW_P to zero. Make it clear that zero is not a
good value. MichaelO will change MP to give a warning for a value
below 0.1
12 years ago
Andrew Tridgell
17c115d2aa
SITL: don't define __AVR_ATmega2560__ on desktop build
...
this allows us to properly separate the desktop build in the code
12 years ago
Andrew Tridgell
7181780d3a
DigitalWriteFast: added README about license and author
12 years ago
Andrew Tridgell
8311062610
AP_OpticalFlow: fixed some memory cast warnings
12 years ago
Andrew Tridgell
10b8030e62
AP_Limits: fixed some memory cast warnings
12 years ago
Andrew Tridgell
fe23d27904
SITL: added SREG declaration
12 years ago
Andrew Tridgell
9e9c08b6d7
DigitalWriteFast: fixed memory cast to work on SITL build
12 years ago
Andrew Tridgell
8d1905a40b
APM: change WIND direction to match convention
...
Thanks to Leo Hogg for pointing this out
12 years ago
rmackay9
67fadd337d
DigitalWriteFast: first addition of lib to speed up read and writes of analog pins
12 years ago
rmackay9
957d366cca
Filter: improved low pass filter allows setting gain using time_step and cutoff freq
12 years ago
rmackay9
01dc9fbe3e
APM_RC: allow ppm sum for as few as 5 channels
12 years ago
rmackay9
47b1bc30d3
APM_RC: fix _last_update definition to resolve build error
12 years ago
John Arne Birkeland
4258490cd8
APM_RC - Interupt safe get_last_update();
12 years ago
rmackay9
73ed6c9dbf
ArduCopter, APM_RC: failsafe if PPM encoder fails to update for 2 seconds
12 years ago
Andrew Tridgell
8561f08b2f
AP_AHRS: prevent a large delta_t from affecting DCM solution
...
this should fix large changes in attitude directly after arming
ArduCopter
12 years ago
Andrew Tridgell
e9e01ae28a
SITL: fixed build with new sonar driver
12 years ago
rmackay9
4bfd3d5a29
AP_RangeFinder_MaxsonarI2CXL: fix compiler error re undefine I2c
12 years ago
rmackay9
f68523b39b
AP_RangeFinder_MaxsonarI2CXL: resolve shadowed variable compiler warning
12 years ago
Andrew Tridgell
daa4712078
AP_Compass: force I2C speed low in a couple more situations
12 years ago
Andrew Tridgell
27ff999319
I2C:: catch some more types of I2C errors for error count
12 years ago
Andrew Tridgell
8c2dadc12f
AP_Compass: print I2C error count in test sketch
12 years ago
rmackay9
321d40f73a
AP_RangeFinder: added support for MaxBotix XL I2C sonar
12 years ago
rmackay9
71a0022f34
AP_IMU: delete now that all functionality is moved to AP_InertialSensor
12 years ago
Jason Short
c848fe18a5
APM1 Dataflash update
...
My data flash would never erase, this fixed it.
12 years ago
John Arne Birkeland
97d85de361
Optimized APM_RC.InputCh() to prevent global interrupt disable each time a value is read.
12 years ago
rmackay9
50a4838879
AP_Motors, AP_RangeFinder, Filter: fixes to example sketches
12 years ago
rmackay9
56f88821e9
AP_AHRS: fix example sketch
...
AP_Airspeed: fix example sketch
AP_Baro: fix example sketch
AP_Declination: fix example sketch
AP_Math: fix example sketch
12 years ago
rmackay9
41489f34f9
AC_PID: fixed example sketch's compile errors
12 years ago
rmackay9
6bbf66697b
AP_Mount: resolve compiler warning about unused mount_open variable
12 years ago
rmackay9
b13264c884
AP_InertialNav: reanme AP_InertialNav and ThirdOrderCompFilter classes to resolve desktop build compiler errors
12 years ago
rmackay9
61dd405910
AP_InertialNav: removed IMU.h to fix compiler error from example sketch
12 years ago
rmackay9
5f34d41b59
ThirdOrderCompFilter3D: fix compiler error
12 years ago
rmackay9
1c7118a2d1
AP_Baro: added get_last_update which returns the time the barometer sensor was last read
12 years ago
rmackay9
d9b4407e64
AP_InertialSensor: changes after review with Tridge.
...
sanity checking added to accelerometer calibration routine.
user feedback is sent using gcs_send_text_fmt instead of Serial.printf.
moved ins parameters to new eeprom number to avoid conflicts with older parameters.
other small changes including renaming of functions and parameters.
12 years ago