Stupid noob question, but I need help quick!

Sorry for not RTFM'ing this, but I actually have an urgent need for a piece of info that I can't seem to find. I demo my fuzzy controller to one of my professors in an hour, and I haven't figured out how to make the GCS do what I need it to do.

 

All I need it to do is hover in place.

When I set it to loiter_unlimited, the heli flies around the waypoint I assign, rather than holding position.

Again, sorry for the clueless noob question, but all of my focus has been on flying in stabilize mode so far, and I haven't had the time to sit down with the mission planner properly. A quick bail-out would be GREATLY appreciated! 

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

Join diydrones

Email me when people reply –

Replies

  • Alrighty, so the demo was fairly successful. My professor is definitely satisfied with the performance of the fuzzy controller.

     

    On that note, I'll be posting it soon. I need to write up some documantation describing its features and limitations. Even though it implements full fuzzy control, the user doesn't have the ability to modify all the parameters arbitrarily because of the limited variable space we're using in the MavLink lookup tables.

    When I'm ready to post the code, what's the procedure for that?

  • You need to use the Loiter Mode.  Set one of your Ch 5 Mode positions to Loiter.

    These default settings should work well if you have a uBlox:

    #define LOITER_P 0.50
    #define LOITER_I 0.0
    #define LOITER_RATE_P 5 //
    #define LOITER_RATE_I 0.1 // Wind control
    #define LOITER_RATE_D 0.0 // try 2 or 3 for LOITER_RATE 1

    I've gone up to Loiter Rate P = 8, and it holds harder, but it's really busy.  We have been talking recently about using much more I-term, but nobody has tried yet.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @_JonMyer: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
Wednesday
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Monday
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Aug 1
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Jul 31
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
More…