Skip to content

Omniscan450 messages

control

1002 set_speed_of_sound

Set the speed of sound.

Type Name Description Units
u32 speed_of_sound The speed of sound in the measurement medium. ~1,500,000 mm/s for water. mm/s

2197 os_ping_params

Type Name Description Units
u32 start_mm
u32 length_mm
u32 msec_per_ping
float reserved_1
float reserved_2
float pulse_len_percent
float filter_duration_percent
i16 gain_index
u16 num_results
u8 enable
u8 reserved_3

get

2198 os_mono_profile

A profile produced from a single acoustic measurement. The data returned is an array of response strength, in dB, at even intervals across the scan region. The scan region is defined as the region between and millimeters away from the transducer. Note that the amplitude of the results are in dB. This is just to keep high dynamic range in the u16 sized data elements. Normally these are converted back to linear power or signal levels.

Type Name Description Units
u32 ping_number sequentially assigned from 0 at power up
u32 start_mm The beginning of the scan region in mm from the transducer. mm
u32 length_mm The length of the scan region. mm
u32 timestamp_ms msec since power up at time of ping ms
u32 ping_hz Frequency of acoustic signal hz
u16 gain_index 0-7
u16 num_results length of pwr_results array
u16 sos_dmps speed of sound, decimeters/sec
u8 channel_number
u8 reserved
float pulse_duration_sec
float analog_gain
float max_pwr_db
float min_pwr_db
float transducer_heading_deg
float vehicle_heading_deg
u16[] pwr_results An array of return strength measurements taken at regular intervals across the scan region. The first element is the closest measurement to the sensor, and the last element is the farthest measurement in the scanned range. power results scaled from min_pwr_db to max_pwr_db Length is derived from payload_length in the header.