Andrew Tridgell
52f560a4c2
HAL_PX4: enabled AnalogIn driver
12 years ago
Andrew Tridgell
ed94292c25
HAL_PX4: start adc driver in rc.APM
12 years ago
Andrew Tridgell
e42cf918fd
HAL_PX4: added AnalogIn driver
...
this allows airspeed to work on a PX4
12 years ago
Andrew Tridgell
39e28d48c2
HAL_PX4: switched scheduler to use a pthread
...
this allows the timer tasks to access file descriptors in the main APM
task, which makes writing PX4 device drivers much easier
12 years ago
Andrew Tridgell
ffb2924dd4
HAL_PX4: added APM startup script
12 years ago
Andrew Tridgell
6a5421a361
AP_Baro: ask for maximum poll rate for PX4
12 years ago
Andrew Tridgell
74f7b0f218
AP_Baro: added accumulate method to PX4 driver, and fixed scaling
12 years ago
Andrew Tridgell
0655b1a925
HAL_PX4: fixed thread_running on failed startup
12 years ago
Andrew Tridgell
16d72ca160
AP_InertialSensor: update PX4 driver to use read() method
12 years ago
Andrew Tridgell
6119201307
AP_AHRS: ensure compass is non-NULL for set_board_orientation()
12 years ago
Andrew Tridgell
7294d9ef35
AP_Menu: fixed build with older compilers
...
avoids relocation truncated to fit error
12 years ago
Andrew Tridgell
76092eb590
AP_HAL: remove unused peek() interface from UART drivers
...
this is a bit tricky to implement on some platforms, and is unused
anyway
12 years ago
Andrew Tridgell
e852d6300f
AP_HAL_AVR: fixed multi-channel RC output
12 years ago
James Bielman
4fa7bb1486
Add AVR compatibility header for missing math.h definitions.
...
- Define float versions of math functions to the double versions
on AVR (eg. #define sinf sin).
- These macros appear to be missing in older versions of avr-libs.
- Include AP_Math.h rather than math.h to get these definitions.
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
Andrew Tridgell
d00b06d449
Filter: added a butter filter to example
12 years ago
Andrew Tridgell
befc6b7b9b
Filter: fixed butter filter build on px4
12 years ago
Andrew Tridgell
2ce18f588b
AP_HAL: added AP_HAL_Macros.h
...
this adds a define for constexpr, allowing code to build either with
or without -std=gnu++0x
12 years ago
Pat Hickey
53ea7c564e
Butter filter: needs header guards
12 years ago
Jonathan Challinger
c66571b87d
Filter: added 2nd-order butterworth filters.
12 years ago
Andrew Tridgell
c6b006cf5f
DataFlash: move log reading logic into common library
12 years ago
Andrew Tridgell
bd9c61562f
HAL_PX4: added -d command line option to app
...
allows control of serial device
12 years ago
Andrew Tridgell
64a8a8e4c9
HAL_PX4: fixed using mavlink on the console
...
this disables the ONLCR termios flag, which was injecting extra
carriage returns in the output
12 years ago
Andrew Tridgell
4c4b6afaff
HAL_AVR_SITL: fixed log dump
...
the sockets need to default blocking, and only be non-blocking per
call
fixes issue #9
12 years ago
Andrew Tridgell
4609114a81
HAL_Empty: fixed example build
12 years ago
Andrew Tridgell
a3556c8cf8
HAL_AVR: fixed example build
12 years ago
Andrew Tridgell
d844a1ba3c
AP_InertialSensor: fixed PX4 example build
12 years ago
Andrew Tridgell
98a55bf2a1
AP_Limits: removed old declaration
12 years ago
Randy Mackay
109b1069d8
AP_InertialNav: added constraint to how large local accelerometer offset corrections can become
12 years ago
Andrew Tridgell
f683cff9e2
DataFlash: speed up SPI transfers in DataFlash_APM1
12 years ago
Andrew Tridgell
6bd361b9cd
OpticalFlow: make surface_quality uint8_t
12 years ago
Andrew Tridgell
f644a356c9
AP_AHRS: document more rotation combinations
12 years ago
Andrew Tridgell
38062bbb6d
AP_Math: support some more rotation combinations
12 years ago
Andrew Tridgell
848fc3e32d
AP_AHRS: added AHRS_ORIENTATION parameter
12 years ago
Andrew Tridgell
d7996acdf7
AP_InertialSensor: added set_board_orientation() method
12 years ago
Andrew Tridgell
60a4447a86
AP_Compass: added set_board_orientation() method
12 years ago
Andrew Tridgell
8015f0f626
DataFlash: update SITL implementaion for new API
12 years ago
Andrew Tridgell
9ef1f8509b
DataFlash: update test code for new macros
12 years ago
Andrew Tridgell
83b074dd87
DataFlash: moved macros into common header
12 years ago
Andrew Tridgell
f3005c4267
DataFlash: use bulk SPI transfer() method
...
this reduces the per-byte overhead of flash logging to about 3.9 usec
12 years ago
Andrew Tridgell
a06202e750
HAL_SMACCM: added bulk SPI transfer() method
12 years ago
Andrew Tridgell
3dc0a990a1
HAL_Empty: added bulk SPI transfer() method
12 years ago
Andrew Tridgell
b5b7fd2f9a
HAL_AVR: added bulk transfer() method
...
this is quite a lot faster than the byte at a time method
12 years ago
Andrew Tridgell
6415f00ce3
AP_HAL: added a bulk transfer() method
...
very useful for dataflash
12 years ago
Pat Hickey
af8f576c67
AP_HAL_SMACCM: add LICENSE file
12 years ago
Pat Hickey
3d0a4394b6
DataFlash Empty: conform to blockread/write virtual if
12 years ago
Andrew Tridgell
7274d847f8
DataFlash: update for new block API
12 years ago
Andrew Tridgell
28a0ba6c4a
DataFlash: added block based dataflash writes
...
these are about 10x faster than the old writes
12 years ago
Andrew Tridgell
252d11ccfa
AP_GPS: initialise _step to zero in all drivers
...
new() does not zero-fill memory
12 years ago
Andrew Tridgell
64734dc51c
AP_Scheduler: show scheduler task slips
...
this is when a task doesn't run at the desired rate
12 years ago