aboutsummaryrefslogtreecommitdiff
path: root/src/modules/px4iofirmware/registers.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master' into ↵Thomas Gubler2013-12-131-0/+27
|\ | | | | | | | | | | | | fw_autoland_att_tecs_navigator_termination_controlgroups Conflicts: src/drivers/px4io/px4io.cpp
| * Merged crccheck commandAndrew Tridgell2013-12-131-0/+1
| |
| * Merged PX4IO crc checks and force updateAndrew Tridgell2013-12-131-0/+26
| |
* | Added support for a total of four control groups to the IO driver and IO ↵Lorenz Meier2013-12-081-9/+9
|/ | | | firmware. This allows to run auxiliary payload. Cleaned up defines for RC input channel counts, this needs another sweep to then finally allow up to 16 mapped channels and up to 20-24 RAW RC channels
* pwm_output: Allow PWM values from 900us to 2100us but use a default of ↵Julian Oes2013-10-311-14/+14
| | | | 1000us to 2000us
* Fix to allow setting again zero disarmed PWM values after bootLorenz Meier2013-10-301-16/+29
|
* pwm systemcmd can now set the failsafe values, fmu uses failsafe values as ↵Julian Oes2013-10-191-3/+10
| | | | well now, fix to only send the appropriate number of pwm values to IO at once
* Merge remote-tracking branch 'px4/master' into pwm_ioctlsJulian Oes2013-10-111-16/+14
|\ | | | | | | | | Conflicts: src/drivers/px4io/px4io.cpp
| * Merged status changesLorenz Meier2013-10-061-16/+14
| |\
| | * px4io: added monitoring of vservo and vrssiAndrew Tridgell2013-09-121-16/+14
| | | | | | | | | | | | publish via servorail_status ORB topic
* | | Trying to get rid of magic PWM numbersJulian Oes2013-10-071-15/+15
| | |
* | | pwm info provides more information, some fixes for setting rate/min/max/disarmedJulian Oes2013-10-071-29/+26
|/ /
* / Implement Spektrum DSM pairing in V2Jean Cyr2013-09-181-8/+4
|/ | | | | - Bind control for V2 - Relays and accessory power not supported on V2 hardware
* Fix to RC param updates on IOLorenz Meier2013-08-221-2/+6
|
* Merged fmuv2_bringupLorenz Meier2013-08-211-2/+10
|\
| * Added flag to disable RC evaluation onboard of IO (raw values still forwarded)Lorenz Meier2013-08-211-1/+9
| |
* | Merge remote-tracking branch 'px4/new_state_machine_drton' into ↵Julian Oes2013-08-151-7/+112
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | fmuv2_bringup_new_state_machine_drton Conflicts: src/drivers/blinkm/blinkm.cpp src/drivers/px4io/px4io.cpp src/modules/commander/state_machine_helper.c src/modules/px4iofirmware/protocol.h src/modules/px4iofirmware/registers.c src/modules/systemlib/systemlib.h src/systemcmds/reboot/reboot.c
| * Merged masterLorenz Meier2013-07-151-4/+8
| |\
| * | Added functionality to enable PWM output for stupid ESCs even when safety is ↵Julian Oes2013-06-191-1/+38
| | | | | | | | | | | | not off, arming button functionality remains as is
| * | Merge remote-tracking branch 'upstream/io_fixes' into new_state_machineJulian Oes2013-06-181-9/+11
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/drivers/px4io/px4io.cpp src/modules/commander/commander.c src/modules/commander/state_machine_helper.c src/modules/commander/state_machine_helper.h src/modules/px4iofirmware/mixer.cpp src/modules/uORB/topics/actuator_controls.h src/modules/uORB/topics/vehicle_status.h
| | * | Software version check fixesLorenz Meier2013-06-121-2/+2
| | | |
| | * | Minor state machine improvements and fixes for IO safety / in-air restart ↵Lorenz Meier2013-06-121-6/+7
| | | | | | | | | | | | | | | | handling
| * | | Adressed performance concern and fixed a copy paste bugJulian Oes2013-06-181-5/+13
| | | |
| * | | First try to prevent motors from stopping when armedJulian Oes2013-06-181-0/+58
| |/ /
* | | Symbol cleanup for servo vs. battery voltageLorenz Meier2013-07-261-17/+9
| | |
* | | Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringuppx4dev2013-07-141-4/+8
|\ \ \ | | |/ | |/|
| * | General cleanup of /dev/px4io and /dev/px4fmuJean Cyr2013-07-091-4/+4
| | | | | | | | | | | | | | | | | | | | | - 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.
| * | Support binding DSM2 and DSMX satellite receiversJean Cyr2013-07-051-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Pull v2 pieces up to build with the mergepx4dev2013-07-071-1/+1
| |
* | Tweak protocol register assignments and add new registers to accommodate ↵px4dev2013-07-061-21/+82
| | | | | | | | differences in IOv2.
* | More test work on the px4io side of the serial interface.px4dev2013-07-041-2/+12
| |
* | More implementation for the serial side on IO; fix a couple of bugs on the ↵px4dev2013-06-281-0/+9
|/ | | | | | FMU side. Still needs serial init and some more testing/config on the FMU side, but closer to being ready to test.
* More safety added by disabling pulsesLorenz Meier2013-05-291-1/+3
|
* Set default failsafe value to 0 of mixerLorenz Meier2013-05-291-1/+4
|
* Slightly reworked IO internal failsafe, added command to activate it (px4io ↵Lorenz Meier2013-05-281-1/+2
| | | | failsafe), does not parse commandline arguments yet
* Better preflight check, catches wrong RC configs. Needs rework of mavlink ↵Lorenz Meier2013-05-211-8/+0
| | | | text message API to VARARGs
* Hotfix: Changed alarms back to what they originally were designed for: Traps ↵Lorenz Meier2013-05-211-1/+0
| | | | to later see if condition was once violated. Currente status can be read through the status flags
* Fixed compile and logic errors, behaving nowLorenz Meier2013-05-131-4/+5
|
* px4io: handle errors from adc_measure()Andrew Tridgell2013-05-041-4/+9
| | | | don't update the voltage/current values on error
* px4io: return raw ADC value for currentAndrew Tridgell2013-05-041-8/+8
| | | | | | 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.
* Re-enabled mixerLorenz Meier2013-04-281-1/+1
|
* IO compilingLorenz Meier2013-04-281-1/+1
|
* Moved all drivers to new world, PX4IO completely in new worldLorenz Meier2013-04-281-0/+644