get_localization_status()
- 1 Minute to read
get_localization_status()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get current localization status.
Reference
Arguments
Arguments | Type | |
---|---|---|
ang_unit | ANGLE_UNIT | ENUM (0 Degrees, 1 Radians) |
pos_unit | POSITION_UNIT | ENUM (0 Pixels, 1 Meters) |
Return
Type | Description |
---|---|
dict | Return dictionary with angle, x and y. |
Exceptions
RayaStatusServerProviderDown
See the complete status exceptions..
Usage example
localization_status = await self.status.get_localization_status(
ang_unit=ANGLE_UNIT.DEGREES,
pos_unit=POSITION_UNIT.METERS,
)
self.log.info(localization_status)
Output
{'angle': 87.56, 'x': 398.0, 'y': 809.0}
Was this article helpful?