Commit Graph

8868 Commits

Author SHA1 Message Date
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
Andrew Tridgell 272057ff6d PX4: fixed build of v1 and v2 firmwares in one build
this does a clean on each build, which is horribly inefficient. To fix
that we need to work out what state information is preventing
switching targets in one build
2013-08-30 13:01:32 +10:00
Andrew Tridgell 0f5111caeb PX4: expand pass thru mixer to 8 channels
we're not using it now, but when we do use it we want all 8 channels
2013-08-30 13:01:32 +10:00
Andrew Tridgell d9d378f74e PX4: disable mixer load for now
loading a mixer disables IO output
2013-08-30 13:01:32 +10:00
Andrew Tridgell 3bc035d83a HAL_PX4: fixed GPIO build
don't use vehicle includes
2013-08-30 13:01:32 +10:00
Andrew Tridgell ef5a42fabc AP_HAL: added RCOutput example sketch
useful for testing all 14 channels via APM API
2013-08-30 13:01:32 +10:00
Andrew Tridgell 6ce63da042 PX4: fixed airspeed build on FMUv1 2013-08-30 13:01:32 +10:00
Andrew Tridgell 2b1fcc964f AP_Math: added a quick test of floating point location accuracy
just confirming some maths ...
2013-08-30 13:01:32 +10:00
Andrew Tridgell 0f8892e3b9 PX4: enable airspeed base driver and meas driver
this uses the new airspeed parent driver from Lorenz
2013-08-30 13:01:32 +10:00
Andrew Tridgell 0f677e3a10 HAL_PX4: fixed build on FMUv1 2013-08-30 13:01:32 +10:00
Andrew Tridgell 3a6b7df23c PX4: disable bma180 driver for FMUv1 2013-08-30 13:01:32 +10:00
Andrew Tridgell 091b989b30 HAL_PX4: some GPIO functions are not available on FMUv2 yet 2013-08-30 13:01:32 +10:00
Andrew Tridgell 33aa91c0dc PX4: adapt rc.APM for FMUv1 and FMUv2 2013-08-30 13:01:32 +10:00
Andrew Tridgell 25b2cc7bf6 PX4: moved px4io-*.bin to ROMFS
this is more convenient than users having to copy it over
2013-08-30 13:01:32 +10:00
Andrew Tridgell d27b338e18 PX4: added io-v2 targets 2013-08-30 13:01:32 +10:00
Andrew Tridgell 140fc63a69 PX4: added px4-v2 targets 2013-08-30 13:01:32 +10:00
Andrew Tridgell bc6c5d0fb1 HAL_PX4: enable right FMUv2 drivers
ets_airspeed is ok, but mkblctrl driver doesn't build yet
2013-08-30 13:01:32 +10:00
Julian Oes ca29d543fd PX4: Added config file fmuv2 board, not used yet 2013-08-30 13:01:32 +10:00
Julian Oes 56e94d70e9 PX4: Adaptations to latest build changes 2013-08-30 13:01:32 +10:00
Andrew Tridgell dc97a8eff7 AP_ADC: fixed license text
we are on GPLv3 now
2013-08-30 13:01:32 +10:00
Andrew Tridgell 587fb58720 AP_AHRS: fixed license text
APM is under GPL, not LGPL
2013-08-30 13:01:32 +10:00
Andrew Tridgell 56e6e28949 Rover: fixed license text
rover is under GPL, not LGPL
2013-08-30 13:01:32 +10:00
Randy Mackay 2abb886d8f AutoTest: remove override of RTL_ALT_FINAL parameter 2013-08-30 10:35:46 +09:00
Randy Mackay 7c78936bc5 Copter: land by default at end of RTL 2013-08-30 10:34:23 +09:00
Craig3DRobotics 6568234018 Copter: Corrected SR0 & SR3 parameter descriptions 2013-08-29 12:19:04 -07:00
Randy Mackay 81074ebb3c Copter: update Y6 defaults 2013-08-28 13:05:01 +09:00
Randy Mackay 6052017b13 Copter: allow override of auto throttle mode 2013-08-28 11:45:07 +09:00