Sensors
Access to onboard sensor readings such as IMU, altitude, or distance sensors.
Get Position
Block
Description
Gets the current position of the drone on the X, Y, or Z axis.
Params
- MODE: Dropdown - Choose which position to get: X (right-left), Y (forward-backward), or Z (up-down).
- X
- Y
- Z
Get Attitude
Block
Description
Gets the drone’s rotation angle — yaw, roll, or pitch — in degrees.
Params
- MODE: Dropdown - Choose the rotation type: Yaw (turn), Roll (tilt side), or Pitch (tilt forward/backward).
- Yaw
- Roll
- Pitch
Get Distance To Ground
Block
Description
Measures how far the drone is from the ground in centimeters.