Commit Graph
119 Commits
Author SHA1 Message Date
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
px4dev b2ff8b5e1a Turn off logging 2013-06-16 23:02:46 -07:00
px4dev 3163d7ac09 Set the serial port speed before trying to talk to IO 2013-06-16 22:41:08 -07:00
Lorenz Meier f1419d4f5f Merge pull request #307 from sjwilks/ets-airspeed-fix
Fix the usage help and lots of formatting fixes.
2013-06-16 12:29:37 -07:00
Simon Wilks 24cb66c833 And yet more formatting cleanups 2013-06-16 21:17:07 +02:00
Simon Wilks 7a99de9d30 More formatting cleanups 2013-06-16 21:07:42 +02:00
Simon Wilks 1fc3c8f723 Fix usage help and cleanup formatting 2013-06-16 20:52:15 +02:00
Simon Wilks dadac932da Report airspeed over HoTT telemetry 2013-06-16 20:44:11 +02:00
px4dev 8eb4a03274 Use a better way of guessing whether we can use both-edges mode. 2013-06-12 23:58:22 -07:00
Lorenz Meier ebc12eebd0 Merged 2013-06-07 13:04:49 +02:00
Lorenz Meier 4e3f4b57e3 Hotfix: Allow the IO mixer loading to load larger mixers, fix up the px4io test command to allow a clean exit 2013-06-07 10:36:56 +02:00
Lorenz Meier 8ad3aa315f Merged master 2013-06-06 07:57:31 +02:00
Lorenz Meier bddcb11051 Merge pull request #296 from sjwilks/hott-init-fix
Fix HoTT syncing issue with receiver on startup.
2013-06-04 22:54:27 -07:00
Simon Wilks 032f7d0b0e Fix syncing issue with receiver on startup. 2013-06-04 23:24:30 +02:00
Lorenz Meier 45fe45fefa Better error handling for too large arguments 2013-06-04 13:32:57 +02:00
Lorenz Meier de8186e050 Merge branch 'master' of github.com:PX4/Firmware into failsafe_io 2013-06-04 13:25:42 +02:00
Lorenz Meier e3ee6689fe Merge pull request #294 from sjwilks/hott_v2
Add GPS Support to the HoTT Telemetry driver
2013-06-04 03:15:40 -07:00
Simon Wilks 9374e4b1f2 Formatting and comments 2013-06-04 00:52:48 +02:00
Simon Wilks 30d17cf0ba Fix whitespace 2013-06-04 00:18:23 +02:00
Simon Wilks f435025d26 Completed main implementation and debugging 2013-06-04 00:10:58 +02:00
px4dev 23a6234235 Rename our 'task_spawn' to 'task_spawn_cmd' since NuttX now has its own version of task_spawn that's different. 2013-06-01 23:31:53 +02:00
Anton Babushkin 1addb9f6c5 Fixed bug in UBX::configure_message_rate() 2013-06-01 20:42:43 +04:00
Lorenz Meier 4db739b5e1 Integration WIP with current NuttX version 2013-06-01 01:48:42 +02:00
Lorenz Meier 5375bb5b86 Cleanup, WIP, needs a NuttX checkout to Firmware/NuttX now 2013-06-01 01:04:32 +02:00
sergeil 496127ca45 mpu6000 driver support for setting rate 2013-05-31 11:44:20 +02:00
Lorenz Meier 5f2571dd01 Set unknown channels to zero, since centering them is a slightly dangerous guess 2013-05-29 18:29:41 +02:00
Lorenz Meier f6570172da Set default failsafe value to 0 of mixer 2013-05-29 17:07:26 +02:00
Lorenz Meier d2c60a248d Merge branch 'master' of github.com:PX4/Firmware into failsafe_io 2013-05-28 17:49:06 +02:00
Lorenz Meier 2876bc72f9 Slightly reworked IO internal failsafe, added command to activate it (px4io failsafe), does not parse commandline arguments yet 2013-05-28 17:46:24 +02:00
Lorenz Meier 27ee36b204 Hotfix: Completely silencing HMC5883 probing to not confuse users 2013-05-28 07:18:07 +02:00
Lorenz Meier f1a8f6e75b Hotfix: Made HMC driver more verbose to prevent false alarm 2013-05-27 16:58:30 +02:00
marco 73d2baeb20 comments cleaned 2013-05-26 16:49:33 +02:00
marco 8e1571cf02 mkblctrl cleanup & tested 2013-05-24 20:16:47 +02:00
marco 9f090e651a mkblctrl cleanup 2013-05-23 21:03:49 +02:00
px4dev dca844a808 Based on comments in:
http://answers.px4.ethz.ch/question/1337/px4io-receiver-connection-problem/?answer=1346#post-id-1346

increase the longest PPM pulse we recognize out to 550µs.
2013-05-23 09:27:57 +02:00
Lorenz Meier 58084685b2 Hotfix: Changed alarms back to what they originally were designed for: Traps to later see if condition was once violated. Currente status can be read through the status flags 2013-05-16 09:12:13 +02:00
Andrew Tridgell fa816d0fd6 arming: added PWM_SERVO_SET_ARM_OK and PWM_SERVO_CLEAR_ARM_OK
these new ioctls allow for the flight code to tell the IO board that
arming can proceed
2013-05-16 08:39:24 +02:00
Simon Wilks 6571629dca Merged new repository layout from PX4/Firmware 2013-05-15 20:11:13 +02:00
Lorenz Meier d02f5c5505 Merge branch 'master' of github.com:PX4/Firmware 2013-05-14 22:47:21 +02:00
Lorenz Meier 9a07788d58 Hotfix: Off-by-one fix in overflow check 2013-05-13 23:25:18 +02:00
Lorenz Meier 79f9b61aff Fixed led patterns to be up to the latest specs 2013-05-12 20:05:20 +02:00
Lorenz Meier 304ce63f00 Hotfix: Wrong capitalization on header file name 2013-05-09 19:03:40 +02:00
Lorenz Meier b7a9e07783 Hotfix: Wrong capitalization on header file name 2013-05-09 19:03:24 +02:00
Lorenz Meier 26efba2ff3 New blink patterns for safety switch, removed GPS lock indicator 2013-05-09 17:38:12 +02:00
Lorenz Meier 3ec536a876 Improved GPS update rate calculation 2013-05-09 17:13:38 +02:00