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.

11 lines
592 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

函数说明vs_measurement(txt_name,position)
txt_name : 路沿数据文件路径
position 车身某点P距离摄像头在X轴车行进方向的偏移车头为正车尾为负。
如不输入该参数默认为900指向前车轮中心位置。
返回值stateZw_pos, distance_pos
state : -1 , Zw_pos, distance_pos都为None表示txt_name 所传输的数据为空或无法使用
state : 0 , Zw_pos, distance_pos都为None表示txt_name路径不存在
state : 1
Zw_pos返回P点对应路沿的高度distance_pos返回P点距离路沿的距离