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

8091 Commits

Author SHA1 Message Date
Stacey Sheldon
4892fdb33d telemetry: allow telemetry to flow when not connected to GCS
Previously, when unconnected, only the flighttelemetrystats
UAVO was Tx'd.  All other UAVOs were inhibited.  This led to
zero telemetry data when the connection to the GCS was gone.
This precluded getting useful telemetry from a receive-only
station.

This commit changes two main areas.

First, UAVO updates are now allowed regardless of the "connected"
state between the GCS/FC.

Second, it makes both the flighttelemetrystats and gcstelemetrystats
UAVOs un-acked.  This prevents these objects from blocking all
other UAVOs while they wait for their ack.  This is OK since the
real "connection" negotiation happens via the states exchanged in
the Status field of these UAVOs.
2012-10-21 22:51:17 -04:00
Laura Sebesta
617196f106 Deleted last of the old HiTL files that didn't get automatically deleted in the merge. 2012-10-21 10:44:08 +02:00
Stacey Sheldon
4bf2db57ad Merge remote-tracking branch 'op-public/next' into revo-next 2012-10-20 18:34:45 -04:00
Stacey Sheldon
98176d9829 makefile: include hint for enabling verbose build output 2012-10-20 15:06:18 -04:00
Stacey Sheldon
127ca1e7e1 Merge remote-tracking branch 'op-public/next' into revo-next
Conflicts:
	ground/openpilotgcs/src/plugins/hitl/plugin.pro
	ground/openpilotgcs/src/plugins/hitlnew/fgsimulator.cpp
	ground/openpilotgcs/src/plugins/hitlnew/hitlconfiguration.cpp
	ground/openpilotgcs/src/plugins/hitlnew/hitloptionspage.cpp
	ground/openpilotgcs/src/plugins/hitlnew/hitloptionspage.ui
	ground/openpilotgcs/src/plugins/hitlnew/il2simulator.cpp
	ground/openpilotgcs/src/plugins/hitlnew/simulator.cpp
	ground/openpilotgcs/src/plugins/hitlnew/simulator.h
	ground/openpilotgcs/src/plugins/hitlnew/xplanesimulator.cpp
	ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro
2012-10-20 13:56:18 -04:00
Stacey Sheldon
ebbefd6d54 makefile: quiet down the uavobjgenerator build output 2012-10-20 13:25:24 -04:00
Stacey Sheldon
db571d7a3c makefile: quiet down the GCS build output
This removes the detailed output of the GCS build by
default so that warnings and errors become more evident.

Full output can be enabled by adding "V=1" to the make
command line.  Same mechanism as is used for the firmware
builds.
2012-10-20 13:19:16 -04:00
Richard Flay (Hyper)
7b7bb0ff24 Added support for Mode 3 and Mode 4 to the TX Configuration Wizard. Fixed a number of bugs and issues in the wizard. Made some changes to wizard text and layouts as well. 2012-10-19 20:30:42 +10:30
James Cotton
aba5c65e93 GCS Config Gadget: Fix the file name for the pipx icons in the code and
name the icons correctly
2012-10-17 01:06:45 -05:00
James Cotton
298b052c7d GCS Config: Crashing for an unknown board seems a bit harsh. 2012-10-17 00:57:28 -05:00
David Ankers
ec85cd7305 Spelling of Spectrum to Spektrum 2012-10-17 13:28:07 +11:00
James Cotton
b906169ac9 Merge remote-tracking branch 'origin/stac/android-build-fixes' into next 2012-10-16 14:27:20 -05:00
James Cotton
1c89b24329 Merge branch 'android-uavo-fix' into next 2012-10-16 14:27:01 -05:00
James Cotton
c1f9948a81 Merge branch 'master' into next 2012-10-16 14:26:35 -05:00
James Cotton
8fb0d70f51 AndroidGCS Telemetry: Make the connected signal only occur after all objects
are downloaded

In the case of a flaky connection this will render telemetry mostly masked
from the activities.  However, it ensures that all the information is present
after a connection.

