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
Andrew Tridgell
1cb64dacf9
AP_Scheduler: expose debug variable
12 years ago
Andrew Tridgell
7ddadcf34e
AP_Scheduler: added new scheduler library
...
this will be used for main loop control
12 years ago
Andrew Tridgell
30b50a858d
Filter: fixed a warning on PX4
12 years ago
Andrew Tridgell
6142eac4b4
AP_InertialSensor: simplify get_delta_time() API
...
use a single float return rather than two APIs.
This also changes the MPU6k driver to match the new 2.9 behaviour of
using the MPU6k sample timing instead of micros()
12 years ago
Andrew Tridgell
7c7a215934
HAL_PX4: fixes for new Scheduler API
12 years ago
Andrew Tridgell
6aecdb3d7d
HAL_AVR: tweak the default serial buffer sizes
...
this reduces memory fragmentation a lot, saving memory
12 years ago
Andrew Tridgell
0cb8192861
HAL_AVR: ensure we can handle a 256 size buffer
12 years ago