You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
587 B

4 months ago
函数说明vs_measurement(txt_name, position )
txt_name路沿数据文件路径
position车上某点P与摄像头在X轴行驶方向上的偏移量车头为正车位为负。
若不输入该参数默认为900指向前车轮中心位置。
返回值 state Zw_pos, distance_pos
state为-1txt_name所传输的数据无法使用或数据为空
state为0文件路径不存在
以上两种Zw_pos, distance_pos都为none
state = 1
Zw_pos返回P点或者默认点对应路沿的高度值
distance_pos返回P点或者默认点与路沿的距离