thedevleon
9ff6751eb5
hotfix for frsky dport telemetry ( #4409 )
2016-05-01 00:41:17 +02:00
Leon
b781006e20
Increase sending of navstate and gpsfix to 2 Hz
2016-04-25 07:55:53 +02:00
Leon
5d114d3984
Small improvements and corrections
...
Added more SPort GPS Sensors
Fix code style
Adding DIY IDs
Moved navstate and gpsfix away from Temp1 and Temp2 to their own IDs
More consistent names
Fix codestyle
Rebase work off master frsky_telemetry driver
Fixed code-style error
forgot something
2016-04-25 07:55:49 +02:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00
Julian Oes
9859d43fe2
frsky_telemetry: fixed build
2016-04-11 18:01:49 +02:00
Julian Oes
76c66a4e92
frsk_telemetry: astyle
2016-04-11 18:01:47 +02:00
Julian Oes
32c3135788
commander: move battery calculations to systemlib
...
The commander used to consume the battery_status topic and write the
contents after some calculations into the system state. Instead, the
calculations now happen in library calls in systemlib/battery.
This moves the battery fields out of the vehicle_status message into the
battery_status topic.
This brought quite some changes in all modules that need battery
information. The current state is compiling but untested.
2016-04-11 18:01:47 +02:00
Mark Whitehorn
ebacd4c1de
add missing check for stop command in idle state
2016-04-11 17:54:39 +02:00
Mark Whitehorn
98a4dd6a4a
run astyle
2016-03-01 09:02:14 +01:00
Mark Whitehorn
bebe8b0a78
init frsky_state properly
2016-03-01 09:02:14 +01:00
Mark Whitehorn
ab596e3711
scan indefinitely for FrSky RX, report state in status
2016-03-01 09:02:14 +01:00
Mark Whitehorn
607053cfbc
decrease stack allocation to 1100
2016-03-01 09:02:14 +01:00
Mark Whitehorn
52465d07b9
run astyle
2016-03-01 09:02:14 +01:00
Mark Whitehorn
8186139dad
reduce D-type stack usage and static allocations
2016-03-01 09:02:14 +01:00
Mark Whitehorn
6d2927cd7a
allocate structs on the heap; exit daemon if no FrSky receiver detected
2016-03-01 09:02:14 +01:00
Mark Whitehorn
95d328f57c
remove commented code and change to sensor_baro topic to filter altitude
2016-03-01 09:02:14 +01:00
Mark Whitehorn
6d509835eb
clean up uORB code
2016-03-01 09:02:14 +01:00
Mark Whitehorn
0960e1a820
make structs static and decrease stack size, run astyle
2016-03-01 09:02:14 +01:00
Mark Whitehorn
6fa6e72250
add sPort GPS telemetry
2016-03-01 09:02:14 +01:00
Mark Whitehorn
12437f1fc6
increase stack size for frsky telemetry daemon
2016-02-16 10:39:30 -07:00
Mark Whitehorn
42e8fe159f
run astyle
2016-02-10 09:23:30 +01:00
Mark Whitehorn
cca2807ff0
apply 1st order lowpass filter to baro alt
2016-02-10 09:23:30 +01:00
Mark Whitehorn
b25a9a45b5
initial add of Vario sensor. 1st difference of baro_alt... need to add a
...
LPF in front of the difference
2016-02-10 09:23:30 +01:00
Mark Whitehorn
403810c688
disable console print of incoming telemetry data
2016-02-10 09:21:52 +01:00
Mark Whitehorn
e25b26e2a8
fix format
2016-02-10 09:21:52 +01:00
Mark Whitehorn
8116f15d95
enable print of incoming telemetry
2016-02-10 09:21:52 +01:00
Mark Whitehorn
47337eb4a5
add parsing of host frames for D type telemetry
2016-02-10 09:21:52 +01:00
Mark Whitehorn
7b7da618b8
format and disable some warnx output
2016-01-29 09:02:34 +01:00
Mark Whitehorn
81ae5cbd0d
check for incoming D type telemetry packet (RX also connected to telemetry port)
2016-01-29 09:02:22 +01:00
Mark Whitehorn
d96a17adfb
missed some name changes from sPort to frsky
2016-01-24 11:22:18 +01:00
Mark Whitehorn
527fe4b374
remove sPort_telemetry directory
2016-01-24 11:22:18 +01:00
Mark Whitehorn
c81c34b147
add sPort telemetry handling into frsky_telemetry daemon
2016-01-24 11:22:18 +01:00
Mark Whitehorn
29d759768e
clean up structure
2016-01-24 11:22:18 +01:00
Mark Whitehorn
42f9079683
move sPort_telemetry.c to src/drivers/frsky_telemetry and rename daemon
...
to frsky_telemetry
2016-01-24 11:22:18 +01:00
Mark Whitehorn
a402b3beeb
change frsky_telemetry default port to USART8 for pixracer
...
add a 50msec timeout to poll calls in sPort_telemetry to prevent hangs
2016-01-24 11:22:18 +01:00
Mark Whitehorn
214709dc89
move smartport telemetry to new module
2016-01-24 11:22:18 +01:00
Mark Whitehorn
47dcf71554
initial test of FrSky SmartPort telemetry
2016-01-24 11:22:18 +01:00
Lorenz Meier
789e595df7
FrSky Telem: Fixed code style
2015-10-19 13:18:11 +02:00
Lorenz Meier
fa5071b3c5
Remove module.mk files to prevent confusion of adopters upgrading
2015-10-06 11:23:20 +02:00
Lorenz Meier
6ef94e0dfb
Merged master into cmake-2
2015-09-20 10:33:39 +02:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Lorenz Meier
b18b1c8b09
FrSky telemetry: Update to new sensors combined topic
2015-08-30 11:37:26 +02:00
Mark Charlebois
c5237f7f6f
Removed extra abstracton layer in systemlib
...
The calls to task_spawn_cmd, kill_all, and systemreset were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.
Removed the wrappers and changed all calls to the px4_ equivalents.
NuttX specific code was moved into px4_tasks.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-06 14:43:11 -07:00
Daniel Agar
8aae66b893
trivial code style cleanup round 2
2015-03-27 23:38:58 -04:00
Ban Siesta
25fc9d791a
renaming of gps time to UTC time
2015-01-04 10:43:28 +00:00
Daniel Agar
d511e39ea7
turn on -Werror and fix resulting errors
2014-12-22 17:56:59 -05:00
Lorenz Meier
8d5225b967
FrSky: Be less chatty
2014-11-15 16:41:18 +01:00
Lorenz Meier
85301e1172
frsky: Optimize for size
2014-07-12 19:34:28 +02:00
John Hiesey
4a666d094d
frsky_telemetry: fix gps data format
...
Eliminate inadvertent rounding and generate degrees/minutes
instead of degrees/minutes/seconds output per frsky docs
2014-05-20 01:31:14 -07:00
Lorenz Meier
f66cd1a814
frsky telem: reduce stack, fix missing header
2014-05-16 10:44:44 +02:00