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

在运行train_heading.sh时遇到的问题 #32

Open
luolai123 opened this issue Mar 13, 2024 · 3 comments
Open

在运行train_heading.sh时遇到的问题 #32

luolai123 opened this issue Mar 13, 2024 · 3 comments

Comments

@luolai123
Copy link

JSBSim startup beginning ...

Could not open file: Path "/home/robot/CloseAirCombat-master/envs/JSBSim/utils/../data/aircraft/f16/f16.xml"
JSBSim failed to open the configuration file: Path "/home/robot/CloseAirCombat-master/envs/JSBSim/utils/../data/aircraft/f16/f16.xml"
Attempt to divide by zero in method FGColumnVector3::operator/(const double scalar), object 0 , 0 , 0

A proper axis type has NOT been selected. Check your aerodynamics definition.
Traceback (most recent call last):
File "train/train_jsbsim.py", line 171, in
main(sys.argv[1:])
File "train/train_jsbsim.py", line 137, in main
envs = make_train_env(all_args)
File "train/train_jsbsim.py", line 44, in make_train_env
return SubprocVecEnv([get_env_fn(i) for i in range(all_args.n_rollout_threads)])
File "/home/robot/CloseAirCombat-master/envs/env_wrappers.py", line 263, in init
observation_space, action_space = self.remotes[0].recv().x
File "/home/robot/anaconda3/envs/jsbsim/lib/python3.8/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
File "/home/robot/anaconda3/envs/jsbsim/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/home/robot/anaconda3/envs/jsbsim/lib/python3.8/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
ConnectionResetError: [Errno 104] Connection reset by peer

@luolai123
Copy link
Author

看报错是轴或者通讯之类的 不太理解 希望有人解决

@Heisenberg502
Copy link

网不好就不要用wandb了

@lizi-Margin
Copy link

不是别的问题,就是单纯的找不到文件。应把jsbsim的githb仓库克隆下来,把里面的内容放到到env/jsbsim/data。

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

3 participants