as2_python_api.modules.gps_module module
GPS module.
- class as2_python_api.modules.gps_module.GpsModule(drone: DroneInterface)
Bases:
ModuleBase
GPS module.
- destroy() None
Destroy module, clean exit.
- property origin: list[float]
Get Origin GPS position (lat, lon, alt) in deg and m. None if not set.
- Return type:
list[float]
- property pose: list[float]
Get GPS position (lat, lon, alt) in deg and m.
- Return type:
list[float]
- set_origin(gps_pose: list[float]) bool
Set Origin position.