as2_python_api.modules.point_gimbal_module module

Point Gimbal Module.

class as2_python_api.modules.point_gimbal_module.PointGimbalModule(drone: DroneInterface)

Bases: ModuleBase, PointGimbalBehavior

Point Gimbal Module.

point_gimbal(x: float, y: float, z: float, frame_id: str) bool

Point Gimbal to reference, blocking call.

Parameters:
  • x (float) – x coordinate (m) to point gimbal to

  • y (float) – y coordinate (m) to point gimbal to

  • z (float) – z coordinate (m) to point gimbal to

  • frame_id (str) – reference frame of the coordinates

Returns:

True if was accepted, False otherwise

Return type:

bool