Commit Graph

1228 Commits

Author SHA1 Message Date
Daniel Agar 27cd3af7fb mavlink fix missing MavlinkStreamNavControllerOutput (#4538) 2016-05-14 00:39:17 +02:00
Daniel Agar 008354f935 testing cleanup 2016-05-13 13:01:41 +02:00
Daniel Agar 39d388051a WIP posix_sitl_test 2016-05-13 13:01:41 +02:00
Daniel Agar 2bc74fd5d9 restore px4fmu-v2_test 2016-05-13 13:01:41 +02:00
Daniel Agar eae726e345 FW add mavlink NAV_CONTROLLER_OUTPUT 2016-05-13 12:56:04 +02:00
Lorenz Meier d89937502c MAVLink: Clean up stream init 2016-05-13 10:34:25 +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
Lorenz Meier 06938064c1 MAVLink: Always accept commands to avoid corner case with USB power 2016-05-10 12:41:48 +02:00
Lorenz Meier 48d7295be6 Default to a multicopter 2016-05-06 07:28:36 +02:00
Lorenz Meier ae75ba26b7 MAVLink: Remove excessive stack 2016-05-05 19:36:39 +02:00
Daniel Agar 7aa6e85563 enable Wshadow 2016-05-05 13:32:42 +02:00
Lorenz Meier c958bfeaa3 MAVLink app: Report OS and Firmware version 2016-05-03 11:39:54 +02:00
Lorenz Meier ae123d9e20 MAVLink app: Do not accept config commands on wireless links when USB is connected 2016-04-30 09:15:06 +02:00
Lorenz Meier 796af52df2 MAVLink app: Offer a little more RAM 2016-04-29 22:05:56 +02:00
Lorenz Meier 2a963dc3b7 Initialize MAVLink system to sane defaults 2016-04-29 22:00:00 +02:00
Andreas Antener f1d86a9064 removed not needed memsets 2016-04-28 13:39:02 +02:00
Andreas Antener a6878fb653 initialize offboard structs 2016-04-28 13:39:01 +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
Beat Küng f62324c8a6 mavlink_receiver.cpp: use sizeof(gps_inject_data_topic.data) instead of hardcoded size 2016-04-25 09:48:24 +02:00
Beat Küng 6029551c63 gps & mavlink receiver: use C arrays instead of std::array<> 2016-04-25 09:48:24 +02:00
Beat Küng b427f5c90d mavlink_receiver.cpp: fix coding style 2016-04-25 09:48:24 +02:00
Beat Küng 5b684a77f4 mavlink_receiver.cpp: remove __BEGIN_DECLS, __END_DECLS
This is the wrong usage of the macros and not needed at this place
2016-04-25 09:48:24 +02:00
Beat Küng 5cf351f585 orb: add gps_inject_data message & publish from mavlink 2016-04-25 09:48:24 +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
Nicolas de Palezieux 8c246b3219 mavlink_receiver: only publish the distance measurement of the mavlink flow message on uORB if they are valid
On the snapdragon, optical flow is computed in a separate process and sent to the mainapp via mavlink. Distance measurements come from a range sensor and are already published on uORB.
Here we make sure that meaningless distance values in the mavlink optical flow message do not interfere with the ones from other sources.
2016-04-21 18:18:08 +02:00
devbharat e70804c9d0 Removed debug comments 2016-04-18 18:45:50 +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
Lorenz Meier 2c2a87cea1 MAVLink app: Read MAVLink transponder report 2016-04-17 17:57:00 +02:00
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Julian Oes 0438bf6a8b mavlink: get the ifdefs correct 2016-04-12 10:13:52 -07:00
Julian Oes 72be6de0cf mavlink: whitespace fix 2016-04-12 10:13:52 -07:00
Julian Oes 361c057412 mavlink: get mavlink reconnection working 2016-04-12 10:13:52 -07: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