Skip to content

Relocation

resetPose(mapPose, isChargingPose) -> {Promise.<boolean>}

Reset the robot pose

Parameters

Name Data Type Description
mapPose MapPose Pose
isChargingPose boolean optional; Whether it is the charging pile pose

Return value Promise.<boolean>

Whether the setting is successful

  • true - success
  • false - fail

Example

JavaScript
1
2
3
4
5
6
7
8
...
const success = await resetPose({
   areaId: "<areaId>",
   x: 0,
   y: 0,
   yaw: 0
}, false);
...