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

8363 Commits

Author SHA1 Message Date
James Cotton
93349e9a56 Sanity Check: uint32_t for loop indexes instead of int 2012-10-25 22:57:57 -05:00
James Cotton
32bf63c436 Sanity Check: Perform the initial check then attach the callbacks to avoid
a case where two threads do the same thing.
2012-10-25 22:51:14 -05:00
James Cotton
b28cdba46d SanityCheck: Trigger sanity check code on callbacks from the appropriate settings.
The only downside is that it needs to update on the TaskInfo object which means
since htat updates periodically this code runs more often that really needed since
the modules only start at first.  However, leaving that connection out means it
misses the initial set of modules.
2012-10-25 21:49:53 -05:00
Stacey Sheldon
bc3a90c6a9 Merge branch 'one-way-telemetry' into next 2012-10-25 22:48:43 -04:00
James Cotton
736f96b297 Sanity check: Add some initial checks for revo that make sure the needed optional modules are
running.
2012-10-25 20:37:21 -05:00
James Cotton
23422d3cd4 Sanity Check. Add the first set of checks:
1. If a flight mode switch allows autotune and autotune module not running
2. If airframe is a multirotor and either manual is available or a stabilization mode uses "none"
2012-10-25 20:37:17 -05:00
James Cotton
b9ebeb2c2e Sanity Check: For now force the sanity check to run once a second and always set an error 2012-10-25 12:43:56 -05:00
James Cotton
68ae9f52c9 SystemAlarms: Convert to the newer way of listing elements to help merges and added SystemConfiguration 2012-10-25 12:31:26 -05:00
James Cotton
0b6fa7fe6f Sanity Checking: Regardless of DIAG_TASK always populate TaskInfo.Running
so we can verify certain modules are running.
2012-10-25 10:01:24 -05:00
Laura Sebesta
b84b8f656c Brought out several air parameter functions from IL2 simulator and added them to the global simulator.cpp file. 2012-10-23 11:59:14 +02:00
Laura Sebesta
5e785d4524 Added body-frame acceleration to ground truth UAVO and to flight simulator output.
Conflicts:

	shared/uavobjectdefinition/groundtruth.xml
2012-10-23 11:50:00 +02:00
Laura Sebesta
433d723251 Added groundtruth simulation support.
This new UAVO serves principally to log data for future comparison with
onboard estimation techniques.

Conflicts:

	ground/openpilotgcs/src/plugins/hitl/il2simulator.cpp
	ground/openpilotgcs/src/plugins/hitl/simulator.h
2012-10-23 11:47:58 +02:00
Oleg Semyonov
721cb16c2b Adopt to the latest release policy
See http://wiki.openpilot.org/display/Doc/Release+policy
2012-10-22 23:44:01 +03:00
Oleg Semyonov
5184dc1087 Revert "Temporary fix for build label (until better system is implemented)"
This reverts commit 5c141d458d.
2012-10-22 22:52:13 +03:00
Oleg Semyonov
73df01bce1 packaging: use release tag without date for tagged releases 2012-10-22 20:36:09 +03:00
Oleg Semyonov
46b6dad9f7 packaging: on Windows use package label passed by Makefile 2012-10-22 20:18:57 +03:00
Oleg Semyonov
2e69258ec5 version-info.py: add ${TAG} variable to the dictionary 2012-10-22 19:54:04 +03:00
Oleg Semyonov
8bfae017bd version-info.py: ability to use positional arguments as extra dictionary keys 2012-10-22 19:52:13 +03:00
Kenz Dale
1ab1ea5899 Save ~150 bytes by moving GPSDataProtocol to SystemSettings.
All credit to Anstron.
2012-10-22 16:47:22 +02:00
Laura Sebesta
db15b01e35 Reenabled double-clicking on Home to set lat/lon/altitude.
Also reduced the size of the double-click sensitive area.
2012-10-22 10:54:13 +02:00
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
Corvus Corax
1fe41c7a67 circular dependency on firmwareinfo due to checksum of firmware required to link firmware - fixed by creating checksum of uavobject inittialization object file instead 2012-10-20 16:07:16 +02:00
Corvus Corax
898292fcdb added (fake) firmware version information to simposix 2012-10-20 15:22:54 +02: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