Commit Graph

113 Commits

Author SHA1 Message Date
Andrew Tridgell dad76c56c6 ets_airspeed: cope with zero value from ETS airspeed sensor 2013-07-30 10:58:47 +02:00
Lorenz Meier 57db5d912b Merge pull request #343 from PX4/meas_split
ETS airspeed and MEAS airspeed combined driver
2013-07-28 06:41:42 -07:00
Lorenz Meier 382c637fab Fixed stack sizes for airspeed drivers 2013-07-28 15:41:10 +02:00
Lorenz Meier 830dff9b6a First operational test version, provides correct readings (as far as tests were possible) 2013-07-25 11:16:25 +02:00
Lorenz Meier edcd25b5ed Airspeed sensor driver operational, needs cleanup / testing 2013-07-22 10:24:35 +02:00
Lorenz Meier 97f732ccf1 Fixed up ets driver (not tested, WIP on meas driver) 2013-07-22 09:19:59 +02:00
Lorenz Meier 8d1abf4aa4 Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB connection operation via QGC 2013-07-18 13:16:34 +02:00
Simon Wilks 7380cebb67 Cleanup comments and make them more consistent between messages. 2013-07-16 08:08:55 +02:00
Lorenz Meier 08ddbbc23e WIP on MEAS bringup, ETS airspeed sensors should be operational 2013-07-14 21:12:09 +02:00
Lorenz Meier 319eb18ab5 Merged 2013-07-14 11:32:04 +02:00
Lorenz Meier 7fe2aa2797 Fixed last few compile errors, ready for testing 2013-07-14 11:22:20 +02:00
Simon Wilks 6b631afaef Reduce the max stack size needed. 2013-07-14 00:04:17 +02:00
Simon Wilks 9aa25c5671 Remove unused code. 2013-07-13 22:18:52 +02:00
Simon Wilks fa29694f0b Whitespace cleanup 2013-07-13 01:12:47 +02:00
Simon Wilks 1ccfb623ee Merge remote-tracking branch 'upstream/master' into hott-esc 2013-07-13 01:08:45 +02:00
Simon Wilks b500cce31e Major refactor of HoTT drivers and finished sensor read implementation. 2013-07-13 01:08:06 +02:00
Lorenz Meier 3ac760978f Merge pull request #331 from jean-m-cyr/master
Don't leave RX in bind mode if console open fails
2013-07-11 08:21:48 -07:00
Jean Cyr 39b3fc8d32 Don't leave RX in bind mode on console open fail
Don't leave RX in bind mode in the unlikely eventuality that console
open fails
2013-07-11 10:36:17 -04:00
Anton Babushkin 0ccf50bca3 ubx: SVINFO parsing optimized and message rate increased, CPU consumption reduced in 6 times, ~0.3% now. 2013-07-11 18:17:36 +04:00
Anton Babushkin 4685871c83 Major ubx driver cleanup: few pages of code removed, send update only when full navigation solution received 2013-07-11 15:28:56 +04:00
Lorenz Meier 290ca1f9bf Reworked airspeed driver to keep most of it abstract 2013-07-10 21:45:59 +02:00
Lorenz Meier f87595a056 Minor initialization / formatting change 2013-07-10 20:59:35 +02:00
Lorenz Meier dc600e7d65 First stab at IOCTL driven offset handling (in PA) for all airspeed sensors. Untested 2013-07-10 20:58:47 +02:00
Jean Cyr 897b541b12 General cleanup of /dev/px4io and /dev/px4fmu
- Use distinct common symbols for px4io and px4fmu device files, and use
instead of hardcoded filenames
- Use common symbols defining px4io bits consistently between px4fmu and
px4io builds.
2013-07-09 20:37:00 -04:00
unknown 328f4f8c87 Merge remote-tracking branch 'upstream/master' 2013-07-09 20:14:34 -04:00
Lorenz Meier 71ca3ec449 Merged GPS info fixes from pigeonhunter 2013-07-09 23:16:53 +02:00
unknown c264267814 Merge remote-tracking branch 'upstream/master' 2013-07-09 17:10:49 -04:00
Lorenz Meier c3d07030dd Minor additions to fix, pushing 2013-07-09 22:56:02 +02:00
Lorenz Meier 6cbbb9b99f Hotfix for GPS driver 2013-07-09 22:46:24 +02:00
Lorenz Meier e3bb9e87e2 Hotfix for GPS: Disable unknown message classes 2013-07-09 17:36:48 +02:00
Lorenz Meier d63730419b Merge branch 'mpu6000_set_sample_rate' of https://github.com/fibr/Firmware into mpu_rate 2013-07-09 11:16:42 +02:00
Darryl Taylor dc2ef7b3c6 Some cleanup of NAV_SVINFO message handler 2013-07-09 17:07:11 +08:00
Darryl Taylor 6dff71668d Merge branch 'master' into gps_fix 2013-07-09 14:49:58 +08:00
Darryl Taylor d878d4756c Ammended UBlox driver to record SV Info, satelites_visible == satelites used. Info is recorded for all SVs, used or not. Might be useful for GPS debugging. 2013-07-09 14:25:47 +08:00
Simon Wilks a18c6cea18 Merge remote-tracking branch 'upstream/master' into hott-esc 2013-07-09 08:04:07 +02:00
unknown a9b327b1fe Merge remote-tracking branch 'upstream/master' 2013-07-08 17:13:41 -04:00
Lorenz Meier ced2871263 Merged mkblctrl 2013-07-08 20:48:30 +02:00
Jean Cyr 20103f572f Minor px4io optimization
Since this module creates the PX4IO object and that the IOCTL function
doesn't use the file descriptor parameter, there is no need to invoke
IOCTL via the filesystem since we can call it directly.
2013-07-07 20:19:27 -04:00
Jean Cyr dab652faf6 Prevent RELAY1 control via IOCTL if DSM bind feature is enabled 2013-07-07 19:04:30 -04:00
Jean Cyr 35711280df Merge remote-tracking branch 'upstream/master' 2013-07-07 14:29:30 -04:00
Lorenz Meier cf2dbdf9a1 Merge pull request #320 from PX4/integration
NuttX integration merge
2013-07-07 10:59:43 -07:00
Jean Cyr 7a6a786708 Merge remote-tracking branch 'upstream/master' 2013-07-07 09:12:42 -04:00
Simon Wilks 01255a4cec Remove the <15kmh cuttoff and report kmh via HoTT. 2013-07-07 01:10:47 +02:00
Simon Wilks 86adaeb3e8 More cleanups 2013-07-06 15:02:34 +02:00
Jean Cyr 3f9f2018e2 Support binding DSM2 and DSMX satellite receivers
The px4io bind command allows you to put a DSM satellite receiver into
bind mode. Since this feature requires that
the dsm VCC line (red wire) be cut and routed through relay one, it is
not enabled by default in order not to
affect those not using a DSM satellite receiver or wising to use relay
one for other purposes.

