1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-10 20:52:11 +01:00

77 Commits

Author SHA1 Message Date
Alessio Morale
18be34db05 Merge remote-tracking branch 'origin/filnet/OP-1246_RadioComBridge_bugs' into next 2014-04-01 21:31:32 +02:00
m_thread
0c61fd35c8 OP-1245 Added table with UAVOs. Re-factored some UAVObject code. 2014-03-06 00:41:48 +01:00
Philippe Renon
5d7e37f6b8 OP-1246 removed left over crc_table member from ground uavtalk 2014-03-04 10:03:45 +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
e716d97803 OP-1122 OP-1120 moved CRC8 utility from uavtalk.cpp to new utils/crc.cpp 2014-01-09 01:10:18 +01:00
Philippe Renon
f422a1d639 OP-1122 OP-1145 made ground uavtalk code more similar to its flight side version 2014-01-09 01:07:25 +01:00
Philippe Renon
02e3970864 OP-1122 OP-1145 ground side uavtalk and telemetry enhancements
- added more stats (bytes, sync errors, crc errors)
- made error handling more robust
2013-12-19 03:19:29 +01:00
Philippe Renon
f105ca4d41 OP-1122 OP-1125 commented out uavtalk verbose mode defines 2013-12-14 16:02:50 +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
9a24f12235 OP-1122 OP-1125 fixed object connection leak in TelemetryMonitor
At each board connection a new connection would be added to the firmwareIAPObj
This would also cause some code to be later signaled mutliple times on board connection
2013-12-11 22:42:27 +01:00
Philippe Renon
617924e64d Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
Conflicts:
	flight/uavobjects/uavobjectmanager.c
	ground/openpilotgcs/src/plugins/uavtalk/telemetrymanager.cpp
	ground/openpilotgcs/src/plugins/uavtalk/uavtalk.pro
	shared/uavobjectdefinition/pathaction.xml
	shared/uavobjectdefinition/waypoint.xml
2013-12-08 14:58:01 +01:00
Philippe Renon
612e66367a OP-1122 OP-1125 made GCS telemetry and uavtalk a bit more robust (more error case handling)
minor cleanup and code reorganization
some preparatory work to read from IODevice  from its own thread
2013-12-08 14:30:51 +01:00
Philippe Renon
b627b71d0e uncrustification 2013-12-02 23:49:03 +01:00
Philippe Renon
37dab0e4fc Merge remote-tracking branch 'origin/next' into filnet/telemetry
Conflicts:
	ground/openpilotgcs/src/plugins/coreplugin/connectionmanager.cpp
	ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp
	ground/openpilotgcs/src/plugins/coreplugin/telemetrymonitorwidget.cpp
	ground/openpilotgcs/src/plugins/coreplugin/workspacesettings.cpp
	ground/openpilotgcs/src/plugins/uavtalk/telemetrymonitor.cpp
2013-12-02 22:54:00 +01:00
Philippe Renon
f2115e270f OP-1122 OP-1133 UAVTalk.cpp - fixed stupid compilation error... 2013-12-01 19:42:41 +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
cb902900de OP-1122 OP-1125 uavtalk - fixed minor typos 2013-11-29 09:23:27 +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
Corvus Corax
31d4234c79 uncrustification for ground/openpilotgcs/src/plugins/uavtalk/uavtalkplugin.h 2013-11-16 17:34:43 +01:00
Corvus Corax
7420276a06 uncrustification for ground/openpilotgcs/src/plugins/uavtalk/telemetrymonitor.h 2013-11-16 17:34:43 +01:00
Corvus Corax
2582eefaed uncrustification for ground/openpilotgcs/src/plugins/uavtalk/telemetrymonitor.cpp 2013-11-16 17:34:42 +01:00
Bertrand Songis
6bb1ae6721 Fix for OP-1080: Unreliable detection of board through OPLink
Conflicts:
	ground/openpilotgcs/src/plugins/uavtalk/telemetrymonitor.cpp
