Commit Graph

241 Commits

Author SHA1 Message Date
Daniel Agar
27cd3af7fb mavlink fix missing MavlinkStreamNavControllerOutput (#4538) 2016-05-14 00:39:17 +02:00
Daniel Agar
eae726e345 FW add mavlink NAV_CONTROLLER_OUTPUT 2016-05-13 12:56:04 +02:00
Julian Oes
afbdec1742 mavlink: whitespace 2016-05-12 08:16:36 +02:00
Jonathan Challinger
7ec37d5ffd mavlink: subscribe to and use cpuload message instead of vehicle_status 2016-05-12 08:16:36 +02:00
Lorenz Meier
165f75589b MAVLink app: Use proper C99 NaN define 2016-05-11 12:59:57 +02:00
Lorenz Meier
34baf01d7e Fix altitude estimate 2016-05-11 10:02:03 +02:00
sander
e0a8571254 Use filtered voltage and current values for mavlink sys message 2016-05-10 21:34:11 +02:00
Mark Whitehorn
1a5040b9d2 only call fsync in NUTTX builds 2016-04-25 21:51:09 +02:00
Mark Whitehorn
6f20b9e1df fix unused variable error 2016-04-25 21:51:09 +02:00
Mark Whitehorn
4cf427510e fix problem with log_file_path and add msg timestamps 2016-04-25 21:51:09 +02:00
Julian Oes
f454d74a51 mavlink: fix Snapdragon build 2016-04-25 15:35:22 +02:00
Lorenz Meier
14a20e3112 MAVLink streams: Better log file handling 2016-04-25 14:46:15 +02:00
Lorenz Meier
25f327c4ac Set RSSI to zero if we loose signal 2016-04-23 16:33:25 +02:00
Lorenz Meier
803880a9f8 MAVLink: Fix current reporting 2016-04-23 14:24:36 +02:00
Lorenz Meier
ff800a4c97 MAVLink app: Save stack for file name handliling, log only when armed 2016-04-22 10:28:13 +02:00
Lorenz Meier
b046f93173 Better MAVLink app error reporting 2016-04-22 09:34:02 +02:00
Lorenz Meier
cdeb7df43c MAVLink: More robust string operations 2016-04-17 20:03:48 +02:00
Lorenz Meier
a663aa68af Send out ADS-B reports to GCS 2016-04-17 18:19:32 +02:00
Daniel Agar
56dbfef378 remove duplicate bat_msg.id 2016-04-11 18:01:48 +02:00
Daniel Agar
c494e85095 fix sign compare to make travis-ci happy 2016-04-11 18:01:48 +02:00
Julian Oes
a11a986df8 mavlink: removed leftover debug printf 2016-04-11 18:01:48 +02:00
Julian Oes
1f44fb1efd commander: internalize system status bools
Most condition bools in the commander are not used anywhere but in the
commander. It therefore makes sense to move them to a different internal
struct and remove them from the vehicle_status message.

Also, the land_detected should be used by all the modules instead of
getting it through the commander and system_status.
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
Julian Oes
74072dbe74 vehicle_status.msg: delete unused mavlink stuff
The MAV_TYPE enum was not in sync with the mavlink specs anymore. It
makes therefore sense to remove the duplication and include the correct
mavlink header file where it is needed.
Also, error counts which are not populated, can be scrapped.
2016-04-11 18:01:47 +02:00
Jimmy Johnson
bbc8eaefd7 Adding new follow target navigation and main states. New follow target
topic added. New follow fsm added to the navigator
2016-03-27 12:10:57 +02:00
Lorenz Meier
391f366a03 MAVLink app: formatting 2016-03-24 14:21:49 +01:00
Julian Oes
d3f710dbb5 mavlink: don't use the file logging on Snapdragon 2016-03-24 13:10:02 +01:00
Julian Oes
de0e467150 mavlink: bring buffering for log messages back 2016-03-24 13:10:02 +01:00
Julian Oes
aecdd4e32f mavlink: add logging of mavlink messages back
The logging into a text file was commented out in the recent changes but
is added back in with this commit.
2016-03-24 13:10:02 +01:00
Julian Oes
2d4179a35b mavlink: refactor mavlink_log
This moves the mavlink_log interface from ioctl to uORB and enables the
mavlink statusmessage output for Snapdragon. The API changes will lead
to changes in all modules that are using it.
2016-03-24 13:09:16 +01:00
Lorenz Meier
1fdf252e96 Remove duplicate LAND mode, clean up mode reporting across the board to ensure consistency 2016-03-13 15:39:35 +01:00
Lorenz Meier
a516450868 MAVLink: Send vibration status message 2016-02-25 15:57:53 +01:00
Lorenz Meier
cd583e054e MAVLink app: Use HDOP / PDOP 2016-02-25 13:45:34 +01:00
Lorenz Meier
bafa9bb6bb MAVLink: Fall back in altitude indication to baro if estimate is not available 2016-01-17 16:30:02 +01:00
Lorenz Meier
5227dbe26a MAVLink: Send RC_CHANNELS_OVERRIDE 2016-01-04 12:35:23 +01:00
Lorenz Meier
948d9ee71e Report acceleration 2015-12-18 15:55:16 +00:00
Lorenz Meier
9714af3a8b Fix usage of PWM defines in mavlink app 2015-12-16 16:38:15 +00:00
Daniel Agar
c0070a19a8 VFR_HUD should be indicated airspeed 2015-12-11 10:01:44 +01:00
edkoch
0a56ba8873 Added new telemetry stream to display vision pose updates 2015-12-09 20:34:43 +01:00
Lorenz Meier
4a1dd4f047 Merge pull request #3234 from UAVenture/altitude_message
WIP: Altitude message
2015-12-06 14:10:31 +01:00
Andreas Antener
2ceaab138f added timestamp for altitude message 2015-11-24 14:04:33 +01:00
Andreas Antener
f5a844d4aa added field for pressure altitude to global position 2015-11-24 14:03:54 +01:00
Andreas Antener
8ddc7a27c7 implemented altitude message draft 2015-11-24 14:03:54 +01:00
Lorenz Meier
ff77884c2c MAVLink app: Zero-initialize whole struct 2015-11-22 14:00:01 +01:00
Lorenz Meier
7579d7e901 Report takeoff state correctly 2015-11-21 22:39:38 +01:00
jgoppert
0106be3e89 Added local position estimator. 2015-10-24 20:34:33 +02:00
Lorenz Meier
dda740b709 MAVLink app: Ensure to report battery status correctly according to MAVLink standards 2015-10-11 11:35:46 +02:00
Andreas Antener
46d093c060 implemented extended system state message 2015-10-07 11:51:35 +02:00
Lorenz Meier
afb68cb0ab MAVLink: Switch to HOME_POSITION message 2015-09-27 18:06:53 +02:00
Lorenz Meier
d532e372ac Merge branch 'master' into ekf_voting 2015-09-05 17:41:21 +02:00