enhance test plan & report
authorOlivier Matz <zer0@droids-corp.org>
Tue, 6 May 2014 19:07:52 +0000 (21:07 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Tue, 6 May 2014 19:12:31 +0000 (21:12 +0200)
notes.txt

index 4096dfa..5c33678 100644 (file)
--- a/notes.txt
+++ b/notes.txt
@@ -253,7 +253,7 @@ Test 2: send data, bidirectional
 Same than above, except that the WING replies to each received packet with a
 packet of same size.
 
-Same kind of output.
+Same kind of output, ans also measure latency.
 
 Test 3: test wing control on ground
 -----------------------------------
@@ -264,7 +264,20 @@ Ghz controller as a fallback (bypass mode).
 Check that the bypass mode is enabled when we ask it (for instance on the
 channnel 5 switch) or when we switch off the RC board.
 
-Test 4: embed in WING and send dummy servo commands
+Test 4: embed in WING and send hello
+------------------------------------
+
+The WING board is embeded during a flight. The RC board sends hello message at a
+specified rate (choosen from results of test 1 and 2). The WING sends
+statistics.
+
+Check how the wing distance impacts:
+- the statistics
+- the RX DB
+
+Maybe check with and without the 433Mhz beacon.
+
+Test 5: embed in WING and send dummy servo commands
 ---------------------------------------------------
 
 Test in real conditions: the WING board is embeded during a flight. The RC board
@@ -283,7 +296,178 @@ Output:
 
 After this test, we should be confident that xbee is useable in real conditions.
 
-Test 5: control the wing with the RC board
+Test 6: control the wing with the RC board
 ------------------------------------------
 
 Same than test 3, but in real flight conditions.
+
+
+-----------------------
+
+test report
+===========
+
+test1
+=====
+
+no stats sent from wing (except if contrary specified)
+don't forget to run read duty-cycle
+to reset duty-cycle, use "write soft-reset"
+
+Be careful, some packets are dropped even with power level = 0 due to over
+power. Need to use a faraday cage.
+
+50ms
+-------
+
+1 byte per msg
+20B/s (160b/s) of useful bandwidth
+mainboard > rc_proto_hello wing 50 1000 x
+  1000/1000
+  1000/1000
+  1000/1000
+
+each test (50s) eats ~5% of duty cycle
+
+10 bytes per msg
+200B/s (1.6Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 50 1000 0123456789
+with stats send every second:
+  950/1000
+  994/1000
+  950/1000
+  1000/1000
+  999/1000
+without stats:
+  1000/1000
+  1000/1000
+  1000/1000
+
+20 bytes per msg
+400B/s (3.2Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 50 1000 01234567890123456789
+  1000/1000
+  1000/1000
+
+40 ms
+-------
+
+1 byte per msg
+25B/s (200b/s) of useful bandwidth
+mainboard > rc_proto_hello wing 40 1000 x
+  1000/1000
+  1000/1000
+  1000/1000
+
+10 bytes per msg
+250B/s (2Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 40 1000 0123456789
+  998/1000
+  1000/1000
+  1000/1000
+
+20 bytes per msg
+500B/s (4Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 40 1000 01234567890123456789
+  1000/1000
+  1000/1000
+  1000/1000
+
+30 ms
+-------
+
+1 byte per msg
+33B/s (300b/s) of useful bandwidth
+mainboard > rc_proto_hello wing 30 1000 x
+  1000/1000
+  1000/1000
+  1000/1000
+
+10 bytes per msg
+333B/s (3Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 30 1000 0123456789
+  1000/1000
+  1000/1000
+  1000/1000
+
+20 bytes per msg
+666B/s (6Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 30 1000 01234567890123456789
+  1000/1000
+  1000/1000
+  1000/1000
+
+20 ms
+-------
+
+1 byte per msg
+50B/s (400b/s) of useful bandwidth
+mainboard > rc_proto_hello wing 20 1000 x
+  991/1000
+  991/1000
+  991/1000
+
+10 bytes per msg
+500B/s (4Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 20 1000 0123456789
+  863/1000
+  864/1000
+  864/1000
+
+20 bytes per msg
+1000B/s (8Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 20 1000 01234567890123456789
+  763/1000
+  763/1000
+  763/1000
+
+25 ms
+-------
+
+1 byte per msg
+40B/s (320b/s) of useful bandwidth
+mainboard > rc_proto_hello wing 25 1000 x
+  1000/1000
+  1000/1000
+  1000/1000
+
+10 bytes per msg
+400B/s (3.2Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 25 1000 0123456789
+  1000/1000
+  1000/1000
+  1000/1000
+
+20 bytes per msg
+800B/s (6.4Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 25 1000 01234567890123456789
+  950/1000
+  950/1000
+  950/1000
+
+
+With stats
+===============
+
+25 ms
+-------
+
+1 byte per msg
+40B/s (320b/s) of useful bandwidth
+mainboard > rc_proto_hello wing 25 1000 x
+  1000/1000
+  952/1000
+  1000/1000
+
+10 bytes per msg
+400B/s (3.2Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 25 1000 0123456789
+  966/1000
+  974/1000
+  964/1000
+
+20 bytes per msg
+800B/s (6.4Kb/s) of useful bandwidth
+mainboard > rc_proto_hello wing 25 1000 01234567890123456789
+  898/1000
+  898/1000