2013-11-06 12:18:10 +01:00
Philippe Renon
f85498e7c5 [OP-1085] Qt5.1.1 - a bit of manual uncrustifying 2013-10-24 00:12:35 +02:00
Philippe Renon
a2ba33f28a [OP-835] Qt 5.1.0 - migrated GCS plugins 2013-09-15 23:37:20 +02:00
Philippe Renon
7486263262 OP-963 made TelemetryMonitorWidget skinnable
- moved telemetry monitor widget from coreplugin to new telemetry plugin
- added a telemetry monitor gadget based on monitor widget.
- cleaned up telemetry monitor widget and made it skinnable
Dependencies have changed:
- connection manager (in coreplugin) is now unaware of the telemetry monitor widget
- the widget is added to the connection manager tray by the telemetry plugin
- the telemetry plugin depends on coreplugin and uavtalk
2013-06-13 01:36:02 +02:00
Sexy Pony
900f643bbd Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES 2013-05-19 17:37:30 +03:00
Oleg Semyonov
5bb6b56b4a OP-772: Normalize line endings 2013-04-05 23:46:56 +03:00
Brian Webb
dae382564a RFM22B/RM: Added rfm22b com device, moved remaining functionality in the radio module to the rfm22 driver, and simplified configuration of the PipX/OPLink. The radio device now presents itself completely as a com device, both in RadioComBridge (OPLink devices) and Telemetry (RM). Also change the PipXStatus and PipXSettings UAVOs to OPLinkStatus/OPLinkSettings. 2012-12-11 17:43:53 -07:00
PT_Dreamer
8b91e19733 GCS/Telemetry Fixes reconnection loop
This fixes a situation where the telemetry would keep looping from the
connected to the reconnecting state. One of the situations this was
happening was going from "halt" to "boot"
2012-09-24 12:32:46 +01:00
PT_Dreamer
78a4241ba2 Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release
Conflicts:
	ground/openpilotgcs/src/plugins/config/cfg_vehicletypes/configfixedwingwidget.cpp
	ground/openpilotgcs/src/plugins/config/cfg_vehicletypes/configgroundvehiclewidget.cpp
	ground/openpilotgcs/src/plugins/config/cfg_vehicletypes/configmultirotorwidget.cpp
	ground/openpilotgcs/src/plugins/config/cfg_vehicletypes/vehicleconfig.cpp
	ground/openpilotgcs/src/plugins/config/configinputwidget.cpp
	ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp
	ground/openpilotgcs/src/plugins/config/configvehicletypewidget.cpp
2012-09-09 13:04:29 +01:00
Laura Sebesta
a94142ec30 Fixed several compile warning complaints.
Conflicts:

	ground/openpilotgcs/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp
2012-08-21 16:18:58 +01:00
Mike LaBranche
8c3488e220 TelemetryMonitorWidget: add op-131 support for connect/disconnect signals
from telemetrymonitor, slots and timers in connectionmanager;
2012-08-14 12:35:53 -07:00
Mike LaBranche
63e5fc80ce TelemetryMonitorWidget: Alpha version with 12 dots. 2012-08-02 16:11:18 -07:00
PT_Dreamer
4dc5e4580d Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release
Conflicts:
	ground/openpilotgcs/src/plugins/config/airframe.ui
	ground/openpilotgcs/src/plugins/config/cfg_vehicletypes/configmultirotorwidget.cpp
	ground/openpilotgcs/src/plugins/uavtalk/telemetry.cpp
2012-07-29 14:28:59 +01:00
James Cotton
bd3ebe5b61 Undo the previous patch to abort transactions if one is pending, but throw a
warning still
2012-07-27 21:09:58 -05:00
James Cotton
6ba8f3ca9e Fix from hyper to catch when multiple object requests stack up 2012-07-27 16:16:12 -05:00
James Cotton
1803f26e9a Fix from hyper to catch when multiple object requests stack up 2012-07-27 20:55:45 +01:00
PT_Dreamer
bc5a1dd43b GCS - added an UDP UAVTalk mirror. 2012-07-19 11:55:24 +01:00
PT_Dreamer
4c9327da7e GCS-Fixes some crashes on hw disconnection. 2012-07-09 00:15:21 +01:00
Brian Webb
7bd32253e5 Removed debug from GCS telemetry. 2012-06-20 18:34:16 -07:00
Brian Webb
3da382e828 Merge remote-tracking branch 'origin/next' into brian/multi-trans-telem 2012-06-20 17:43:17 -07:00
Mike LaBranche
8283d4280e UAVTalk, change private member QIODevice* io to smart pointer QPointer<QIODevice> 2012-06-13 14:57:43 -07:00
Brian Webb
9c1549e6a2 Change return type from Telemetry::transactionTimeout back to void. 2012-06-11 21:24:56 -07:00
Brian Webb
952c6d9f32 Added support for multiple transactions to GCS telemetry. 2012-06-11 21:06:50 -07:00
Brian Webb
dd02873908 Reverted changed mode. 2012-05-11 17:53:53 -07:00