Commit Graph

31 Commits

Author SHA1 Message Date
Andrew Tridgell af27101ffe px4io: changed adc_measure() to return 0xffff on error, and lower timeout
the timeout of 1ms was far too long, and could impact flight
performance

Returning 0xffff on error matches the FMU code, and allows bad values
to be discarded
2013-05-04 19:18:51 +10:00
Andrew Tridgell 44015d6915 px4io: return raw ADC value for current
we don't know how to scale it as we have no info on what sensor is
attached. As we are returning a uint16_t it is better to let the FMU
sort it out or we'll just lose precision.
2013-05-04 19:18:47 +10:00
Andrew Tridgell ff7712ca3e pwm: added -m option
this allows setting of the channel mask directly, which is useful for
testing
2013-05-04 19:18:20 +10:00
Andrew Tridgell fc572906b7 px4io: ensure upload device is closed after use
this should release it for PWM use
2013-05-04 19:18:11 +10:00
Andrew Tridgell 421253e6db px4io: allow set of output rates above 400 and below 50
let the IO board decide if the rate is reasonable, and limit it there

this fixes the rates on ArduCopter, which try for 490
2013-05-04 19:17:54 +10:00
Andrew Tridgell d0122dccfc hmc5883: fixed use of onboard I2C compass 2013-05-04 18:44:37 +10:00
px4dev 8d3a738b70 Remove some trash files. 2013-04-28 13:00:32 -07:00
Lorenz Meier dc2c3cad3e Re-enabled mixer 2013-04-28 14:59:42 +02:00
Lorenz Meier 0eafc2ade1 IO compiling 2013-04-28 14:54:44 +02:00
Lorenz Meier 6479ebcc73 General app cleanup for FMU 2013-04-28 14:54:06 +02:00
Lorenz Meier 25612cebc2 Cleaned up NuttX appconfig, added examples to config 2013-04-28 10:37:07 +02:00
Lorenz Meier 13fc670386 Moved last libs, drivers and headers, cleaned up IO build 2013-04-28 09:54:11 +02:00
Lorenz Meier f57439b90e Moved all drivers to new world, PX4IO completely in new world 2013-04-28 01:30:14 +02:00
Lorenz Meier 8040b9b96e Allowed for onboard bus to be not present 2013-04-27 19:51:06 +02:00
Lorenz Meier 7ac617242d docs fix 2013-04-27 19:27:24 +02:00
Lorenz Meier ee498a9d7c Made HMC bus-agnostic 2013-04-27 19:27:15 +02:00
Lorenz Meier 7ca82801bd Moved multirotor controllers 2013-04-27 14:42:12 +02:00
Lorenz Meier 988bf1eb0a Moved all fixed wing controllers to new world 2013-04-27 14:28:47 +02:00
Lorenz Meier 5085023796 Merge branch 'master' of github.com:PX4/Firmware into public-export-build 2013-04-27 14:17:01 +02:00
Lorenz Meier 76a30108d2 Moved James Gopperts EKF to the new world 2013-04-27 14:16:34 +02:00
Lorenz Meier 5974c37abb Moved the bulk of sensor drivers to the new world 2013-04-27 14:06:23 +02:00
Lorenz Meier c89f46f590 Moved sensors app to new world 2013-04-27 13:16:24 +02:00
Lorenz Meier e6ed8268ee Moved position_estimator_mc, px4io driver and sdlog app to new style build 2013-04-27 12:59:47 +02:00
Lorenz Meier 574e765321 Moved all system commands to the new world 2013-04-27 11:50:10 +02:00
Lorenz Meier f924e312fa Merged 2013-04-27 11:47:42 +02:00
Lorenz Meier d8a3454538 Cut over MAVLink to new build system 2013-04-27 11:45:46 +02:00
px4dev 4748bba35a Move the 'tests' app to the new world. 2013-04-26 20:02:12 -07:00
px4dev 01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00
px4dev 6b215be739 Use indirect calls for all commands (echo, make, etc.)
Replace our dependency on xxd with a toolchain call, and implement the backend using objcopy evil for the default toolchain.
2013-02-23 22:01:00 -08:00
px4dev d24599931a APP -> MODULE
remove as many duplicate slashes, etc. as seems practical
2013-02-23 22:01:00 -08:00
px4dev 8d7621079a Checkpoint: application framework makefile done 2013-02-23 22:00:59 -08:00