com/Gor-Ren/gym-jsbsim 到此为止,我们就完成了对gym-jsbsim的配置,但是 gym-jsbsim只是将jsbsim仿真模型和gym相结合的产物,我们要想使用还得需要强化学习算法的框架。这里我们使用小雅的框架。 5 小雅框架配置 AI4Finance-Foundation/ElegantRL: Scalable and Elastic Deep Reinforcement Learning Using PyTorch. ...
$ JSBSim --version JSBSim Version: 1.0.0 Jul 16 2018 09:14:35 and confirm that its Python library is correctly installed from a Python interpreter or IDE: import jsbsim Gym-JSBSim is pip installable using its GitHub: pip install git+https://github.com/Gor-Ren/gym-jsbsim Environments G...
在python中,利用jsbsim.FGFDMExec(None)的set_output_directive('./data_output/flightgear{}.xml'.format(fdm_id))方法,可以设置对应的jsbsim与flightgear接口。 gym库改gymnasium库 原作者的项目中用的是gym库,gym库已经停止维护,代码提示建议应用gymnasium库做替代,于是进行了修改。首先将import gym改为了import...
JSBGym provides reinforcement learning environments for the control of fixed-wing aircraft using the JSBSim flight dynamics model. The package's environments implement the Farama-Foundation's Gymnasium interface allowing environments to be created and interacted with. ...