Julian Oes
1d3f25ee6c
pwm systemcmd can now set the failsafe values, fmu uses failsafe values as well now, fix to only send the appropriate number of pwm values to IO at once
2013-10-19 10:43:41 +02:00
Jean Cyr
f1c399a60b
Add support for 8 channel DSMX sattelite pairing
2013-10-12 01:14:03 -04:00
Julian Oes
2d23d5fd4e
Merge remote-tracking branch 'px4/master' into pwm_ioctls
...
Conflicts:
src/drivers/px4io/px4io.cpp
2013-10-11 14:05:11 +02:00
Julian Oes
3dc2bdfa22
Changed pwm_limit interface a bit
2013-10-11 10:19:50 +02:00
Julian Oes
1b9e2af742
Moved PWM ramp to systemlib
2013-10-08 17:03:57 +02:00
Julian Oes
19879432ad
Trying to get rid of magic PWM numbers
2013-10-07 18:03:05 +02:00
Julian Oes
ea0aa49b54
pwm info provides more information, some fixes for setting rate/min/max/disarmed
2013-10-07 16:24:49 +02:00
Lorenz Meier
90c4664dce
Merged status changes
2013-10-06 14:17:37 +02:00
Lorenz Meier
f7090db708
Fix the direction of the override switch for the new state machine
2013-09-24 08:22:44 +02:00
Lorenz Meier
9424728af9
Fix a whole bunch of sanity checks across all mixers
2013-09-22 14:20:19 +02:00
Jean Cyr
72df378577
Finally get the #if right!!!
2013-09-18 20:24:33 -04:00
Jean Cyr
390d5b34de
Fix backwards ifdef in dsm.c
2013-09-18 20:14:53 -04:00
Jean Cyr
89d3e1db28
Implement Spektrum DSM pairing in V2
...
- Bind control for V2
- Relays and accessory power not supported on V2 hardware
2013-09-18 20:04:22 -04:00
Andrew Tridgell
e9e46f9c9d
px4io: added monitoring of vservo and vrssi
...
publish via servorail_status ORB topic
2013-09-12 09:24:53 +02:00
Lorenz Meier
c3b6cea77a
Hotfix for S.Bus systems with more than 8 channels
2013-09-10 13:22:56 +02:00
Lorenz Meier
465f161427
Hotfix: remove bogus commit
2013-09-10 12:49:17 +02:00
Julian Oes
589ae937ee
Allow mixer upload when PWM is on
2013-09-02 17:55:27 +02:00
Lorenz Meier
85eafa323a
Fix to RC param updates on IO
2013-08-22 10:43:19 +02:00
Lorenz Meier
309ea81460
Merged fmuv2_bringup
2013-08-21 15:19:19 +02:00
Lorenz Meier
5fbee23945
Added flag to disable RC evaluation onboard of IO (raw values still forwarded)
2013-08-21 11:17:29 +02:00
Lorenz Meier
e597f97982
Merged master
2013-08-18 12:04:07 +02:00
Lorenz Meier
061be7f7fe
Merged master
2013-08-17 20:30:52 +02:00
Lorenz Meier
6c45d9cb5c
Fixed in-air timout, bumped protocol version
2013-08-17 15:47:13 +02:00
Jean Cyr
bafc5ea8a1
Remoce C++ style Doxygen comments
...
Replace C++ style comments with C comments
2013-08-16 18:35:52 -04:00
Lorenz Meier
52d15ac7b1
Merged public master
2013-08-16 16:22:38 +02:00
Jean Cyr
ab80b0e273
Doxygenate and style dsm.c
...
One file a day... this'll take a while!
2013-08-15 19:51:36 -04:00
Julian Oes
56575eb068
Merge remote-tracking branch 'px4/new_state_machine_drton' into 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
2013-08-15 14:04:46 +02:00
Lorenz Meier
aebdd6e059
Merged master
2013-08-14 22:53:42 +02:00
Lorenz Meier
d2f19c7d84
Merge pull request #354 from jean-m-cyr/master
...
Support initiating DSM bind via QGroundControl
2013-08-14 12:43:59 -07:00
Julian Oes
3a21cacdbb
Fix bug where IO was in override mode for copter (workaround was to disconnect and reconnect Rx
2013-08-14 16:00:35 +02:00
Jean Cyr
36679fbb39
Some DSM satellites are fussier about bind pulse timing
...
These values work better
2013-08-10 11:22:08 -04:00
px4dev
9d6ec6b365
Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
...
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Lorenz Meier
dd3033fa6f
Symbol cleanup for servo vs. battery voltage
2013-07-26 15:16:48 +02:00
Lorenz Meier
2f76c81147
More compile fixes
2013-07-16 09:08:05 +02:00
Lorenz Meier
bf2ff98856
Merged master
2013-07-15 15:02:45 +02:00
px4dev
dca9019f75
Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup
2013-07-14 13:04:44 -07: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
Julian Oes
88389ea255
Merge branch 'master' into new_state_machine
...
compiling again
Conflicts:
src/modules/fixedwing_att_control/fixedwing_att_control_att.c
src/modules/fixedwing_att_control/fixedwing_att_control_rate.c
src/modules/fixedwing_pos_control/fixedwing_pos_control_main.c
src/modules/mavlink/orb_listener.c
src/modules/multirotor_att_control/multirotor_attitude_control.c
src/modules/multirotor_att_control/multirotor_rate_control.c
src/modules/systemlib/pid/pid.c
src/modules/systemlib/pid/pid.h
src/modules/uORB/objects_common.cpp
2013-07-08 10:31:32 +02:00
px4dev
e2458677c9
Tweak IO serial packet error handling slightly; on reception of a serial error send a line break back to FMU. This should cause FMU to stop sending immediately.
...
Flag these cases and discard the packet rather than processing it, rather than simply dropping the received packet and letting FMU time out.
2013-07-07 20:42:03 -07:00
px4dev
b4029dd824
Pull v2 pieces up to build with the merge
2013-07-07 17:53:55 -07:00
Jean Cyr
dab652faf6
Prevent RELAY1 control via IOCTL if DSM bind feature is enabled
2013-07-07 19:04:30 -04:00
px4dev
43f1843cc7
Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup
2013-07-07 12:22:56 -07:00
Jean Cyr
35711280df
Merge remote-tracking branch 'upstream/master'
2013-07-07 14:29:30 -04:00
px4dev
8fa226c909
Tweak protocol register assignments and add new registers to accommodate differences in IOv2.
2013-07-06 23:59:35 -07:00
px4dev
4d400aa7e7
Enable UART error handling on PX4IO.
2013-07-06 12:27:37 -07:00
px4dev
87a4f1507a
Move the common definitions for the PX4IO serial protocol into the shared header.
2013-07-06 00:16:37 -07:00
px4dev
19b2e1de85
Copy the correct number of bytes back for register read operations. Basic PX4IO comms are working now.
2013-07-06 00:00:44 -07:00
px4dev
3c8c596ac7
Enable handling for short-packet reception on FMU using the line-idle interrupt from the UART. Enable short packets at both ends.
2013-07-05 20:37:05 -07:00
px4dev
bcfb713fe9
Enable handling for short-packet reception on IO using the line-idle interrupt from the UART.
2013-07-05 20:35:55 -07:00
px4dev
f9a85ac7e6
Remove the TX completion callback on the IO side.
...
Report CRC, read and protocol errors.
2013-07-05 19:16:25 -07:00