Spatial FOG Reference Manual
Page 95 of 144
Version 2.3
03/05/2018
13.4
Packet Acknowledgement
When configuration packets are sent to Spatial FOG, it will reply with an
acknowledgement packet that indicates whether the configuration change was
successful or not. For details on the acknowledgement packet, see section 13.8.1.
13.5
Packet Rates
The packet rates can be configured either using Spatial Manager or through the
Packets Period Packet. By default Spatial FOG is configured to output the System State
Packet at 50Hz. When configuring packet rates it is essential to ensure the baud rate is
capable of handling the data throughput. This can be calculated using the rate and
packet size. The packet size is the packet length add five to account for the packet
overhead. For example to output the system state packet at 50Hz the calculation
would be:
Data throughput = (100 (packet length) + 5 (fixed packet overhead)) * 50 (rate)
Data throughput = 5250 bytes per second
Minimum baud rate = data throughput x 11 = 57750 Baud
Closest standard baud rate = 115200 Baud
When multiple packets are set to output at the same rate, the order the packets
output is from lowest ID to highest ID.
13.6
Packet Timing
Packets are output in order of packet ID from lowest ID to highest ID and all packets
that are output in one sequence have their data matched to the same time of validity.
The time of validity can be found in either the System State Packet, the Unix Time
Packet or the Formatted Time Packet. For example if the Unix Time Packet, Status
Packet and NED Velocity Packet packet were all set to output at 10 Hz, at each 0.1
second period the three packets would output consecutively by order of packet ID with
all data synchronised between them and the Unix Time Packet providing the time of
validity for the other two packets.
13.7
Packet Summary
Packet ID Length R/W
Name
System Packets
0
4
R
1
-
W
2
1
R/W
3
24
R
4
4
W
Restore Factory Settings Packet
5
4
W
10
-
R/W