Skip to content

Commit 109962e

Browse files
committed
Merge branch 'feature/historic_data' into master.
2 parents 2022e2e + 5fb2686 commit 109962e

File tree

1 file changed

+125
-8
lines changed

1 file changed

+125
-8
lines changed

IMC.xml

Lines changed: 125 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,78 @@
12531253
</field>
12541254
</message>
12551255

1256+
<message id="107" name="Historic CTD" abbrev="HistoricCTD" used-by="vehicle">
1257+
<description>
1258+
This message is used to store historic (transmitted afterwards) CTD data .
1259+
</description>
1260+
<field name="Conductivity" abbrev="conductivity" type="fp32_t" unit="S/m"/>
1261+
<field name="Temperature" abbrev="temperature" type="fp32_t" unit="°C"/>
1262+
<field name="Depth" abbrev="depth" type="fp32_t" unit="m"/>
1263+
</message>
1264+
1265+
<message id="108" name="Historic Telemetry" abbrev="HistoricTelemetry" used-by="vehicle">
1266+
<description>
1267+
This message is used to store historic (transmitted afterwards) telemetry information.
1268+
</description>
1269+
<field name="Altitude" abbrev="altitude" type="fp32_t" unit="m"/>
1270+
<field name="Roll" abbrev="roll" type="uint16_t">
1271+
<description>
1272+
Roll encoded as α.(65535/(2.π))
1273+
</description>
1274+
</field>
1275+
<field name="Pitch" abbrev="pitch" type="uint16_t">
1276+
<description>
1277+
Pitch encoded as α.(65535/(2.π))
1278+
</description>
1279+
</field>
1280+
<field name="Yaw" abbrev="yaw" type="uint16_t">
1281+
<description>
1282+
Yaw encoded as α.(65535/(2.π))
1283+
</description>
1284+
</field>
1285+
<field name="Speed" abbrev="speed" type="int16_t" unit="dm"/>
1286+
</message>
1287+
1288+
<message id="109" name="Historic Sonar Data" abbrev="HistoricSonarData" used-by="vehicle">
1289+
<description>
1290+
This message is used to store historic (transmitted afterwards) sonar data.
1291+
</description>
1292+
<field name="Altitude" abbrev="altitude" type="fp32_t" unit="m"/>
1293+
<field name="Width" abbrev="width" type="fp32_t" unit="m"/>
1294+
<field name="Length" abbrev="length" type="fp32_t" unit="m"/>
1295+
<field name="Bearing" abbrev="bearing" type="fp32_t"/>
1296+
<field name="Pixels Per Line" abbrev="pxl" type="int16_t">
1297+
<description>
1298+
The number of pixels per line as the data in 'sonar_data' may
1299+
correspond to more than one sequential sidescan lines.
1300+
</description>
1301+
</field>
1302+
<field name="Encoding" abbrev="encoding" type="uint8_t" unit="Enumerated" prefix="ENC">
1303+
<value abbrev="ONE_BYTE_PER_PIXEL" name="One Byte Per Pixel" id="0"/>
1304+
<value abbrev="PNG" name="PNG compressed image" id="1"/>
1305+
<value abbrev="JPEG" name="JPEG compressed image" id="2"/>
1306+
</field>
1307+
<field name="SonarData" abbrev="sonar_data" type="rawdata">
1308+
<description>
1309+
Sonar data encoded as in 'encoding'.
1310+
</description>
1311+
</field>
1312+
</message>
1313+
1314+
<message id="110" name="Historic Event" abbrev="HistoricEvent" used-by="vehicle">
1315+
<description>
1316+
This message is used to store historic event log entries.
1317+
</description>
1318+
<field name="Event" abbrev="text" type="plaintext"/>
1319+
<field name="Event Type" abbrev="type" type="uint8_t" unit="Enumerated" prefix="EVTYPE">
1320+
<description>
1321+
Type of event.
1322+
</description>
1323+
<value id="0" abbrev="INFO" name="Information"/>
1324+
<value id="1" abbrev="ERROR" name="Error"/>
1325+
</field>
1326+
</message>
1327+
12561328
<!-- Networking Messages -->
12571329
<message id="150" name="Heartbeat" abbrev="Heartbeat" source="vehicle,ccu" flags="periodic">
12581330
<description>
@@ -1609,24 +1681,24 @@
16091681
</field>
16101682
<field name="Data" abbrev="data" type="message-list" message-type="HistoricSample"/>
16111683
</message>
1612-
1684+
16131685
<message id="185" abbrev="CompressedHistory" name="Compressed Historic Data Series">
16141686
<description>
1615-
This message holds a list of inline data samples produced by one or more vehicles in the past.
1616-
It is used to transfer data over disruption tolerant networks.
1687+
This message holds a list of inline data samples produced by one or more vehicles in the past.
1688+
It is used to transfer data over disruption tolerant networks.
16171689
</description>
16181690
<field name="Base Latitude" abbrev="base_lat" type="fp32_t" unit="°">
1619-
<description>
1691+
<description>
16201692
All data sent inside this message will have offsets relative to this latitude.
16211693
</description>
16221694
</field>
16231695
<field name="Base Longitude" abbrev="base_lon" type="fp32_t" unit="°">
1624-
<description>
1696+
<description>
16251697
All data sent inside this message will have offsets relative to this longitude.
16261698
</description>
16271699
</field>
16281700
<field name="Base Timestamp" abbrev="base_time" type="fp32_t" unit="s">
1629-
<description>
1701+
<description>
16301702
All data sent inside this message will use this time as the origin (0).
16311703
</description>
16321704
</field>
@@ -1636,7 +1708,7 @@
16361708
</description>
16371709
</field>
16381710
</message>
1639-
1711+
16401712
<message id="186" abbrev="HistoricSample" name="Historic Data Sample">
16411713
<field name="Original System Id" abbrev="sys_id" type="uint16_t">
16421714
<description>
@@ -1674,7 +1746,52 @@
16741746
</field>
16751747
<field name="Data Sample" abbrev="sample" type="message"/>
16761748
</message>
1677-
1749+
1750+
<message id="187" abbrev="HistoricDataQuery" name="Historic Data Query">
1751+
<field name="Request Id" abbrev="req_id" type="uint16_t" />
1752+
<field name="Request Type" abbrev="type" type="uint8_t" unit="Enumerated" prefix="HRTYPE">
1753+
<value abbrev="QUERY" name="Query" id="1">
1754+
<description>Request data from the Data Store</description>
1755+
</value>
1756+
<value abbrev="REPLY" name="Reply" id="2">
1757+
<description>Data Store response with Data (using field 'data')</description>
1758+
</value>
1759+
<value abbrev="CLEAR" name="Clear" id="3">
1760+
<description>Clear 'data' from the Data Store</description>
1761+
</value>
1762+
</field>
1763+
<field name="Maximum Size" abbrev="max_size" type="uint16_t"/>
1764+
<field name="Data" abbrev="data" type="message" message-type="HistoricData"/>
1765+
</message>
1766+
1767+
<message id="188" abbrev="RemoteCommand" name="Remote Command" source="ccu,vehicle">
1768+
<description>
1769+
Command to remote system. If a system receives a RemoteCommand and it isn't the intended recipient, then it should
1770+
resend it.
1771+
</description>
1772+
<field name="Original Source" abbrev="original_source" type="uint16_t">
1773+
<description>
1774+
IMC id of the original sender.
1775+
</description>
1776+
</field>
1777+
<field name="Destination" abbrev="destination" type="uint16_t">
1778+
<description>
1779+
IMC id of the recipient.
1780+
</description>
1781+
</field>
1782+
<field name="Timeout" abbrev="timeout" type="fp64_t" unit="s">
1783+
<description>
1784+
Expiration time of the message (Epoch Time), in seconds. If the message doesn't reach the destination within timeout,
1785+
the validity of the message expires and there will be no more attempts to transmit the message.
1786+
</description>
1787+
</field>
1788+
<field name="Command" abbrev="cmd" type="message">
1789+
<description>
1790+
Command to be unpacked by the recipient.
1791+
</description>
1792+
</field>
1793+
</message>
1794+
16781795
<!-- Acoustic Networking -->
16791796
<message id="200" name="LBL Range" abbrev="LblRange" source="vehicle" flags="periodic">
16801797
<description>

0 commit comments

Comments
 (0)