AngularVelocity

AngularVelocity refers to the rate at which an object or robot rotates around an axis. It's a crucial concept for understanding and controlling the rotational motion of various components in your robot, such as wheels, arms, or sensors. The blocks in this section allow you to create angular velocity objects, manipulate these objects, and obtain information from these objects.

AngularVelocity.AngleUnit

Returns the angle unit (DEGREES or RADIANS) of the given angular velocity object.

AngularVelocity.XRotationRate

Returns the rotational rate along the X-axis of the given angular velocity object.

AngularVelocity.YRotationRate

Returns the rotational rate along the Y-axis of the given angular velocity object.

AngularVelocity.ZRotationRate

Returns the rotational rate along the 2-axis of the given angular velocity object.

call AngularVelocity.getRotationRate

Returns the rotational rate of the given angular velocity object along the given axis (X, Y, or Z).

AngularVelocity.AcquisitionTime

Returns the acquisition time of the angular velocity object.

call AngularVelocity.toAngleUnit

Returns a new angular velocity object based on another object after converting its x, y and z rotation rates to the specified units.

new AngularVelocity

Returns a new angular velocity object.

new AngularVelocity (expanded)

Returns a new angular velocity object using the provided unit and x, y and z rotation rates. The new angular velocity object sets the current system time as the acquisition time.