23
Python API:
Function: chassis_ctrl.set_pwm_value(pwm_port_enum, output_percent)
Parameters:
● pwm_port_enum(enum)
■ rm_define.pwm_all
■ rm_define.pwm1
■ rm_define.pwm2
■ rm_define.pwm3
■ rm_define.pwm4
■ rm_define.pwm5
■ rm_define.pwm6
● output_percent(int): [0, 100]
(1) Objective: Enables/disables the chassis accelerator
(2) Type: Settings block
(3) Example: Operate chassis accelerator When the chassis is moving automatically, this will enable you to
use the joystick to manually rotate or translate the chassis and increase its translation speed.