Sensor

Read values from the drone's various sensors and control accessories, 10 blocks in total: [Turn on/off] obstacle avoidance, Return value 1/0 if obstacle [direction], Return "true/false" if obstacle [direction], Get [Yaw/Pitch/Roll] angle, Get accelerated speed [X/Y/Z], Get fly speed [X/Y/Z] axis, etc., with their functions, conditions and usage examples.

All categories
A wheeled robot and a small drone in a connected-systems laboratory
Concept image created with AI; not a screenshot or a confirmed supported equipment model

Read values from the drone's various sensors and control accessories

[Turn on/off] obstacle avoidance

Turn the 4-direction obstacle-avoidance system on/off
ConditionsNot supported in SIM simulation
ExampleTurn on obstacle avoidance before Take off

Return value 1/0 if obstacle [direction]

Returns 1 if there is an obstacle
ConditionsUsed in numeric conditions
ExampleUsed as a condition in if

Return "true/false" if obstacle [direction]

Boolean version of the block above
ConditionsUsed with the if block
Exampleif obstacle Front → Turn 90°

Get [Yaw/Pitch/Roll] angle

Reads the current tilt/rotation angle
ConditionsValues may be negative; use abs() when comparing values
ExampleTurn 90° counter-clockwise → Yaw = -90°

Get accelerated speed [X/Y/Z]

Reads the acceleration on each axis
ExampleCheck acceleration during straight flight

Get fly speed [X/Y/Z] axis

Reads the flight speed on each axis

Get battery level

Reads the battery percentage
ExampleWarn when the battery is below 20%

Get current coordinate [X/Y/Z]

Reads the current coordinates
ConditionsDo not use "=" to compare values in flight; use >, < instead

Steering engine [n] degree

Controls the servo angle for picking up/releasing items
ConditionsUsed with external add-on kits

Electromagnet [pull/disconnect]

Controls the electromagnet for gripping items
ConditionsWorks only when on the ground; not supported in SIM
ExampleLanding → Electromagnet disconnect → Take off
Reference Paraphrased and categorised from the Hula User Manual (HighGreat) to fit the theme and icon set of this knowledge base, parameter data and limitations follow the user manual; please check against the app version you actually use.

How to cite this page

Drone Institute, Rangsit University. (2026). Sensor. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/hula/sensor/

Original from Drone-Hub: https://drone.pk-research.work/hula/sensor/ · © PK-Research