Andrew Tridgell
8733391315
Plane: call airspeed MAVLink logging function
2013-08-30 13:01:34 +10:00
Andrew Tridgell
5cec9b65c9
Plane: constrain calibration to roll/pitch limits
2013-08-30 13:01:34 +10:00
Andrew Tridgell
0c06dff2db
AP_Airspeed: constrain internal state of calibration code
2013-08-30 13:01:34 +10:00
Andrew Tridgell
3916a07dcf
AP_Airspeed: added logging of airspeed calibration internals
2013-08-30 13:01:34 +10:00
Andrew Tridgell
ce3fb290f1
AP_Airspeed: fixed initialisation of auto-calibration
2013-08-30 13:01:34 +10:00
Andrew Tridgell
dd747505c5
DataFlash: report when DataFlash write fails
2013-08-30 13:01:34 +10:00
Andrew Tridgell
78e85b36a4
PX4: moved MAXOPTIMIZATION change to APM build system
...
simpler than patching Firmware
2013-08-30 13:01:34 +10:00
Andrew Tridgell
395739dded
AP_Baro: simplify PX4 driver
...
we can now rely on queueing in NuttX driver
2013-08-30 13:01:34 +10:00
Andrew Tridgell
1ff669eb97
AP_Compass: simplify PX4 compass driver
...
we can now rely on queueing in the NuttX driver
2013-08-30 13:01:34 +10:00
Andrew Tridgell
4c752e4a94
AP_Math: simplify rotations test code
2013-08-30 13:01:34 +10:00
Andrew Tridgell
4662858077
DataFlash: we don't need AP_AHRS.h
2013-08-30 13:01:34 +10:00
Andrew Tridgell
e2b0e07973
AP_Math: removed unused matrix rotation code
...
we only need to rotate vectors
2013-08-30 13:01:34 +10:00
Andrew Tridgell
28fcb1666e
PX4: fixed build for change in library layout
2013-08-30 13:01:34 +10:00
Andrew Tridgell
c6e29c9519
GCS_MAVLink: update to latest upstream mavlink headers
2013-08-30 13:01:34 +10:00
Andrew Tridgell
8efcf05835
PX4: start nsh on USB if SD card not inserted
...
useful for debugging
2013-08-30 13:01:34 +10:00
Andrew Tridgell
f48acffc52
PX4: always rebuild module.mk
...
this allows for switching build between different vehicle types
2013-08-30 13:01:34 +10:00
Andrew Tridgell
699e188110
build: only use a build in $SKETCHBOOK for px4
...
for others it is more convenient to use /tmp, as quite a few scripts
rely on this
2013-08-30 13:01:34 +10:00
Andrew Tridgell
a295a01bbc
AP_Math: added missing 90 degree rotations
...
this ensures we can handle all 90 degree rotations of the compass and
main board. A test in examples/rotations shows that we have them all.
2013-08-30 13:01:33 +10:00
Andrew Tridgell
c6c59174b3
AP_Airspeed: return when airspeed init fails
2013-08-30 13:01:33 +10:00
Andrew Tridgell
1230df8b0d
PX4: try to start meas_airspeed driver
2013-08-30 13:01:33 +10:00
Andrew Tridgell
5607c89df0
AP_Baro: use fabs() not abs()
...
thanks to Randy for spotting this
2013-08-30 13:01:33 +10:00
Andrew Tridgell
31e1b7fcf6
AP_Airspeed: list MEAS airspeed in ARSPD_PIN docs
2013-08-30 13:01:33 +10:00
Andrew Tridgell
01e9122850
PX4: disable sensors module
...
this isn't needed for APM, and fails to build
2013-08-30 13:01:33 +10:00
Andrew Tridgell
9b3c54fc39
PX4: ensure storage buffer is DMA aligned
...
this helps for boards which use DMA for FAT IO
2013-08-30 13:01:33 +10:00
Andrew Tridgell
ad445379b5
PX4: speed up the build a lot
...
this avoids removal of built objects and dependencies by allowing the
PX4 build system to put all objects and dependencies in the per-board
build directories
2013-08-30 13:01:33 +10:00
Andrew Tridgell
34af601551
Build: move BUILDROOT inside SKETCHBOOK
...
this allows for relative paths in the px4 build
2013-08-30 13:01:33 +10:00
Andrew Tridgell
16b5f923ae
PX4: remove the use of symlinks in PX4 build
...
this should make it more windows friendly
2013-08-30 13:01:33 +10:00
Andrew Tridgell
f88bb5638b
PX4: changes to startup after stacksize fix
...
we can redirect to FAT fs again, and remove the sleep lines
2013-08-30 13:01:33 +10:00
Andrew Tridgell
e5ad9dbd15
AP_InertialSensor: switch PX4 driver to fixed time per sample model
...
this makes the driver much simpler, and does away with the need for an
accumulate function
2013-08-30 13:01:33 +10:00
Andrew Tridgell
1137de1002
PX4: make upload targets depend on build targets
...
this allows for "make px4-v1-upload" for faster development cycles
2013-08-30 13:01:33 +10:00
Andrew Tridgell
38fe89d661
AP_InertialSensor: switch to non-averaging system for PX4 IMUs
...
always use the latest value, based on a lowpass filter in the driver
2013-08-30 13:01:33 +10:00
Andrew Tridgell
02b8d3497e
PX4: avoid writing px4io update log to SD card
...
this seems to be one of the causes of lockups of the FMU
2013-08-30 13:01:33 +10:00
Andrew Tridgell
2340bb6220
PX4: use a minimum transmit buffer for UARTs of 512 bytes
...
this avoids writes stalling on the GPS port. We can't afford this
memory on APM2, but we can on PX4, and it means that while the GPS is
blocking at startup it doesn't cause any scheduler slips
2013-08-30 13:01:33 +10:00
Andrew Tridgell
2e75dd50be
PX4: added a sleep before probing for PX4IO update
...
this makes boot more reliable for some unknown reason
2013-08-30 13:01:33 +10:00
Andrew Tridgell
50cc6b5445
PX4: implement APM/nostart in rcS
...
this keeps the same shell on nostart, avoiding relying on nshterm
2013-08-30 13:01:33 +10:00
Andrew Tridgell
1c1e7ed414
PX4: changed to new names for board modules
2013-08-30 13:01:33 +10:00
Andrew Tridgell
84b21eed78
PX4: fixed test logic for console
2013-08-30 13:01:33 +10:00
Andrew Tridgell
1853223f45
PX4: hide the mkdir error on boot
2013-08-30 13:01:33 +10:00
Andrew Tridgell
e5f19e314d
PX4: systemreset() now takes a boolean argument
...
this chooses whether to stay in the bootloader
2013-08-30 13:01:33 +10:00
Andrew Tridgell
372c424605
PX4: added mathlib/math/filter module
...
needed for (unused!) l3gd20 driver
2013-08-30 13:01:33 +10:00
Andrew Tridgell
927bbc6527
PX4: enable nshterm and math/filter on FMUv2
2013-08-30 13:01:33 +10:00
Andrew Tridgell
46c5d18585
AP_InertialSensor: disable averaging on FMUv2
...
the new filter from Leonard means we shouldn't average values, and
instead just use the last value
2013-08-30 13:01:33 +10:00
Andrew Tridgell
a0af499aa5
PX4: added nshterm command
2013-08-30 13:01:33 +10:00
Andrew Tridgell
200d310843
PX4: better error handling in startup script
2013-08-30 13:01:33 +10:00
Julian Oes
c3b27629ec
AP_InertialSensor: run PX4 FMUv2 at 800Hz
...
this gives much better noise suppression
2013-08-30 13:01:33 +10:00
Andrew Tridgell
f45e0fe737
PX4: don't need hil module
2013-08-30 13:01:32 +10:00
Andrew Tridgell
0e0afbd756
PX4: allow NuttX tree to be in directory above Firmware tree
2013-08-30 13:01:32 +10:00
Andrew Tridgell
4794d90bbb
HAL_PX4: support up to 16 analog channels
2013-08-30 13:01:32 +10:00
Julian Oes
3b9d71ae8a
PX4: Changed the startup script to have mavlink on USART2 / Serial 1 on FMUv2
2013-08-30 13:01:32 +10:00
Andrew Tridgell
16a3f0d47b
PX4: only put one IO firmware in ROMFS
...
saves a bit of space. This also fixes makefile based upload
2013-08-30 13:01:32 +10:00