Relocation
resetPose(mapPose, isChargingPose) -> {Promise.<boolean>}
Reset the robot pose
Parameters
| Name | Data Type | Description | remark |
|---|---|---|---|
mapPose |
MapPose | Pose | |
isChargingPose |
boolean | optional; Whether it is the charging pile pose | The default is the pose of the charging pile false: the current pose of the robot, true: the pose of the charging pile |
Return value Promise.<boolean>
Whether the setting is successful
true- successfalse- fail