28679 Commits

Author SHA1 Message Date
Lorenz Meier
8c6abe717d Moved BLCTRL driver to new world 2013-05-05 11:24:31 +02:00
Andrew Tridgell
5b75519925 px4io: handle errors from adc_measure()
don't update the voltage/current values on error
2013-05-04 19:18:58 +10:00
Andrew Tridgell
d7e04a3619 px4io: fixed voltage/current output and add discharged_mah calculation
this integrates the current over time to calculate discharged_mah, and
allows the scaling of the current and the bias to be set with the
px4io command
2013-05-04 19:18:55 +10:00
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
e67022f874 Serial interface for IOv2 2013-04-28 18:14:46 -07:00
px4dev
8f7200e011 Frame up the configuration for the serial interface on IOv2 2013-04-28 13:51:33 -07:00
px4dev
c6b7eb1224 Remove obsoleted file. 2013-04-28 13:00:49 -07:00
px4dev
8d3a738b70 Remove some trash files. 2013-04-28 13:00:32 -07:00
Lorenz Meier
e6b287fbfc Merge branch 'public-export-build' into fmuv2_bringup_io2 2013-04-28 15:26:05 +02:00
Lorenz Meier
dc2c3cad3e Re-enabled mixer 2013-04-28 14:59:42 +02:00
Lorenz Meier
a1503a8dd7 Merge branch 'public-export-build' into fmuv2_bringup 2013-04-28 14:54:57 +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
1df5e98aa5 XXX: WIP: Disabled mixer on IOv2 due to CXX compile issue 2013-04-28 14:50:05 +02:00
Lorenz Meier
6aefe5fddf Merged export-build 2013-04-28 10:40:00 +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
d07631d056 Merge branch 'public-export-build' into fmuv2_bringup 2013-04-28 01:30:46 +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
81df6b1eda Merge branch 'public-export-build' into fmuv2_bringup 2013-04-27 19:53:21 +02:00
Lorenz Meier
8040b9b96e Allowed for onboard bus to be not present 2013-04-27 19:51:06 +02:00
Lorenz Meier
ae1f438a3a Merge branch 'public-export-build' into fmuv2_bringup 2013-04-27 19:31:12 +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
f1b8e4e5b3 Merged move of additional apps out of NuttX folders 2013-04-27 15:50:07 +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
852e6e2f49 Merged with upstream export-build branch 2013-04-27 13:26:25 +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
Lorenz Meier
3d6aff38da Merged 2013-04-27 11:38:06 +02:00
Lorenz Meier
2289c0bb21 Moved all system commands to new build system 2013-04-27 11:30:41 +02:00
px4dev
9d4d1ace43 Pick up the MAVlink headers from the right place 2013-04-26 23:09:38 -07:00
px4dev
1c78e365ce Merge branch 'export-build' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-04-26 20:43:07 -07:00
px4dev
4748bba35a Move the 'tests' app to the new world. 2013-04-26 20:02:12 -07:00
px4dev
a7fc1b74bf Merge branch 'export-build' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-04-26 19:25:31 -07:00
px4dev
01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00
Lorenz Meier
63136e3543 Resurrected C++ change commit, now back up to same state as master 2013-04-27 00:11:16 +02:00
Lorenz Meier
c71f4cf869 Cut over MAVLink to new style build system 2013-04-27 00:10:20 +02:00