📖
Cerulean Sonar Docs
Docs DirectoryStore
Surveyor 240-16
Surveyor 240-16
  • Overview
  • Quick Start
  • Specifications
  • Platform Specific Setup
    • Installation on BlueBoat
    • NMEA Position/Heading Source
  • UTC Time
  • Your First Survey
  • Cable Drawing
  • CAD Models
  • Integration with Bathymetric Software
    • CSV export
  • Viewing Point Clouds
  • FAQ
  • Software Interface Guide
  • Application Programming Interface
    • SET_PING_PARAMETERS
    • ATTITUDE_REPORT
    • ATOF_POINT_DATA
    • SET_NET_INFO
  • Copyright
Powered by GitBook
On this page
  • ID: 504
  • Payload Definition
  1. Application Programming Interface

ATTITUDE_REPORT

ID: 504

Payload Definition

Data Type
Name
Description

vec3

up_vec

world up vector (x,y,z) in the device coordinate system. x forward, y port, z up. Note: roll (pos port side up) = atan2(up_vec.y, up_vec.x), pitch (+down) = asin(-up_vec.x).

vec3

reserved

reserved for future magnetic field vector

u64

utc_msec

utc msec (1970 epoc). Will be 0 if not available.

u32

pwr_up_msec

msec since power up

To compute pitch and roll from the up_vec:

Pitch (positive bow up) = asin(up_vec.x);

Roll (positive port side up) = atan2(up_vec.y, up_vec.x);

We may support a calibrated magnetic vector in the future, but currently a heading signal from another source is required.

PreviousSET_PING_PARAMETERSNextATOF_POINT_DATA

Last updated 5 months ago