Some compromise is probably needed for using this in the field, such as a
tiered system:
1. Physical channel open (no idea about reception)
2. Link estabilished (at least some reception)
3. Full telemetry established (all objects synced up)
2012-10-16 12:33:06 -05:00
James Cotton
b0522a319f AndroidGCS Telemetry: Sending an update could interrupt a pending transaction
We allow sending objects that don't create a transaction while waiting for one
to complete.  However, this was overriding the pending transaction information
(when there wasn't a new transaction) and masking the transaction completed
message.

Note: I think this logical error can occur on the GCS side and might explain the
"transaction completed when not expected" messages.
2012-10-16 12:33:00 -05:00
David Ankers
93c76ec4bf Update credits inside the GCS based on the project and not just code. 2012-10-17 03:27:12 +11:00
David Ankers
25cdd55cfa Mention OGL bug with Intel 965 on out dated drivers 2012-10-17 00:13:41 +11:00
David Ankers
a20c524a84 Add MikeL 2012-10-16 23:18:19 +11:00
David Ankers
232cabd3d1 Add hardware files 2012-10-16 22:52:45 +11:00
David Ankers
0d5f6e0bd9 Add Andy 2012-10-16 22:45:00 +11:00
David Ankers
445eb20a85 one letter typeo 2012-10-16 22:16:33 +11:00
David Ankers
74bf1b10d6 Fuck, Kenn was missing, all I need. 2012-10-16 22:14:16 +11:00
David Ankers
3de35db5a7 Add some people to the credits file, update and I bet I have missed
several people.
2012-10-16 21:41:53 +11:00
Laura Sebesta
350fc8db3b Fixed HiTL bug by which gps velocity was not being updated. 2012-10-16 11:59:58 +02:00
James Cotton
5c55dc07b0 AndroidGCS: The leading 0 in each two bytes of the UAVO hash could get chewed up 2012-10-15 19:41:00 -05:00
David Ankers
39f24a0764 Merge branch 'pt/nextnext' of ssh://git.openpilot.org/OpenPilot into nextnext 2012-10-16 11:28:18 +11:00
David Ankers
57baaed3e1 Add issues from Ryan (Nayr) 2012-10-16 11:13:06 +11:00
Fredrik Arvidsson
dd7b69dbbc Fixed so that the actuator state error message box does not open behind the wizard. Changed the text to be more informative. 2012-10-16 00:37:15 +02:00
Oleg Semyonov
5c141d458d Temporary fix for build label (until better system is implemented) 2012-10-16 01:14:12 +03:00
Oleg Semyonov
249e6db241 Windows Uninstaller: remove GCS config files (including obsolete) on demand 2012-10-16 01:14:11 +03:00
David Ankers
2db1bcdaf8 Wide Screen config, added UAVOB and some resizes. Synced normal and
widescreen so they are basically the same except for ID and splitters.
2012-10-16 09:08:47 +11:00
David Ankers
1c38593cb3 Add the KNOWN_ISSUES.txt to git 2012-10-16 06:09:06 +11:00
PT_Dreamer
b318861619 GCS-Fix eventloop on the connect board while loop 2012-10-15 19:39:20 +01:00
James Cotton
f94f187528 AndroidGCS: Remove an unnecessary check that was triggering false positive telemetry errors 2012-10-14 19:54:44 -05:00
James Cotton
d975a65f65 AndroidGCS: Delete any existing jars before loading to make sure behavior is consistent 2012-10-14 19:54:38 -05:00
Fredrik Arvidsson
e78cd29c5f Changed port assignments when Spectrum Rx is choosen. 2012-10-15 00:06:13 +02:00
James Cotton
7eac1e2245 AndroidGCS Telemetry: Use more finely grained semaphores to fix a deadlock
between UAVTalk and Telemetry.

1. processInputStream -> updateObjReq (locks uavtalk) -> tranactionCompleted (locks transInfo)
2. transactionTimeout (locks transInfo) -> sendObjectRequest -> ? -> setupTransaction (locks uavtalk)
2012-10-14 16:03:23 -05:00
James Cotton
c142deaa9d When the UAVO collection is missing, list which are available. 2012-10-14 14:34:11 -05:00
James Cotton
16adf27082 AndroidGCS: Make the telemetry monitor deal with loading the UAVO set before
starting to retrieve all the objects.
2012-10-14 14:33:27 -05:00
PT_Dreamer
e43d3dd7db GCS-Show first 4 bytes of uavohash instead of last 4. 2012-10-14 19:32:19 +01:00
Stacey Sheldon
bc13c20bf3 uavohash: normalize line endings before computing hash
Line endings in the UAVO XML files differ from file to file
and this results in different SHA1 sums being computed on
Windows vs. Linux/Mac.

This normalizes the line endings to LF (python native) while
processing the XML files.
2012-10-14 13:33:58 -04:00
Fredrik Arvidsson
173cf041cb Fixed texts in Vehicle Setup Wizard.
Added new icons for PipX.
Enabled hyper link to esc wiki page on wizard output page.
2012-10-14 16:46:28 +02:00
PT_Dreamer
70d7d16aff GCS-Debug message to understand different uavohash behaviour 2012-10-14 14:52:04 +01:00
PT_Dreamer
30959b460d GCS-Airframe config
Fixes rounding issues. Needs TESTING.
2012-10-14 13:15:09 +01:00
sambas
731ac9bc48 Y6 Pitch and Yaw mixer load fix 2012-10-14 12:08:37 +01:00
PT_Dreamer
d25061ac0a GCS-Hides wizard to display dialog 2012-10-14 01:10:30 +01:00
Stacey Sheldon
9e75547bb4 makefile: remove nearly all reliance on symlinks
Symlinks to nonexistent files or directories don't
work on windows.
2012-10-13 18:59:15 -04:00
Stacey Sheldon
18b5bd4690 makefile: stop using extended regexp in sed
Looks like mac doesn't support the -r option to sed to
turn on extended regexps.  It only supports the -E option
which linux doesn't.

So, simplest fix is to avoid extended regexps and just
use as many dots as possible from now on.
2012-10-13 15:58:20 -04:00
chris pember
4226af60a4 GCS-Fix growing button on the calibration page 2012-10-13 19:26:05 +01:00