Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singlepoint 无法运行 #12

Open
shuoyuanxu opened this issue Oct 6, 2021 · 1 comment
Open

Singlepoint 无法运行 #12

shuoyuanxu opened this issue Oct 6, 2021 · 1 comment

Comments

@shuoyuanxu
Copy link

错误如下,请问是不是上传之前误删除了部分代码呢?还是提供的data文件和实际运行的不一样?
Traceback (most recent call last):
File "D:/Desktop/SatellitePosition-master/position/singlepoint/singlepoint.py", line 15, in
rtkParam = SINGLEPOINTPOSITION.SinglePointPosition().exesinglepoint(OBS_DATA[0], nav_data_list, rtkParam)
File "D:\Desktop\SatellitePosition-master\position\singlepoint\SINGLEPOINTPOSITION.py", line 393, in exesinglepoint
sppparm = self.estpos(nav_list, OBS_DATA, sol)
File "D:\Desktop\SatellitePosition-master\position\singlepoint\SINGLEPOINTPOSITION.py", line 122, in estpos
spparm = self.rescode(nav_list, OBS_DATA, rr, pos, err, dtr, V, Var, sol.gpssec).reV()
File "D:\Desktop\SatellitePosition-master\position\singlepoint\SINGLEPOINTPOSITION.py", line 215, in rescode
return s
UnboundLocalError: local variable 's' referenced before assignment

@shuoyuanxu
Copy link
Author

找到问题了,NAVDATA 应该不太对

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant