Acceleration

Acceleration

Acceleration refers to the rate at which the robot's velocity changes over time. It is a crucial aspect of controlling the robot's movement and ensuring smooth, precise actions. The blocks in this section allow you to create acceleration objects, manipulate these objects, and obtain information from these objects.

DistanceUnit

Returns the distance unit attribute of the acceleration object. Valid values are CM, INCH, METER and MM.

XAccel

Returns the acceleration along the X-axis of the acceleration object.

YAccel

Returns the acceleration along the Y-axis of the acceleration object.

ZAccel

Returns the acceleration along the Z-axis of the acceleration object.

AcquisitionTime

Returns the acquisition time of the acceleration object.

toDistanceUnit

Returns a new Acceleration object based on another acceleration object after converting its x, y and z acceleration values to the specified distant unit.

toText

Returns text string that is a formatted version of the acceleration object.

new Acceleration

Returns a new Acceleration object.

new Acceleration (expanded)

Returns a new Acceleration object using the specified distance unit, x, y and z acceleration values in those units and the current system time as the acquisition time.

fromGravity

Returns a new Acceleration object with x, y, and z components expressed as multiples of the gravitational acceleration constant (g) and the current system time recorded as the acquisition time.