Fixedwing-Airsim
Fixedwing-Airsim copied to clipboard
Missing x8.xml File
The main.py code runs on an x8 model, which isn't currently supported by JSBsim. Do you have the additional x8.xml file to upload, or what parameters need to be modified to run the cessna172p model? (Currently reports an error that is cannot find specific controls when running main.py with cessna)
Hi Nikita, apologies for the delay.
I have now added the xml file to the repo as a directory x8 file. You need to add this to the aircraft directory. I'll aim to make a fork of JSBSim that includes this so you can directly clone this instead.
Hi Nikita, apologies for the delay.
I have now added the xml file to the repo as a directory x8 file. You need to add this to the aircraft directory. I'll aim to make a fork of JSBSim that includes this so you can directly clone this instead.
Hi Alexander 😄 (Thanks for this awesome repository)
I followed this steps:
- Install Airsim
- Install JSBSim
- Clone the repository
- Install python 3.8 requirements
- Copy x8 directory to JSBSim aircraft folder
- Run Airsim environment
- Run src/main
But code raised RuntimeError: JSBSim could not find specified model name: x8
Hi Nikita, apologies for the delay. I have now added the xml file to the repo as a directory x8 file. You need to add this to the aircraft directory. I'll aim to make a fork of JSBSim that includes this so you can directly clone this instead.
Hi Alexander 😄 (Thanks for this awesome repository)
I followed this steps:
- Install Airsim
- Install JSBSim
- Clone the repository
- Install python 3.8 requirements
- Copy x8 directory to JSBSim aircraft folder
- Run Airsim environment
- Run src/main
But code raised RuntimeError: JSBSim could not find specified model name: x8
It's cause of electric800W.xml engine which x8 need it and it doesn't exist in JSBSim default engines.
Mr. Alexander which environment you recommend for this repo?
We're running into the same issue, is the electric800W.xml configuration file available somewhere online?
Hey sorry for the delay, the electric800W.xml file is simply a basic electric motor, in your JSBSim cloned repo place this into the jsbsim/engine
directory:
<?xml version="1.0"?>
<!--
File: electric800W.xml.xml
Author: Alexander Quessy
-->
<electric_engine name="electric">
<!-- This is a basic model of the electric motor used to power the x8
-->
<power unit="WATTS"> 8.0 </power>
</electric_engine>
main.py 代码在 x8 模型上运行,JSBsim 目前不支持该模型。您是否需要上传额外的 x8.xml 文件,或者需要修改哪些参数才能运行 cessna172p 模型?(当前报告在使用 cessna 运行 main.py 时找不到特定控件的错误)
hello, I am replicating this code, and I have a problem, when I run "advance_landing.py", there is a error: moduleNotFoundError: no module named "jsbsim_simulator",do you konw how to solve this question? I am looking forward to your reply