Drone Collision icon Drone Collision Add HC-SR04 ultrasonic sensors with an EZ-B to AR Parrot Drone v1/v2 for collision detection and avoidance Try it →
 

Getrandom

Utility.getRandom(min, max)

Parameters

min Inclusive lower bound on the random integer.
max Exclusive upper bound on the random integer.

Returns

Random integer between min (inclusive) and max (exclusive).

Description

Returns a random integer between min (inclusive) and max (exclusive).