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 @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Sunday
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…