aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/px4io
Commit message (Collapse)AuthorAgeFilesLines
* Don't leave RX in bind mode on console open failJean Cyr2013-07-111-2/+2
| | | | | Don't leave RX in bind mode in the unlikely eventuality that console open fails
* General cleanup of /dev/px4io and /dev/px4fmuJean Cyr2013-07-091-5/+5
| | | | | | | - 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.
* Minor px4io optimizationJean Cyr2013-07-071-18/+9
| | | | | | 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.
* Prevent RELAY1 control via IOCTL if DSM bind feature is enabledJean Cyr2013-07-071-14/+45
|
* Merge remote-tracking branch 'upstream/master'Jean Cyr2013-07-071-1/+8
|\
| * Turn off loggingpx4dev2013-06-161-4/+4
| |
| * Set the serial port speed before trying to talk to IOpx4dev2013-06-161-3/+10
| |
* | Support binding DSM2 and DSMX satellite receiversJean Cyr2013-07-051-5/+91
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Hotfix: Allow the IO mixer loading to load larger mixers, fix up the px4io ↵Lorenz Meier2013-06-071-2/+19
| | | | test command to allow a clean exit
* Better error handling for too large argumentsLorenz Meier2013-06-041-3/+8
|
* Set unknown channels to zero, since centering them is a slightly dangerous guessLorenz Meier2013-05-291-1/+2
|
* Set default failsafe value to 0 of mixerLorenz Meier2013-05-291-8/+21
|
* Slightly reworked IO internal failsafe, added command to activate it (px4io ↵Lorenz Meier2013-05-281-7/+45
| | | | failsafe), does not parse commandline arguments yet
* Hotfix: Changed alarms back to what they originally were designed for: Traps ↵Lorenz Meier2013-05-161-0/+3
| | | | to later see if condition was once violated. Currente status can be read through the status flags
* arming: added PWM_SERVO_SET_ARM_OK and PWM_SERVO_CLEAR_ARM_OKAndrew Tridgell2013-05-161-0/+10
| | | | | these new ioctls allow for the flight code to tell the IO board that arming can proceed
* Fixed led patterns to be up to the latest specsLorenz Meier2013-05-121-12/+20
|
* New blink patterns for safety switch, removed GPS lock indicatorLorenz Meier2013-05-091-9/+2
|
* px4io: fixed voltage/current output and add discharged_mah calculationAndrew Tridgell2013-05-041-12/+58
| | | | | | 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
* px4io: ensure upload device is closed after useAndrew Tridgell2013-05-041-1/+16
| | | | this should release it for PWM use
* px4io: allow set of output rates above 400 and below 50Andrew Tridgell2013-05-041-5/+1
| | | | | | let the IO board decide if the rate is reasonable, and limit it there this fixes the rates on ArduCopter, which try for 490
* Moved all drivers to new world, PX4IO completely in new worldLorenz Meier2013-04-281-2/+2
|
* Moved position_estimator_mc, px4io driver and sdlog app to new style buildLorenz Meier2013-04-274-0/+2542