Application Programming Interface
Surveyor communication uses a packet protocol common to several Cerulean Sonar products. Please refer to the Cerulean Ping Protocol document for the canonical packet format and other background information.
Packets are collated in a logfile in the order received. The interval between packets from a single device may be determined from their pwr_up_msec fields. Timestamps between different devices, or across device restarts cannot be directly compared - in those cases, correlate data using utc_msec.
Packet Payload Definitions
This section defines the packet ID types specific to the Surveyor 240-16.
SET_PING_PARAMETERS is used to control the operation of Surveyor.
ATTITUDE_REPORT is a response packet Surveyor sends to the host application containing information about the attitude (pitch and roll) of the device based on it's internal sensors.
WATER_STATS is a response packet Surveyor sends to the host application containing information about the temperature and pressure of the water
ATOF_POINT_DATA is a response packet Surveyor sends to the host application containing the detected points in angle and time of flight for each detected point.
YZ_POINT_DATA is a response packet that Surveyor sends to the host application containing the detected points in Euclidean coordinates (horizontal + vertical).
SET_NET_INFO is used to set network parameters and time server Surveyor will use for synchronizing to UTC.
Last updated