Skip to content

Commit 2ed2f7a

Browse files
committed
Merge pull request #80 from dronekit/prep-for-0.5
Prep for 0.5
2 parents 2c11a4e + 9ae8abb commit 2ed2f7a

File tree

6 files changed

+46
-42
lines changed

6 files changed

+46
-42
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ INCS += -I. # for <DataFlash/DataFlash.h> in MsgHandler
1111
WARNFLAGS= -Wall -Werror -Wextra -Wunused -Wredundant-decls -D_FORTIFY_SOURCE=2 -Wfloat-equal -fstack-protector -Wformat -Werror=format-security -Werror=pointer-arith -Wpedantic
1212

1313
ifeq ($(OS),Windows_NT)
14-
CXX=i686-w64-mingw32-g++.exe
15-
CC=i686-w64-mingw32-gcc.exe
14+
CXX=x86_64-w64-mingw32-g++.exe
15+
CC=x86_64-w64-mingw32-gcc.exe
1616
LIBS += -lws2_32
1717
LIBS += -lpthread # for clock_gettime/clock_settime on Windows
1818
STATIC=-static
@@ -114,3 +114,7 @@ install-dronekit-la: dronekit-la
114114
install -D dronekit-la $(DESTDIR)/usr/bin/dronekit-la
115115

116116
install: install-dronekit-la
117+
118+
VERSION=0.5
119+
windows-zip: dronekit-la
120+
zip dronekit-la-$(VERSION).zip dronekit-la.exe README.md LICENSE

docs/_tests/analysis_summary.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
DK-LA Version: Version: 0.3
2-
Git-Version: v0.1-200-g2d60
1+
DK-LA Version: Version: 0.5
2+
Git-Version: v0.1-221-g67b8
33

44
DK-LA HELP:
55

@@ -40,7 +40,7 @@ Gyro Drift
4040
Attitude Control
4141
AutoPilot Health
4242
Battery
43-
Brownout
43+
Truncated Log
4444
Position Estimate Divergence
4545
Crash Test
4646
Sensor Health
@@ -77,6 +77,10 @@ Description: The autopilot reports both the craft's attitude and the attitude th
7777
* Fail: Desired attitude not achieved
7878
* Warn: Desired attitude not achieved
7979

80+
TEST: Truncated Log
81+
Description: A log should not end while the vehicle appears to be moving under its own power. This test will FAIL if the vehicle still appears to be moving when the log ends.
82+
* Fail: Log ended while craft still flying
83+
8084
TEST: Battery
8185
Description: Many autopilots are capable of monitoring their flight batteries. This test will FAIL if the battery level falls below the battery failsafe threshold level, or if a battery failsafe event is received.
8286
* Pass: Battery never below failsafe
@@ -93,9 +97,8 @@ TEST: Ever Flew
9397
Description: Determining whether a vehicle has ever flown in a log is done heuristically based on things like motor speeds. This test will FAIL if the craft did not ever seem to fly.
9498
* Pass: The vehicle appeared to fly
9599

96-
TEST: Sensor Health
97-
Description: A UAV can self-assess its sensors' health. This test will FAIL if any sensor is detected as failed.
98-
* Fail: The craft's assessment of its sensors indicate a problem
100+
TEST: Velocity Estimate Divergence
101+
Description: A UAV typically has several estimates of its velocity. This test will FAIL if the craft's velocity estimates diverge.
99102

100103
TEST: Crash Test
101104
Description: Crashes are detected both heuristically and by explicit log messages. This test will FAIL if the vehicle appears to crash.
@@ -108,10 +111,6 @@ TEST: Vehicle Definition
108111
Description: The vehicle type is normally automatically detected by dronekit-la from the log. Sometimes the log does not contain sufficient information to make this determination. This test will FAIL if the craft type is never defined
109112
* Pass: Vehicle was appropriately defined
110113

111-
TEST: Brownout
112-
Description: A log should not end while the vehicle appears to be moving under its own power. This test will FAIL if the vehicle still appears to be moving when the log ends.
113-
* Fail: Log ended while craft still flying
114-
115114
TEST: Position Estimate Divergence
116115
Description: A UAV often has several estimates of its position. This test will FAIL or WARN if the various vehicle's position estimates diverge.
117116
* Fail: This position estimate differs from the canonical craft position
@@ -122,13 +121,14 @@ Description: The strength and direction of the Earth's magnetic field should be
122121
TEST: Arming Checks
123122
Description: An autopilot checks many aspects of the aircraft's state before allowing it to be armed - for example, that it has a good GPS fix. This test will FAIL if the craft ever arms when some arming checks are disabled.
124123

