After updating to Mission Planner 1.2.1 and HIL Simulator V2.50 I can't seem to get GPS to work in X-Plane. It appears that GPS data is getting into Mission Planner on the Simulation page, but that data is not getting transferred to the Flight Planner or Flight Data pages, i.e. no red plane icon appears and you can't set the home location.
Any help will be appreciated.
Hi Paul, I do have a similar issue as described by you on 1.2.2 mav1. First of all, when I am trying to run the simulation on APM2 and X-Plane, I can not see the plane red symbol on the map, for the scenario created. The red symbol is displayed on the actual position, but I was expected to see the red symbol on runway, on simulation (using an existent airport from X-Plane) , but the symbol is still on actual position. This is strange for me. Should I go to a previous AM version? You did mention 1.1.92 or 1.1.99 were good for simulation. Should I go back to an old one? Which one do you suggest to me. I did not try yet a real flight, since I am not yet confident on the simulation.
From your description, it sounds like you might not have loaded the simulation firmware. In my case with MP 1.2.1, I don't get the red airplane icon at all. I had to go to a previous version of MP to get the red icon to appear. In your case it sounds like the red icon is appearing where your APM2 autopiloit is actually located and not at the simulated airport. Make sure that you have loaded the simulation firmware and then try again. In Mission Planner, click on the word "Plane" as seen in the image below to load the firmware. If you did have the simulation firmware loaded, please give me a little more detail and I'll try to help if I can. Also, if you run the sim firmware and then do not get the red airplane icon to appear, try going to a previous version of Mission Planner at that point. For me, the problem only occurred in the latest version.
Paul, i think ive tracked down the missing wp problem. so will fix in next release
as a work around. in xplanes change the udp data rate down from 50hz to say 40 or 30 hz.
data in/out tab, bottom right
Thanks for the update, Michael. I'll give the workaround a try.
Hi Paul, please see more details below:
Still not able to run simulation with X-Plane
Some more comments/questions about simulation:
Thanks for your support.
i see the problem arleady
X-Plane 9.21 rc2
upgrade to 9.50+
Like Michael, I recommend upgrading. I'm running X-Plane 10. Other than these recent issues, which I'm sure will be resolved, it has been working great.
I didn't have time this evening to do any experimenting, but I'll take a crack at answering some of your questions. Maybe tomorrow I can take a closer look at what you are seeing.
First, it sounds like you're making progress. You do need to load sim firmware when running the sim, and ArduPlane firmware for real flying, i.e. toggle back and forth as you said. Also, I do believe you need to be connected to the internet as it will look for the latest firmware to download. Just for testing, I would like to learn how to roll back firmware, but I haven't figured that out yet. Finally, the Mission Planner does disconnect when you download firmware. Actually, the Wiki tells you to do your firmware downloads before connecting, but it appears to work either way. Before MP 1.2.1 I would get a reassuring beep-beep-beep as the download neared completion. That went away in 1.2.1. It might be back now, but I haven't tested yet.
Regarding the "Actions" tab, this allows you to use mission planner to send action commands whether in sim mode or real mode. Of course, if you want to do this in real mode you need to have a radio up/down link such as the 3DR radio or Xbee. However, you don't need to use these action buttons--you can just use your transmitter. In sim mode I use flight simulator joysticks, mainly because I got tired of my transmitter battery running out! I did find that you can turn off your transmitter during a sim mission if you wish and then do all of your inflight controls from the Actions tab. That reminds me, make sure to set your transmitter or joystick throttle to zero power once you switch to "Auto" mode.
I can't comment on the other items just yet. I'll try to get things running again tomorrow evening and look at your specific issues.
Just a few things, though. Once you have MP and X-Plane connected, make sure to click on "Home Location" on the Flight Planner page just to lock in that data. I don't know for sure if this is necessary, but it works for me. Then make sure to download your waypoints before starting your mission. You are probably doing this, but if not it might relate to your problems. Also, I can say that when you fly around you should see the blue trail. However, the length of the blue trail can be set on the Configuration page. Make sure it isn't zero.
I hope some of this helps. I think the sim is a fantastic way to learn, and it's fun, so I want to help if I can.
P.S. (Thank goodness for the edit time window!) -- If you do upgrade to X-Plane 10, the data settings are slightly different than shown in the Wiki. The data choices are the same, but the line numbers are different. Follow the graphic below:
Thanks Paul for your useful support.
I was able to make my simulation running, but only on W7 (same computer, but not in XP) and using an older version MP 1.1.92 and X-Plane 9.21 rc2. All is stable and smooth. I will try to do some update to the newer version 1.2.3 and hope to see running also on that.
Thanks again to you and Michael,
Good news, Christian. Glad you got things working. Thanks for the follow-up.
Hi Paul, today I did the first real flight with APM2, all was OK. Just 2 question:
-When I did switch on RTL, the plane target to home location, but the motor (electric) did stop completely. When put back to Stabilize or Auto, motor run again. I was expecting RTL to do loitering at home location.
-On Stabilize or Auto, the altitude is not old, the plane is loosing slowly altitude. Which param to adjust?
Thanks again, Christian
Two things to check:
1) What is your default altitude in the MP? If it's lower than the altitude you were flying at, the engine will drop until it's at the target altitude.
2) If #1 checks out, you may have your throttle reversed. Check the reverse box in the MP RC setup.