Daniel Agar
de128aaa6e
dsm rctest fix num_values return
2017-01-30 08:41:26 +01:00
Lorenz Meier
969c9ca7e8
Better status reporting for RC
2017-01-22 15:17:35 +01:00
Lorenz Meier
eed78fdcc9
DSM: Fix code style
2017-01-21 14:08:10 +01:00
Andrew C. Smith
12a34c9fcf
Minor changes made to FMU module and the DSM code to properly catch Spekrum DSM data.
2017-01-21 12:13:40 +01:00
Lorenz Meier
557a57d51a
Coverity: Fix RC tests
2017-01-14 07:47:03 -08:00
Lorenz Meier
1a1522d3ff
Fix RC unit test
2017-01-03 14:44:45 +01:00
Lorenz Meier
72eafe7e72
Fix DSM debug statement. From @firwar
2016-12-25 21:55:23 +01:00
Julian Oes
d62520e26b
Update DriverFramework and build lib/rc
2016-12-20 14:38:28 +01:00
Julian Oes
45ff2d026d
dsm: only close valid fds
2016-12-20 14:38:28 +01:00
Julian Oes
f184e642c9
dsm: fix definition
2016-12-20 14:38:28 +01:00
Julian Oes
97fe56a4e7
dsm: add deinit function
...
This implements closing of the serial port which previously was not
taken care of.
2016-12-20 14:38:28 +01:00
Benoit3
83e9e1c382
The goal of this patch is to allow compatibility with GR12/GR16/GR24 graupner receiver by :
...
- allowing decoding of SUMD frame with failsafe bit set
- updating stack failsafe state with the sumd failsafe info
Refer to #5817 issue
2016-11-12 14:28:57 +01:00
Lorenz Meier
f9abe39c3a
DSM parser: Keep local copy of channel data
2016-10-23 19:58:52 +02:00
Lorenz Meier
f7f406c45d
Expand RC test to 2nd receiver with 12 channels
2016-10-19 15:31:54 +02:00
Julian Oes
af5d2c488c
st24: fix RC lost detection based on error count
...
The packet_count was actually an error_count, therefore we should
process RC input only when the error_count since the last packet is 0.
Also, this commit fixes the RSSI scaling for st24.
2016-10-19 09:22:57 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Lorenz Meier
f511d49cc2
Improvements to SITL to make paths more flexible. ( #5181 ) ( #5255 )
...
* Path cleanup for SITL.
* Restructured sitl scripts dir.
* Set integration tests to use ekf2 for vtol.
* Fix sitl paths for mac.
2016-08-25 21:47:45 +02:00
Beat Küng
c3c8fa55b3
RC st24: change channel input range from [0,4096] to [500,3500] ( #5350 )
...
QGC failed to calibrate RC with the old range.
2016-08-19 20:45:56 +02:00
James Goppert
818840b576
Path cleanup, low impact changes ( #5340 )
...
* Low impact changes from path_cleanup branch.
This is a step towards minimizing the diff with path_cleanup branch.
* Update ecl.
* Revert matrix update.
* Revert ecl and matrix.
* Update sitl gazebo.
* Revert sitl_gazebo and matrix changes.
2016-08-18 15:37:23 -04:00
Lorenz Meier
102f5b54d7
Revert "Improvements to SITL to make paths more flexible. ( #5181 )"
...
This reverts commit 699b6a2cb340f4b6ec3979ae7748ff9c56cfdb89.
2016-08-05 21:29:49 +02:00
James Goppert
699b6a2cb3
Improvements to SITL to make paths more flexible. ( #5181 )
2016-08-05 06:23:59 -04:00
Lorenz Meier
6ab9dc0acf
Testing cleanup from Daniel Agar
2016-07-29 13:49:14 +02:00
Lorenz Meier
1db1a364c1
SBUS decoding: Fix channel 18 return value
2016-05-21 15:40:05 +02:00
Andrew Tridgell
fde635ef5a
px4iofirmware: fixed display of sbus rate in px4io status
2016-04-18 11:43:24 +02:00
Andrew Tridgell
58122ed33d
sbus: added support for changing SBUS output rate
2016-04-18 11:43:24 +02:00
Andrew Tridgell
091515956d
dsm: fixed shadowed variables errors
2016-04-18 11:35:21 +02:00
nopeppermint
78f9bb79f1
more spelling mistakes
2016-01-11 08:38:09 +01:00
Lorenz Meier
74543b2cd6
S.BUS code style
2015-12-24 09:47:29 +01:00
Lorenz Meier
6e3749f904
Code style for DSM decoder
2015-12-24 09:47:29 +01:00
Lorenz Meier
d84fcfffaf
DSM decoder: Guard against invalid values
2015-12-24 09:47:29 +01:00
Lorenz Meier
5b4b5de34c
Disable DSM debug output
2015-12-24 09:47:29 +01:00
Lorenz Meier
1871a61676
S.BUS: Fix compile error for single wire IOCTL
2015-12-24 09:47:29 +01:00
Lorenz Meier
87add55620
DSM: Generalize parsing
2015-12-24 09:47:29 +01:00
Lorenz Meier
f7784bc7ac
DSM decoder: Fixes for non-IO environment.
2015-12-24 09:47:29 +01:00
Lorenz Meier
d71c629970
SBUS: Fix code style
2015-12-24 09:47:29 +01:00
Lorenz Meier
ee2e3811d7
RC lib: Support separate config from init, allow DSM bind from all boards
2015-12-24 09:47:29 +01:00
Lorenz Meier
ec40c8268c
SBUS2: Code style fix
2015-12-07 11:41:03 +01:00
Lorenz Meier
6462deebad
SBUS2 parser: Last set of fixes, validated in test and against Futaba TX
2015-12-07 11:41:03 +01:00
Lorenz Meier
c78f1ace1c
S.BUS: Cleanup and code style fixes
2015-12-07 11:41:03 +01:00
Lorenz Meier
4d4bb1b8b6
S.BUS2 parser: Solid results on Futaba log
2015-12-07 11:41:02 +01:00
Lorenz Meier
8c5ee059ae
S.BUS2: Initial parsing
2015-12-07 11:41:02 +01:00
Lorenz Meier
02bdc8005e
S.BUS: Use proper parser
2015-12-07 11:41:02 +01:00
Lorenz Meier
98da35793d
Further S.BUS decoding work for S.BUS2
2015-12-07 11:41:02 +01:00
Lorenz Meier
ac3bc34d15
S.BUS decoder: Do not report initial sync as dropped frame
2015-12-07 11:41:01 +01:00
Lorenz Meier
990e8acaea
S.BUS parser rewrite to address FrSky timing and S.BUS2 commands
2015-12-07 11:41:01 +01:00
Lorenz Meier
7b73e8f9ee
S.BUS parsing improvements
2015-12-07 11:41:01 +01:00
Lorenz Meier
66bc96f4b3
S.BUS: Adjust timeout interval
2015-12-07 11:41:01 +01:00
Lorenz Meier
ec3282a925
S.BUS parser: Empty complete buffer
2015-12-07 11:41:00 +01:00
Lorenz Meier
e41fa79b81
S.BUS: Expose frame drop variable
2015-12-07 11:41:00 +01:00
Lorenz Meier
3c349236e1
Fix S.BUS compile error
2015-12-04 21:19:31 +01:00