For each shot the GUNCO sends serial data describing various parameters for each gun.
The GUNCO data files holds these data formatted like NMEA sentences. Lines beginning with # or whitespace (TAB or SPACE) should be treated as comments.
Example:
$PSHGUN,MOSBY,01:32:39,2003-06-12,L,4,1,0.1,17.7,0,0,2,-0.2,19.0,0,0,3,0.0,17.7,0,0,5,0.1,18.7,0,0*
Field no | Example | Description |
1 | $PSHGUN: | P = proprietary, SH = ship, GUN = GUNCO data |
2 | MOSBY | Ship name |
3 | 01:32:39 | Time [hh:mm:ss] |
4 | 2003-06-12 | Date [yyyy-mm-dd]: |
5 | L | L = PC clock, not necessarily corrected by NTP - must be
checked. See comments in file header. A = Time received from UDP telegrams over the network. UTC. |
6 | 4 | Number of active guns. Means the number of
5-parameter groups to follow; the size of the complete string will thus
depend of the number of active guns. Each 5-parameter group has this format:
|
7 | 1 | Gun number |
8 | 0.1 | Error [ms] |
9 | 17.7 | Delay [ms] |
10 | 0 | "Error out of range" flag. 0=ok, 1=error condition |
11 | 0 | "Autofire" flag. 0=ok, 1=autofire detected prior to last shot. |
.. | More 5-parameter groups. |
OM
June 13, 2003
Onboard RV "Håkon Mosby"