128
(1) Objective: Obtains the exact rate of acceleration for a mobile device
(2) Type: Information block (variable-type)
(3) Example: Dynamic forward control
Wave your mobile device up and down to control the robot’s motion in a forward direction.
Note:
1) The faster the robot’s velocity changes, the higher the rate of acceleration that will be obtained.
2) Mobile device refers to devices such as smartphones and tablets.
Python API:
Function: mobile_ctrl.get_accel(axis_enum)
Parameters:
● axis_enum(enum):
■ rm_define.mobile_accel_x
■ rm_define.mobile_accel_y
■ rm_define.mobile_accel_z