object.motionCorrection

对象-运动纠偏

模块:Objects调用:piclient.emit('object.motionCorrection', {...})

对象运动纠偏同步,参数engine/geo二选一,都提供则geo >> engine

输入

参数类型必填默认值说明
targetstringObjectId
tagstring
pathIDstringObjectId
offsetXYstring0
offsetZstring0
enginestring0.0, 0.0, 0.0
geostring0.0, 0.0, 0.0经度,纬度,高程
rotationstring0.0, 0.0, 0.0roll,pitch,yaw
speedstring0m/s 速度/时间两个只需要传一个,默认速度优先级最高,填0就是停止,只设置时间的话,需要把速度值置空清除
可选值:ms
lengthstring0m
timestring2s 时间/速度两个只需要传一个,默认速度优先级最高,速度填0就是停止,只设置时间的话,需要把速度值置空清除

调用

typescript
piclient.emit("object.motionCorrection",{
	target: "ObjectId",
	tag: "",
	pathID: "ObjectId",
	offsetXY: "0",
	offsetZ: "0",
	engine: "0.0, 0.0, 0.0",
	geo: "0.0, 0.0, 0.0", //经度,纬度,高程
	rotation: "0.0, 0.0, 0.0", //roll,pitch,yaw
	speed: "0", //m/s 速度/时间两个只需要传一个,默认速度优先级最高,填0就是停止,只设置时间的话,需要把速度值置空清除
	length: "0", //m
	time: "2", //s 时间/速度两个只需要传一个,默认速度优先级最高,速度填0就是停止,只设置时间的话,需要把速度值置空清除
})
← 返回 Objects 模块