Xplane modes not working properly

Hi, I am running Ardupilot Mega v1.4 with the 2.0 beta firmware.  Have it running in Xplane simulator with manual mode and stabilization working fine but when i change it to loiter, RTL or Auto, the Mode box in the ArudpilotSim window is always set to loiter (see picture).  the plane will fly to the start location, and circle but will pause and try to go the other way, then go back continuing the circle.  it will also not loiter in the location that loiter mode was entered at, or run the autopilot route.

 

so again, manual mode works and is displayed in the ardupilotsim window

stabilization modes works and is dispaled in the ardupilotsim window

Loiter, RTL and Auto modes all display as loiter but act like RTL

 

thanks for any help

 

Ardupilotsim screenshot.jpg

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • ok so I made this flight plan and sent it to the APM, then verified it by clicking "read EPROM".  the exact same plan came back into mission planner so im assuming that it loaded properly.  started CLI, and did what you said and those results are in the yellow box of the screenshots, then i went into CLI-SETUP-MODES and those results are in the red box.  Ardupilotsim still says loiter in RTL, AUTO, and LOITER modes and shows waypoint 0.  

    when I start the flight sim i do it like this... start ardupilotsim, then open xplane, set to manual mode, set throttle on radio to 0 then reset APM in fly mode then take off.  then when it is any mode that displays loiter it makes the type of flightpath in the second picture below.

    oh and I do not have the gps connected right now because I am waiting on a new cable, but shouldn't xplane supply the APM with the lat long?

    3692182496?profile=original

     

     

     

    3692182871?profile=original

    Mission 1.h

  • reason I ask is, if you notice your waypoint is 0, and that is normaly home, since your near home, it auto switches to loiter mode. I just verified, if I dont have a flight plan, the same symptom you stated occours. But once I put a valid flight plan in, via or APM Planner, or QGC GCS, or even HK's GCS. then it works fine. I have it flying a pattern as we speak... however I am confused as you have waypoint bearing and distance showing up... I dont get those... hmm...
  • can you post your flight plan? and have you tried checking your switches by going CLI mode, test, modeswitch ?
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
Monday
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
Monday
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
Monday
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23, 2021
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31, 2021
More…