NOTE: Binding DSM2 satellites in 11-bit mode is not supported due to
potential bug in some DSM2 receiver streams
when in 11-bit mode. Furthermore the px4io software folds 11 bit data
down to 10 bits so there is no resolution
advantage to to 11-bit mode.

To enable the feature the RC_RL1_DSM_VCC parameter must be set to a non
zero value from the console, or using
QGroundControl:

param set RC_RL1_DSM_VCC 1

From the console you can initiate DSM bind mode with:

uorb start
param set RC_RL1_DSM_VCC 1
px4io start
px4io bind dsm2

For binding a DSMX satellite to a DSMX transmitter you would instead
use:

px4io bind dsmx

Your receiver module should start a rapid flash and you can follow the
normal binding sequence of your
transmitter.

Note: The value of parameter RC_RL1_DSM_VCC defaults to 0, so none of
this will have any effect on an unmodified
DSM receiver connection. For this feature to work, the power wire (red)
must be cut and each side connected to a
terminal on relay1 of the px4io board.

This has been tested using Spektrum as well as Hobby King 'Orange' DSM
satellite receivers.

Both px4fmu and px4io images are updated.
2013-07-05 20:51:29 -04:00
Simon Wilks 49aca1ae5b Add in missing files. 2013-07-04 08:50:34 +02:00
Simon Wilks 6d2f14e125 Refactoring of the hott telemetry driver and added functionality to read from a HoTT sensor. 2013-07-04 08:33:19 +02:00
marco 209dc7100e mkclctrl 8/11Bit support, uOrb Topic added, ESC Topic to Sdlog2 added 2013-07-02 19:46:15 +02:00
Simon Wilks dadd8703b4 Initial non-tested code for reading from the ESC. 2013-06-28 08:42:05 +02:00
Lorenz Meier 92e0687022 Merge branch 'master' of github.com:PX4/Firmware into integration 2013-06-17 08:44:07 +02:00