Skip to content
FORSENSE

Data Formats

G2-L sends output over UDP. The quick-start archive includes decoder sample code; use the decoder and field definitions paired with the deployed application and firmware version.

UDP Ports

PortPurpose
15000Glove data transmission
51000Machine-information push messages

Published Header and State Fields

FieldTypeValue or meaning
Header1uint8_t0x55
Header2uint8_t0xAA
IDuint16_t0x8001
Lengthuint16_tTotal packet length
timestampuint64_tTimestamp
InputDeviceuint8_t0 Unknown; 1 Glove; 2 Handle
TeleopModeluint8_t0 Unknown; 1 Half; 2 Full
CalibrationStateuint8_t0 Unknown; 1 Uncalibrated; 2 Calibrating; 3 Calibrated
TakeoverStateuint8_t0 Unknown; 1 Inactive; 2 Active; 3 Transitioning; 4 EmergencyStopped
ControlModeuint8_t0 Unknown; 1 Absolute; 2 Relative
CalibrationCallbackuint8_t0 Unknown; 1 UnStop; 2 MissData

The source does not specify the full payload byte layout. Do not derive pose or control-payload offsets from this status table; use the delivered decoder and matching versioned field specification.

Integration Checklist

  • [ ] Listen for glove data on 15000 and machine information on 51000.
  • [ ] Validate the 0x55 0xAA header, ID, Length, and timestamp continuity.
  • [ ] Confirm CalibrationState is Calibrated before teleoperation.
  • [ ] Record the application, glove firmware, and decoder-example versions together.

See Coordinate systems for the world-frame definition.

Copyright © 2026 Forsense. All rights reserved.