Commit Graph

48668 Commits

Author SHA1 Message Date
Anton Babushkin a5f2d1b066 mavlink: new message sending API, includes fixed 2014-07-23 11:11:49 +02:00
Anton Babushkin 344a34bb72 mavlink: MavlinkStream API updated 2014-07-23 11:03:37 +02:00
Anton Babushkin 4722b609cc mavlink: parameters handling moved to MavlinkParametersManager class 2014-07-23 11:03:04 +02:00
Thomas Gubler 825b84fa3b Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages
Conflicts:
	src/modules/mavlink/mavlink_main.cpp
2014-07-23 09:31:28 +02:00
ggregory8 38d3efa985 Correct vision velocity estimate correction type 2014-07-23 15:12:26 +08:00
Lorenz Meier a7d2963e2b Enable UAVCAN 2014-07-23 08:27:45 +02:00
Lorenz Meier 7f0e675228 Pass over drivers to reduce build size 2014-07-23 08:24:56 +02:00
ggregory8 a48bede96f Remove unused commented code 2014-07-23 14:24:51 +08:00
Anton Babushkin ef363edfcd mavlink: TX/RX rate counters added 2014-07-23 08:19:24 +02:00
Lorenz Meier b344b94d30 Fix code style, no actual code edits 2014-07-23 08:19:13 +02:00
Lorenz Meier 63f1ee184a Add hint that heartbeats are only considered if coming from a GCS 2014-07-23 08:19:04 +02:00
Lorenz Meier 91becef344 Cleanup of heartbeat handling and status printing. Ready to go mainline 2014-07-23 08:18:55 +02:00
Lorenz Meier 0c0b1a4c66 Print mavlink radio module rates 2014-07-23 08:18:45 +02:00
Lorenz Meier ed9f9ec864 code style only: Fix indendation in mavlink.h 2014-07-23 08:18:34 +02:00
Randy Mackay e6594e5192 tone_alarm: add EKF_WARNING tune
Conflicts:
	mavlink/include/mavlink/v1.0
2014-07-23 06:30:32 +02:00
Pavel Kirienko 99b7aa8579 Properly handling the initial node status broadcast in passive mode 2014-07-23 03:17:11 +04:00
Thomas Gubler ed19faf428 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-07-22 21:20:04 +02:00
Pavel Kirienko 43c5d2e090 BatteryStatus message doc fix 2014-07-22 19:54:43 +04:00
Lorenz Meier 1b5d4e5bd4 Comment out uavcan due to build breakage, will go back in ASAP 2014-07-22 17:42:34 +02:00
ggregory8 dfbbc6600e Seperate vision position estimate correction logic from gps. Add vision weight parameters. Fixes false positive of valid position indication 2014-07-22 21:01:10 +08:00
ggregory8 ef74f4ad89 Shorten vision parameter name 2014-07-22 20:48:18 +08:00
Pavel Kirienko 046c9559d1 Gimbal status messageupdate 2014-07-22 15:08:12 +04:00
Pavel Kirienko 35b7ae180b Power messages update 2014-07-22 15:01:34 +04:00
ggregory8 dd0e39972f Add weight parameter for vision velocity 2014-07-22 14:00:49 +08:00
Lorenz Meier 086fc7f758 Merge pull request #1128 from PX4/uavcan
Basic UAVCAN support
2014-07-22 06:48:49 +02:00
ggregory8 a063f58e00 Add vision weight parameters to structure 2014-07-22 12:36:28 +08:00
Pavel Kirienko 940becd0c1 UAVCAN update: Mako dependency removed 2014-07-22 02:55:14 +04:00
Pavel Kirienko dca2611c31 Libuavcan DSDL compiler: Speed optimization - full generation takes less than a second (way faster than Mako) 2014-07-22 02:53:07 +04:00
Pavel Kirienko 5d7666f059 Libuavcan DSDL compiler: Using the built-in Pyratemp instead of Mako, so virtually we don't need any 3rd party dependencies anymore 2014-07-22 02:37:21 +04:00
Thomas Gubler a9a8f1435f abort comm loss mode if counter above param and return home directly 2014-07-21 23:56:32 +02:00
Lorenz Meier 5bb3e92d36 Merge pull request #1211 from PX4/battload
Consider the throttle load for battery voltage calculation
2014-07-21 20:51:34 +02:00
Lorenz Meier 07d11583bb Rely on theoretical value, as the closed-loop test with multimeter suggests this is the most accurate measurement 2014-07-21 20:21:20 +02:00
Lorenz Meier 178b0f7399 Cross-check with nominal values from divider 2014-07-21 19:25:23 +02:00
Pavel Kirienko 137a2f36d8 Refactored uavcan.protocol.SoftwareVersion 2014-07-21 16:31:17 +04:00
Pavel Kirienko 4d554116d8 GetNodeInfo - UAVCAN stack version removed 2014-07-21 15:57:38 +04:00
Lorenz Meier 331623bbd4 Fix missing line endings 2014-07-21 13:48:59 +02:00
Lorenz Meier 0fc73a1484 Fix comment, missing brace in comment 2014-07-21 13:46:38 +02:00
Lorenz Meier 956c084f31 Fit IO voltage estimation using a new dataset, cross-validated with a second unit. Pending testing 2014-07-21 13:31:35 +02:00
Lorenz Meier afff123742 Add PX4IO voltage dataset and linear fit 2014-07-21 13:30:56 +02:00
Lorenz Meier 25d1cc3995 Final value for battery load param default 2014-07-21 07:35:23 +02:00
Anton Babushkin ee7cd04e4c mavlink: use send_message() method of Mavlink class instead of using helpers 2014-07-20 20:34:32 +02:00
Lorenz Meier c95de36d3a commander: Add missing parameter definition 2014-07-20 19:42:31 +02:00
Thomas Gubler 86b9e367a6 introduce data link lost counter 2014-07-20 18:23:41 +02:00
Thomas Gubler dcf114aa65 data link loss timeout as param 2014-07-20 17:53:04 +02:00
Thomas Gubler 075a99e6e0 Merge remote-tracking branch 'upstream/obcfailsafe' into obcfailsafe 2014-07-20 17:41:33 +02:00
Thomas Gubler 74417f1439 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-07-20 17:40:38 +02:00
Thomas Gubler 8739308999 WIP, datalinkloss: implementing basic behavior 2014-07-20 17:40:26 +02:00
Lorenz Meier 264fe884a2 Fixed load voltage calculation 2014-07-20 16:28:44 +02:00
Lorenz Meier 3935540c7d Set full voltage correctly to ensure percentage range fits. Force all users to new value by param renaming. Since this will tend to show batteries as more drained than before, this is a change in a safe direction and will not trigger unnoticed discharges. 2014-07-20 16:23:43 +02:00
Lorenz Meier e21cb64553 Merge branch 'master' of github.com:PX4/Firmware into battload 2014-07-20 16:21:59 +02:00