Skip to content

Localization Interface

Send an initialization localization request to the navigation host (192.168.1.106:30000) via the TCP body monitoring protocol.

Type Field ValueMessage Type
2101Initialize localization
ParameterDescriptionData TypeUnit
PosX/PosY/PosZRobot coordinates for re-localization in the map coordinate systemfloatm
YawRobot rotation angle around Z-axis in the map coordinate systemfloatrad
ParameterDescriptionValue Description
ErrorCodeResult of the initialization commandLocalization normal=0, Localization abnormal=1

Robot’s current pose information can be obtained through the real-time basic status query (Type=1002):

ParameterDescriptionUnit
PosX/PosY/PosZRobot coordinates in the map coordinate systemm
Roll/Pitch/YawRobot attitude angles in the map coordinate systemrad
LocationLocalization status (normal=0, lost=1)/