AutoResetEstimateComponent

最低版本: 2.0.0最后更新: 2021/1/21

组件功能:

AutoResetEstimateComponent 是对于 ResetEstimateComponent 的包装,用于机器人在运动过程中监听底盘定位丢失事件,自动触发重定位。

支持平台

平台是否支持
豹小秘
豹花/大瓶
豹小秘Mini

参数

参数名类型
paramAutoResetEstimateParam

AutoResetEstimateParam

属性JS 类型Java类型默认值必填说明最低版本
param_reset_estimate_countnumberint5no重定位次数2.0.0
param_reset_estimate_intervalnumberlong500no重定位时间间隔,单位ms2.0.0
param_reset_estimate_typeRelocationTypeintRelocationType.TYPE_VISIONno重定位类型2.0.0
param_reset_estimate_posePose undefinedno重定位 pos2.0.0
param_reset_estimate_namestringString''no重定位地点2.0.0

 

错误码

返回错误描述
ERROR_PARAMS_JSON_PARSER_ERROR-32610011参数错误

 

状态码

返回状态描述
STATUS_AUTO_RESET_ESTIMATE_SUCCESS32730007重定位成功
STATUS_AUTO_RESET_ESTIMATE_FAIL32730008重定位失败