EasyManua.ls Logo

R2Sonic 2026 - 15.10 TruePix Data Format

R2Sonic 2026
254 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Page 223 of 254
Version
6.3
Rev
r012
Date
05-11-2022
15.10 TruePixData Format
// *** BEGIN TRUEPIX DATA FORMAT 0 ***
// TruePix is like sidescan with 3D relief. Each sonar ping produces a port
// and starboard time-series of data samples at the sonar's sample rate. Each
// sample contains the signal's magnitude (like sidescan) and across-track
// target direction angle (like bathymetry). After collecting many pings of
// data along a survey line, you now have a large array of data points with
// range, direction, and brightness. Apply noise reduction, and render the
// data as a textured 3D surface.
//
// Two data formats are available: D0 provides magnitudes only, D1 provides
// magnitudes and direction angles. The GUI allows the user to choose the
// desired format.
//
// The sonar generates one TruePix data set per ping. Each data set is
// usually split into multiple UDP packets. The D0 or D1 header includes
// FirstSample and Samples values to help you reassemble the full data set.
u32 PacketName; // 'TPX0'
u32 PacketSize; // may be zero in UDP, otherwise: [bytes] size of this entire packet
u32 DataStreamID; // reserved for future use
// section H0: header (present only in first packet of each ping)
u16 H0_SectionName; // 'H0'
u16 H0_SectionSize; // [bytes] size of this entire section
u8 H0_ModelNumber[12]; // example "2024", unused chars are nulls
u8 H0_SerialNumber[12]; // example "100017", unused chars are nulls
u32 H0_TimeSeconds; // [seconds] ping time relative to 0000 hours 1-Jan-1970, integer part
u32 H0_TimeNanoseconds; // [nanoseconds] ping time relative to 0000 hours 1-Jan-1970, fraction part
u32 H0_PingNumber; // pings since power-up or reboot
f32 H0_PingPeriod; // [seconds] time between most recent two pings
f32 H0_SoundSpeed; // [meters per second]
f32 H0_Frequency; // [hertz] sonar center frequency
f32 H0_TxPower; // [dB re 1 uPa at 1 meter]
f32 H0_TxPulseWidth; // [seconds]
f32 H0_TxBeamwidthVert; // [radians]
f32 H0_TxBeamwidthHoriz; // [radians]
f32 H0_TxSteeringVert; // [radians]
f32 H0_TxSteeringHoriz; // [radians]
u16 H0_2026ProjTemp; // [hundredths of a degree Kelvin] 2026 projector temperature (divide value by 100, subtract 273.15 to get °C)
s16 H0_VTX+Offset; // [hundredths of a dB] transmit voltage offset at time of ping (divide value by 100 to get dB)
f32 H0_RxBandwidth; // [hertz]
f32 H0_RxSampleRate; // [hertz] sample rate of data acquisition and signal processing
f32 H0_RxRange; // user setting [meters]
f32 H0_RxGain; // user setting [multiply by 2 for dB]
f32 H0_RxSpreading; // [dB (times log range in meters)]

Table of Contents

Related product manuals