125-
TEST: Velocity Estimate Divergence
126-
Description: A UAV typically has several estimates of its velocity. This test will FAIL if the craft's velocity estimates diverge.
124+
TEST: Sensor Health
125+
Description: A UAV can self-assess its sensors' health. This test will FAIL if any sensor is detected as failed.
126+
* Fail: The craft's assessment of its sensors indicate a problem
127127

128128
TEST: Attitude Estimate Divergence
129129
Description: A UAV often has several estimates of its attitude. This test will FAIL or WARN if the various vehicle's attitude estimates diverge.
130130
* Fail: This attitude estimate differs from the canonical craft attitude
131131

132132
TEST: Compass Offsets
133133
Description: Compass calibration produces a set of parameters that specify expected compass discrepancies. This test will WARN or FAIL depending on the degree that these compass offset parameters exceed specified thresholds.
134-
* Fail: Compass offsets in parameters are out of bounds
134+
* Fail: Compass offsets in parameters are out of bounds

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
# built documents.
6262
#
6363
# The short X.Y version.
64-
version = '0.4'
64+
version = '0.5'
6565
# The full version, including alpha/beta/rc tags.
66-
release = '0.4'
66+
release = '0.5'
6767

6868
# The language for content autogenerated by Sphinx. Refer to documentation
6969
# for a list of supported languages.

docs/guide/other_features.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ You can list them using the ``-l`` flag. At time of writing (DroneKit-LA 0.3) th
5656
Attitude Control
5757
AutoPilot Health
5858
Battery
59-
Brownout
59+
Truncated Log
6060
Position Estimate Divergence
6161
Crash Test
6262
Sensor Health

docs/reference/analyzers.rst

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -157,29 +157,6 @@ threshold level, or if a battery failsafe event is received.
157157
158158
159159
160-
Brownout
161-
========
162-
163-
A log should not end while the vehicle appears to be moving under its own power.
164-
This test will FAIL if the vehicle still appears to be moving when the log ends.
165-
166-
* Fail: Log ended while craft still flying
167-
* Warn: Altitude never changed
168-
* Pass: No brownout detected
169-
170-
.. note::
171-
172-
There are several possible causes for a truncated log (including power failure due to brownout,
173-
running out of memory for the log file, or failure of the logging sub-system). Failing this test
174-
does not necessarily mean a brownout actually occurred.
175-
176-
177-
.. internalnotes
178-
179-
- defined in:
180-
https://github.com/dronekit/dronekit-la/blob/master/analyzer/analyzer_brownout.cpp
181-
https://github.com/dronekit/dronekit-la/blob/master/analyzer/analyzer_brownout.h
182-
183160
184161
185162
Compass Offsets
@@ -387,6 +364,29 @@ A UAV can self-assess its sensors' health. This test will FAIL if any sensor is
387364
https://github.com/dronekit/dronekit-la/blob/master/analyzer/analyzer_sensor_health.h
388365
389366
367+
Truncated Log
368+
=============
369+
370+
A log should not end while the vehicle appears to be moving under its own power.
371+
This test will FAIL if the vehicle still appears to be moving when the log ends.
372+
373+
* Fail: Log ended while craft still flying
374+
* Warn: Altitude never changed
375+
376+
377+
.. note::
378+
379+
There are several possible causes for a truncated log (including power failure due to brownout,
380+
running out of memory for the log file, or failure of the logging sub-system).
381+
382+
383+
.. internalnotes
384+
385+
- defined in:
386+
https://github.com/dronekit/dronekit-la/blob/prep-for-0.5/analyzer/analyzer_truncated_log.cpp
387+
https://github.com/dronekit/dronekit-la/blob/prep-for-0.5/analyzer/analyzer_truncated_log.h
388+
389+
390390
.. _analyzer_listing_vehicle_definition:
391391

392392
Vehicle Definition

loganalyzer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// if you modify this, modify the debian metadata using e.g.
1313
// debchange -r -e (FIXME)
1414

15-
#define DRONEKIT_LA_VERSION "0.3"
15+
#define DRONEKIT_LA_VERSION "0.5"
1616

1717
#include "INIReader.h"
1818

0 commit comments

Comments
 (0)