Daniel Agar
8aae66b893
trivial code style cleanup round 2
2015-03-27 23:38:58 -04:00
Lorenz Meier
8caada2188
Breathe animation, led solid on arming
2014-11-16 01:21:47 +01:00
Lorenz Meier
2cadd45f30
Configure led ring and enable heartbeat on it
2014-11-02 10:13:11 +01:00
Lorenz Meier
c2687a7774
ST24 integration in IO firmware
2014-10-07 08:05:45 +02:00
px4dev
d2a2297a14
Fixes #1130
2014-07-06 11:24:39 -07:00
Lorenz Meier
d1909ca94b
Merge pull request #878 from PX4/sbus_out
...
S.BUS output
2014-05-05 08:04:28 -07:00
Lorenz Meier
024de1fec4
Remove unwanted colon
2014-04-05 17:04:36 +02:00
Lorenz Meier
9a0b2b7610
Make throttle failsafe depend on the failsafe threshold parameter. Make the parameter optional (no harm if not found).
2014-04-05 11:02:22 +02:00
Anton Babushkin
af548db7cc
px4iofirmware: define 4 actuator control groups
2014-03-05 00:01:27 +04:00
Lorenz Meier
500ac69ee4
Build test code for S.BUS output, send test characters once S.BUS1 or S.BUS2 is enabled
2014-02-12 08:13:53 +01:00
Lorenz Meier
00a3270dc6
Differentiate between failsafe having kicked in (which stops the normal output mixing based on RC outputs and prevents unwanted control commands due to failsafe) and a true loss of the receiver, where we stop outputting RC channel readings downstream on FMU.
2014-01-26 15:52:51 +01:00
Lorenz Meier
ac32116f00
Fix docs header
2014-01-26 15:17:01 +01:00
Lorenz Meier
57d38bc8ce
Clean up RC related metadata, put everything into the RC data page. This ensures atomic reads, makes the reads more efficient and allows for some headroom for more RC flags. The IO driver side is updated as well, however, these flags are not published yet.
2014-01-26 00:17:26 +01:00
Lorenz Meier
aff11d6d86
IO firmware: Use right base reg value - since the wrong one had the same value this hasn’t been an issue, but it would have become one once one of them changed.
2014-01-25 23:06:53 +01:00
Lorenz Meier
880342b9c1
Missing header for mixer status change.
2014-01-24 17:37:34 +01:00
Lorenz Meier
2aa76f1a3c
Fixes to memory check handling, split out switch handling to allow separate initialization
2014-01-23 09:17:46 +01:00
Lorenz Meier
5bc61c3c57
S.BUS output disable cleanup
2014-01-22 08:30:48 +01:00
Lorenz Meier
d174998b45
RSSI and concurrent S.Bus output handling
2014-01-18 12:00:17 +01:00
Andrew Tridgell
1a13e66aab
px4iofirmware: make forceupdate more reliable
...
this schedules a reboot rather than rebooting immediately, which means
the FMU gets an ACK for its reboot operation, preventing it from
timing out waiting for the ACK. That makes the timing of the reboot
more consistent, which makes it more reliable for forceupdate
2014-01-07 09:30:56 +01:00
Lorenz Meier
f8134c9c67
Enable 18 channels on IO
2013-12-22 21:12:31 +01:00
Lorenz Meier
b84c9f962b
Merged master
2013-12-21 19:07:24 +01:00
Lorenz Meier
9883a346a0
First stab at implementing better RSSI based connection status estimation, still needs some work and testing
2013-12-13 18:01:55 +01:00
Lorenz Meier
0ba507b640
Added support for a total of four control groups to the IO driver and IO 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
2013-12-08 11:25:45 +01:00
Julian Oes
1b9e2af742
Moved PWM ramp to systemlib
2013-10-08 17:03:57 +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
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
Lorenz Meier
c3b6cea77a
Hotfix for S.Bus systems with more than 8 channels
2013-09-10 13:22:56 +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
Jean Cyr
bafc5ea8a1
Remoce C++ style Doxygen comments
...
Replace C++ style comments with C comments
2013-08-16 18:35:52 -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
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
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
px4dev
b4029dd824
Pull v2 pieces up to build with the merge
2013-07-07 17:53:55 -07:00
px4dev
8fa226c909
Tweak protocol register assignments and add new registers to accommodate differences in IOv2.
2013-07-06 23:59:35 -07:00
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
px4dev
43210413a9
More test work on the px4io side of the serial interface.
2013-07-04 23:17:55 -07:00
px4dev
c21237667b
iov2 pin definition cleanup sweep
2013-07-04 23:16:13 -07:00
px4dev
d1562f926f
More implementation for the serial side on IO; fix a couple of bugs on the FMU side.
...
Still needs serial init and some more testing/config on the FMU side, but closer to being ready to test.
2013-06-28 23:39:35 -07:00
Julian Oes
23858a6726
Added functionality to enable PWM output for stupid ESCs even when safety is not off, arming button functionality remains as is
2013-06-19 22:59:40 +02:00
Julian Oes
cc452834c0
First try to prevent motors from stopping when armed
2013-06-18 00:30:10 +02:00
px4dev
e67022f874
Serial interface for IOv2
2013-04-28 18:14:46 -07:00
Lorenz Meier
dc2c3cad3e
Re-enabled mixer
2013-04-28 14:59:42 +02:00
Lorenz Meier
0eafc2ade1
IO compiling
2013-04-28 14:54:44 +02:00
Lorenz Meier
f57439b90e
Moved all drivers to new world, PX4IO completely in new world
2013-04-28 01:30:14 +02:00