Hi,

First post here so if this is in the incorrect place please let me know :)

I'm flying a Skywalker X8 using the pixhawk autopilot and running mission planner as a GCS. Apart from the obvious problems such as hand launching, one thing that seems to not work correctly is the loiter, guided, and auto modes. Ill explain the three instances.

On multiple occasions now, when I enable loiter on the RC, the aircraft will hold altitude and airspeed perfectly, but it will tend to drift away in loiter mode. It will look like it's starting to loiter, and then basically reverse it's direction halfway through it's initial turn. It holds it's altitude and airspeed very well, but won't hold a ground track.

Here's what it looks like on the mission planner - The whole blue ground track the aircraft was in loiter mode. Initially we thought it could have been a bad compass calibration, so that was redone, but it still did this after the compass cal. Basically this is what it does anytime loiter is activated, will snake around and drift off. Is there a parameter somewhere that I am missing?

3691156698?profile=originalThis is loiter activated a few times - not just one loiter. As you can see it never seems to be a circle around a waypoint.

3691156540?profile=original

Guided mode seems to do a similar thing - It will approach the waypoint, but never fly directly to it from it's present location. It will snake around for quite a while until it gets near it, and then sometimes turn away from it again (without actually flying over the top of it)

I've only activated auto mode once for a small waypoint mission. In auto mode on this flight - It looks like it is trying to approach a waypoint, then it seems to get inself into some kind of death spiral, where the bank angle kept getting tighter and tighter. Even though I had set 35 degree bank angle max in the parameters it got up to about 70 degrees. Does the bank angle limit apply for all of the autopilot modes or just the FBWA and B modes?

3691156761?profile=original

All other modes seem to fly quite well, but from some of the videos I've seen on youtube loiter will just paint a perfect circle on the ground while flying along happily. Do I need to add more weight to the GPS over the compass or some other similar parameter?

Would appreciate any help or advice, I'm fairly new to the pixhawk system so it's very possible it's a setup problem on my end.

Thanks,

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

Join diydrones

Email me when people reply –

Replies

  • Could you share your parameters I'm tuning my x8 did you ever get it sorted?
  • May have identified the problem, and could be quite a silly thing from my end. Flying an X8 (flying wing) and left the PID's as  default after reading some other threads which said the X8 flew well with the default PID's. Of course this means there was a yaw PID and a Rudder mix component. How would the aircraft fly if I had left a YAW pid in place when there is no rudder control?  Hoping to test again next week with new settings.

    • any luck?

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…
Nov 27
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…