aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_pwm_output.h
Commit message (Collapse)AuthorAgeFilesLines
* pwm_output: Allow PWM values from 900us to 2100us but use a default of ↵Julian Oes2013-10-311-4/+14
| | | | 1000us to 2000us
* Merge remote-tracking branch 'px4/master' into pwm_ioctlsJulian Oes2013-10-191-0/+1
|\ | | | | | | | | Conflicts: src/drivers/px4io/px4io.cpp
| * Add support for 8 channel DSMX sattelite pairingJean Cyr2013-10-121-0/+1
| |
* | pwm systemcmd can now set the failsafe values, fmu uses failsafe values as ↵Julian Oes2013-10-191-6/+12
| | | | | | | | well now, fix to only send the appropriate number of pwm values to IO at once
* | Use unsigned for channel countsJulian Oes2013-10-111-1/+1
| |
* | Trying to get rid of magic PWM numbersJulian Oes2013-10-071-0/+20
| |
* | pwm info provides more information, some fixes for setting rate/min/max/disarmedJulian Oes2013-10-071-10/+28
| |
* | Merge remote-tracking branch 'px4/master' into pwm_ioctlsJulian Oes2013-09-291-0/+3
|\| | | | | | | | | Conflicts: src/drivers/drv_pwm_output.h
| * DSM pairing cleanup in px4io.cppJean Cyr2013-09-121-0/+3
| | | | | | | | | | - Simplify parameter range checking in dsm_bind_ioctl - Replace DSM magic numbers with symbolic constants
* | Exported disarmed PWM values as IOCTLsLorenz Meier2013-09-101-1/+11
|/
* Remove unused IOCTLsJean Cyr2013-08-111-4/+1
|
* Support binding DSM2 and DSMX satellite receiversJean Cyr2013-07-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* arming: added PWM_SERVO_SET_ARM_OK and PWM_SERVO_CLEAR_ARM_OKAndrew Tridgell2013-05-161-0/+6
| | | | | these new ioctls allow for the flight code to tell the IO board that arming can proceed
* Moved last libs, drivers and headers, cleaned up IO buildLorenz Meier2013-04-281-0/+201