Andrew Tridgell
d83dbb38b4
AP_ADC: updates for AP_HAL::MemberProc
12 years ago
Andrew Tridgell
30b6b23b10
AP_ADC: enable APM1 ADC on Linux
12 years ago
Andrew Tridgell
6134d9d0d7
AP_ADC: use new scheduler API
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
dc97a8eff7
AP_ADC: fixed license text
...
we are on GPLv3 now
12 years ago
Andrew Tridgell
90cf1b0386
AP_ADC: removed unused setHIL method
12 years ago
Andrew Tridgell
5667f5d817
AP_ADC: fixed APM1 HIL_SENSORS Ch6() return
12 years ago
Michael Oborne
541fa13291
cleanup comments
12 years ago
Michael Oborne
2160bf135d
fix sitl segfault in hil
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
James Bielman
d84ba8ef59
Use HAL suspend/resume timer procs rather than atomic.
...
- Preparation for removing begin/end atomic.
12 years ago
Pat Hickey
a556a95565
AP_ADC: uses new semaphore interface
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
d6b00bd848
AP_ADC: fixed bool problem on ARM
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Andrew Tridgell
b673320f72
ADC: fixed example warnings
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Pat Hickey
992de8c2b9
AP_ADC_ADS7844: changed to use spidevicedriver transaction
12 years ago
Pat Hickey
b43b003777
AP_ADC: fix typo in test
12 years ago
Pat Hickey
d5a46ca1e3
AP_ADC: uses scheduler panic
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Pat Hickey
09c14f3807
AP_ADC: more robust semaphores
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
668caa4a2e
Fix calls to AP_HAL::Scheduler::register_timer_process
12 years ago
Andrew Tridgell
53105efbcd
HAL_AVR: more uart0 -> console changes
12 years ago
Pat Hickey
30deb76ea3
AP_ADC: ported to AP_HAL
...
AP_ADC_test run on bench with APM1, looks ok.
12 years ago
Michael Oborne
1a3a7d173a
AP remove debug include
12 years ago
Michael Oborne
ed61ef61ed
AP: fix ap hil.
12 years ago
Andrew Tridgell
c1a02e49a0
ADC: switch to SREG = oldSREG pattern for interrupt mask/restore
12 years ago
Pat Hickey
8a6017ea48
AP_ADC_test: fix build of test regressions.
...
I'm not convinced I was able to make the timing test meaningful.
Someone should please lookinto this.
13 years ago
rmackay9
6ea5c21f7c
AP_ADC: added num_samples_available to allow main loop to be synced with arrival of new sensor data for Oilpan.
13 years ago
rmackay9
0a6219695b
AP_InertialSensor: changed read of sensor from MPU6000 to happen immediately
...
This reduces the delay between when data arrives and when it is used
by up to 1ms.
Added num_samples_available method to all InertialSensors to allow
main loop timing to be synced with sensors.
13 years ago
uncrustify
fc11f7e3f0
uncrustify libraries/AP_ADC/AP_ADC_HIL.h
13 years ago
uncrustify
f302ee3d7f
uncrustify libraries/AP_ADC/AP_ADC.h
13 years ago
uncrustify
44941072dc
uncrustify libraries/AP_ADC/AP_ADC_ADS7844.h
13 years ago
uncrustify
149e222e6a
uncrustify libraries/AP_ADC/AP_ADC_HIL.cpp
13 years ago
uncrustify
7b41104d7e
uncrustify libraries/AP_ADC/AP_ADC.cpp
13 years ago
uncrustify
79b370cf1d
uncrustify libraries/AP_ADC/AP_ADC_ADS7844.cpp
13 years ago
uncrustify
796d23277c
uncrustify libraries/AP_ADC/examples/AP_ADC_test/AP_ADC_test.pde
13 years ago
Andrew Tridgell
d692a932ca
ADC: added suspend/resume on init
13 years ago
Andrew Tridgell
9b95d2060a
ADC: minor fix to the ADC Ch6() code
...
we don't need to add count any more, as floating point maths doesn't
need to round up
13 years ago
Andrew Tridgell
f9394f8068
ADC: removed the ADC level accel smoothing
...
the quaternion code does a better job of handling this noise than this
filter does
13 years ago
Andrew Tridgell
a0a360f955
ADC: use floats for ADC averaging
...
this costs almost nothing and improved accel/gyro calibration
13 years ago
Andrew Tridgell
c80ec9a55c
AP_ADC: added new_data_available() interface
...
returns true if more samples are available
13 years ago
rmackay9
c444cdb3f4
AP_ADC - removed small compiler warning
13 years ago
Andrew Tridgell
79d622939a
ADC: on channel overflow we should not zero last_ch6_micros
...
this happens every 64 seconds because of unused channels on the
ADC. Zeroing this creates a bad delta_t value for the DCM code.
13 years ago
Randy Mackay
cf25bbfa74
AP_ADC library - tiny fix to make example sketch work after some changes to AP_PeriodicProcess library
13 years ago
Randy Mackay
ed19c25a97
Arduino 1.0 - changed all #includes of "WProgram.h", "wiring.h" and "WConstants.h to "Arduino.h".
...
Modified FastSerial's write function to return size_t (number of bytes written).
13 years ago
Jason Short
94e7ba8df2
Removed Gyro filter, In the end it doesn't help and I think it could actually hurt gyro integration.
13 years ago