Skip to content

Set JackAction

setJackAction(type) -> {Promise.<boolean>}

Set the lifting and lowering actions of the robot

Parameters

Name Data Type Description
type number type:
0 up
1 down

Return value Promise.<boolean>

whether succeed

  • true - success
  • false - fail

Example

Example

JavaScript
1
2
3
...
const success = await axRobot.setJackAction(0);
...