We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
运行test_baseline_use_env.py发生如下报错:
============================= test session starts ============================= collecting ... collected 1 item test_baseline_use_env.py::test_maneuver FAILED [100%] JSBSim Flight Dynamics Model v1.1.6 [GitHub build 320/commit b477f6312bee2fd3af4c4e5ba1a3e732ed2b99d4] Apr 30 2021 12:00:59 [JSBSim-ML v2.0] JSBSim startup beginning ... Could not open file: Path "D:/coding/CloseAirCombat-master/CloseAirCombat-master/envs/JSBSim/utils/../data/aircraft/f16/f16.xml" JSBSim failed to open the configuration file: Path "D:/coding/CloseAirCombat-master/CloseAirCombat-master/envs/JSBSim/utils/../data/aircraft/f16/f16.xml" test_baseline_use_env.py:140 (test_maneuver) def test_maneuver(): > env = SingleCombatEnv(config_name='1v1/NoWeapon/test/opposite') test_baseline_use_env.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..\envs\singlecombat_env.py:12: in __init__ super().__init__(config_name) ..\envs\env_base.py:31: in __init__ self.load() ..\envs\env_base.py:55: in load self.load_simulator() ..\envs\env_base.py:64: in load_simulator self._jsbsims[uid] = AircraftSimulator( ..\core\simulatior.py:132: in __init__ self.reload() ..\core\simulatior.py:168: in reload Catalog.add_jsbsim_props(self.jsbsim_exec.query_property_catalog("")) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = {'position_long_gc_deg': Property(name_jsbsim='position/long-gc-deg', description='geodesic longitude [deg]', min=-180...asium.spaces.box.Box'>, clipped=True, update=<function JsbsimCatalog.update_equal_throttle_cmd at 0x00000298B3AA7550>)} jsbsim_props = [] def add_jsbsim_props(self, jsbsim_props): """Add to Catalog jsbsim properties from jbsbsim_props Args: jsbsim_props (list): list of 'name_jsbsim (access)' of jsbsim properties """ > jsbsim_props_tmp=jsbsim_props.split("\n") E AttributeError: 'list' object has no attribute 'split' ..\core\catalog.py:552: AttributeError
排查后发现报错前jsbsim_props为空,当前jsbsim版本为1.1.6,计算机操作系统为Windows10
The text was updated successfully, but these errors were encountered:
请问这个问题解决了吗,我也遇到了同样的问题
Sorry, something went wrong.
No branches or pull requests
运行test_baseline_use_env.py发生如下报错:
排查后发现报错前jsbsim_props为空,当前jsbsim版本为1.1.6,计算机操作系统为Windows10
The text was updated successfully, but these errors were encountered: