文件内容rolling.txt: There's a fire starting in my heart 我怒火中烧 Reaching a fever pitch and it's bringing me out the dark 熊熊烈焰带我走出黑暗 Finally, I can see you crystal clear 最终 我将你看得一清二楚 Go ahead and sell me out and I'll lay your ship bare 去吧 出卖我 我会让你一无全部 See…
import numpy as npimport pandas as pd point = pd.read_csv('waypoint21.csv') with pd.option_context('display.precision', 12): # 关键部分 # print(point) B0 = np.double(point.loc[0, ['Lat']]) L0 = np.double(point.loc[0, ['Lon']]) # print(B0, L0) for i in ra…