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.
|
4 months ago | |
---|---|---|
.. | ||
calc_slope_line.py | 4 months ago | |
calc_way.py | 4 months ago | |
get_data.py | 4 months ago | |
main_test.py | 4 months ago | |
measure_lib.py | 4 months ago | |
model.py | 4 months ago | |
readme.txt | 4 months ago | |
test.py | 4 months ago |
readme.txt
函数说明:vs_measurement(txt_name,position)
txt_name : 路沿数据文件路径
position :车身某点P距离摄像头在X轴(车行进方向)的偏移,车头为正,车尾为负。
如不输入该参数,默认为900,指向前车轮中心位置。
返回值:state,Zw_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点距离路沿的距离