Comments (3)
您好,第一个问题你可以通过断点调试代码或者print函数输出,我们测试没有问题;第二个问题,您没有按照我们的提示安装好前置条件。建议您跑通代码之后再提出问题。
from closeaircombat.
好的哈,谢谢您的回复哈。
from closeaircombat.
请问运行python envs/JSBSim/test/test_baseline_use_env.py语句时,报如下错误:
JSBSim startup beginning ...
Could not open file: Path "E:/code/python_execise/CloseAirCombat-master/CloseAirCombat-master/envs/JSBSim/utils/../data/aircraft/f16/f16.xml"
JSBSim failed to open the configuration file: Path "E:/code/python_execise/CloseAirCombat-master/CloseAirCombat-master/envs/JSBSim/utils/../data/aircraft/f16/f16.xml"
Traceback (most recent call last):
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\test\test_baseline_use_env.py", line 163, in
test_maneuver()
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\test\test_baseline_use_env.py", line 142, in test_maneuver
env = SingleCombatEnv(config_name='1v1/NoWeapon/test/opposite')
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\envs\singlecombat_env.py", line 12, in init
super().init(config_name)
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\envs\env_base.py", line 31, in init
self.load()
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\envs\env_base.py", line 55, in load
self.load_simulator()
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\envs\env_base.py", line 64, in load_simulator
self._jsbsims[uid] = AircraftSimulator(
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\core\simulatior.py", line 132, in init
self.reload()
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\core\simulatior.py", line 168, in reload
Catalog.add_jsbsim_props(self.jsbsim_exec.query_property_catalog(""))
File "E:\code\python_execise\CloseAirCombat-master\CloseAirCombat-master\envs\JSBSim\core\catalog.py", line 553, in add_jsbsim_props
[name_jsbsim, access] = jsbsim_prop.split(" ")
ValueError: not enough values to unpack (expected 2, got 1)
from closeaircombat.
Related Issues (20)
- 希望结识同道中人
- 关于源码运行报错 HOT 8
- AircraftSimulator use of bloods? HOT 1
- 关于安装与使用流程 HOT 2
- AttributeError: 'SingleCombatEnv' object has no attribute '_jsbsims'
- JSBSim failed to open the configuration file: Path "C:/Code/Project_XW/CloseAirCombat/envs/JSBSim/utils/../data/aircraft/f16/f16.xml HOT 2
- 如何拓展环境,增加两方飞机数量并增加通信 HOT 1
- Update gym to gymnasium HOT 1
- Error: multiple copies of the OpenMP runtime have been linked into the program
- AttributeError: 'list' object has no attribute 'split' HOT 1
- AttributeError: 'list' object has no attribute 'split' HOT 3
- 在运行train_heading.sh时遇到的问题 HOT 3
- jsbsim中有飞控系统吗
- 项目是否可以使用其他模型比如DQN,TD3的接口进行训练 HOT 1
- 传感器
- 请问,项目能否增加例如雷达的传感器,如果可以在哪一块修改呢 HOT 1
- 高度奖励函数与新目标设置的问题
- 请问 lowlevel_policy是怎么获得的?输入和输出是什么?它的功能是什么样的?为什么不直接训练Policy输出Action? HOT 1
- 日志文件
- 1v1/ShootMissile/HierarchySelfplay训练效果很差
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from closeaircombat.