Skip to content

Back To Charge

goHome(pose) -> {Promise.<boolean>}

Control the robot back to the charging pile

Parameters

Name Data Type Description
pose Pose pose

Return Value Promise.<boolean>

whether succeed

  • true - success
  • false - fail

Example

JavaScript
1
2
3
4
5
6
7
...
axRobot.goHome({
   x: 0,
   y: 0,
   yaw: 0
});
...