1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
Alessio Morale
3128127392 OP-1841 - Check available size at each step to avoid overrun 2015-04-20 05:48:39 +02:00
Alessio Morale
4e9d092b03 OP-1776 - Disable radioRx task if radio is not enabled, fix for comments 2015-03-15 16:26:56 +01:00
Alessio Morale
bb0e03e387 OP-1776 - Further cleanup/optimization for ProcessTelemetryStream* functions 2015-03-14 14:39:02 +01:00
Alessio Morale
a418ca349f OP-1776 - Fixes from review 2015-03-14 13:46:08 +01:00
Alessio Morale
5657f4757b OP-1776 - Optimize RX exchanging buffers instead of working a byte at time 2015-03-10 20:35:40 +01:00
Alessio Morale
6226aec2a7 OP-943 uses pios_mem API for heap allocation 2014-06-11 22:15:40 +02:00
Philippe Renon
37a09bbd34 OP-1246 minor cleanups in flight uavtalk 2014-03-04 10:05:17 +01:00
Philippe Renon
d37854dceb OP-1246 fixed UAVTalkRelayPacket return type to match documentation 2014-03-04 10:01:13 +01:00
Philippe Renon
067cb6f098 OP-1246 made updating of RadioComBridgeStats thread safe 2014-03-04 09:56:42 +01:00
Philippe Renon
d43b220dc0 OP-1122 uncrustified gcs and flight 2014-01-14 22:46:01 +01:00
Philippe Renon
96588ab13e OP-1122 OP-1145 fixed logging helper as per review
+review OPReview-604
2014-01-14 21:05:27 +01:00
Philippe Renon
fe4fe46e34 OP-1122 OP-1145 flight uavtalk minor typo fix and minor error handling improvment 2014-01-06 21:45:01 +01:00
Philippe Renon
5f33fadb1b OP-1122 OP-1145 flight side uavtalk and telemetry enhancements
- added more stats (bytes, sync errors, crc errors)
- made error handling more robust
- added some optional PIOS_DEBUGLOG calls
- fixed a timestamp handling bug
2013-12-19 00:17:08 +01:00
Philippe Renon
2d1a17e267 OP-1122 OP-1125 minor uavtalk cleanups
- removed some magic numbers
- improved some error messages
- minor error handling improvments
2013-12-14 16:02:14 +01:00
Philippe Renon
625d7d53fc OP-1122 OP-1125 reworked uavtalk encoding/decoding to fix issues found during OPLM testing
Packet sizes are now again properly calculated and sent by GCS
Made the ground and flight side more symmetric and robust
Fixed few error handling issues
Replaced UAVTALK_QXTLOG_DEBUG define with qWarning() calls
Known issue : GCS sometimes reports bad CRC on messages received over USB connection
2013-12-12 00:05:58 +01:00
Philippe Renon
4f9231e247 OP-1122 OP-1125 fixed regression in flight side uavtalk introduced in a recent commit 2013-12-04 20:54:07 +01:00
Philippe Renon
ab89d6a491 OP-1122 OP-1125 fixed defect raised in OPReview-593 : two occurences of connection->respObj clearing were removed when they should not have been removed 2013-12-01 21:44:14 +01:00
Philippe Renon
0dc334adea OP-1122 OP-1133 exposed send/request all instances of multi instance uav objects and made related uavtalk fixes 2013-12-01 19:25:44 +01:00
Philippe Renon
390c88b92a OP-1122 OP-1125 uavtalk - object request messages are now acked only by object messages and acked object messages are acked only by ack messages 2013-11-29 02:51:46 +01:00
Philippe Renon
15c4392ed5 OP-1122 OP-1125 uavtalk - more OPReview-593 related cleanups 2013-11-29 01:21:45 +01:00
Philippe Renon
50a0a4f512 OP-1122 OP-1125 uavtalk - minor OPReview-593 related cleanups 2013-11-28 23:42:08 +01:00
Philippe Renon
2f0974fda9 OP-1122 OP-1125 uavtalk - fixed a number of issues concerning acked multi instance messages :
- all messages now systematically include an instance ID (fixes parsing of messages containing unknown object)
- added missing NACK of object request on fight side
- added more logging and warnings
- misc fixes and cleanups
this commit affects both the firmware and GCS (need to flash new version of firmware)
2013-11-28 01:14:29 +01:00
Philippe Renon
1469277f96 OP-1122 OP-1125 removed dead code from fw uavtalk (first fw commit ;) 2013-11-23 14:59:24 +01:00
Brian Webb
2aea2342ab OP-932 Adds a direct PPM channel on each Tx packet when in PPM mode, and adds a PPM only mode that uses a 9600 bps air datarate. Also updates the OPLink configuration tab and moves all OPLink configuration to the OPLink configuration tab on the Revo, and customizes the OPLink configuration tab for the Revo. 2013-06-26 18:01:54 -07:00
Brian Webb
f8d60e6dee OP-932 Adds additional thread and UAVTalk connection to the telemetry module that reads from the uart/radio link on the Revo. This allows the Revo to read OAVObjects over both the uart/radio link and the USB link at the same time. Unfortunately, there's no way to know which link to send UAVObjects out on, so all UAVObjects go to the USB port if USB is connected. This allows UAVObjects to be received from the OPLink radio, even when USB is connected. 2013-06-26 17:58:02 -07:00
Brian Webb
12c8ef2e3a OP-932 Changes the UAVTalkRelayInputStream function to UAVTalkRelayPacket to allow for not relaying a packet on error, etc. Also adds a function to get the object ID out of the current packet (UAVTalkGetPacketObjId). These functions are used by the OPLink. 2013-06-26 17:56:40 -07:00
Brian Webb
f9706132f7 Fixed setting of timestampLength in UAVTalk parsing when the UAVObject is not initialize in the firmware. This mostly affects the OPLink, which doesn't initialize most of the UAVObjects, but does need to parse them. 2013-06-04 20:37:51 -07:00
Sexy Pony
900f643bbd Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES 2013-05-19 17:37:30 +03:00
Richard Flay (Hyper)
a2d8544931 OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required
to make the flight code compile again. Needs careful review, particularly all the fixes for the
signed vs unsigned comparisons.

+review OPReview-459
2013-05-05 16:32:24 +09:30
Oleg Semyonov
27195b7327 OP-899: move UAVObjects and UAVTalk one level up from targets 2013-04-24 00:07:07 +03:00