CleanFlight Ervaringen

Discussie in 'Multicopters electronica' gestart door BorisB, 9 dec 2014.

  1. Fint

    Fint

    Lid geworden:
    11 okt 2013
    Berichten:
    1.003
    Locatie:
    Weert
    How did you determine this looptime of 800ms.
    I only find very confusing stuff on the internet. Max refreshrate of kiss escs 2khz = 500ms... And this is were my logic stops...
     
  2. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
    In configurator status line ;)
     
  3. Fint

    Fint

    Lid geworden:
    11 okt 2013
    Berichten:
    1.003
    Locatie:
    Weert
    That i onderstand, lol. But why is 800 the correct number?
     
  4. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
    Because @BorisB was flying it on SpRacing board and it was awesome ;) I uploading video now with this settings ;)
     
  5. Fint

    Fint

    Lid geworden:
    11 okt 2013
    Berichten:
    1.003
    Locatie:
    Weert
    Haha oké, clear. Looking forward to your vid! And if anyone can clarify hoe to get the correct looptime, let me know ;)
     
  6. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
    Here it goes...



    Nothing exiced... Just a local park....

    NAZE32, local build cleanflight, CM1960, 10DEG motor tilt, KISS18A, HQ 6045 (not very fresh), A-SPEC 2200 4S, GoPro3, OpenLog.
     
    Laatst bewerkt: 7 jul 2015
  7. swilkens

    swilkens

    Lid geworden:
    31 mrt 2011
    Berichten:
    401
    Locatie:
    Sneek, Friesland
    I haven't, yet. I assume I'm going to be a massive sad panda when I see the buttload of oscillations? :D

    Does the naze have an on-board serial logger or am I going to need an openlog or something to activate the feature?
     
  8. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
    If you have full naze32 - you can log to internal flash. You can also SOLDER flash chip (2mb/8mb/16mb). Or you can add OpenLog board with SD card (board needs to be flashed with BB firmware for that).
     
  9. Royce

    Royce

    Lid geworden:
    29 sep 2014
    Berichten:
    515
    Locatie:
    Maas & Waal
    So it's acc_hardware=1 and not acc_hardware=0? to shut off the accelerometer?
    Or are you talking about something else.. confusing.

    Dit werkt voor iedere quad? Of ook weer afhankelijk van je setup etc..
    Enige wat je dus zou moeten tunen is de gyro_cut_hz?
     
  10. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
    Yap. 0 - autodetect, 1 - off.
     
  11. timgoesusa

    timgoesusa

    Lid geworden:
    24 dec 2014
    Berichten:
    27


    Hey have been following this thread for awhile. And noticed my setup is the same as yours. Would you share your pid's and cli settings for the filtering?

    Grtz, Timmay!
     
  12. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
    Sure... Enjoy (its pretty much @BorisB pids from SPRacing video).. I need to fine tune it for my quad. But its very good!

    https://www.dropbox.com/s/4o2go7viqfxjfao/SMH-800us.txt?dl=1

    Keep in mind.. ITS FOR DEVELOPMENT FIRMWARE AND FOR LOOPTIME 800!!!!
     
  13. timgoesusa

    timgoesusa

    Lid geworden:
    24 dec 2014
    Berichten:
    27
    Oh i cant run the filtering and looptime 800 yet on 1.9.0? Just on the 1.9.1 that you are using?
     
  14. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
  15. timgoesusa

    timgoesusa

    Lid geworden:
    24 dec 2014
    Berichten:
    27
    Thanx! Will try it. And will let you know if i can get it working.
     
  16. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
    good luck with that! if u have bb it also logs inflight adjustments - kinda handy!
     
  17. sniperx

    sniperx

    Lid geworden:
    2 jun 2008
    Berichten:
    816
    Locatie:
    Deventer
    wat doe ik fout?
    # set gyro_cut_hz = 80
    Unknown variable name
    Cleanflight 1.9
     
  18. Dirk77

    Dirk77

    Lid geworden:
    6 nov 2014
    Berichten:
    178
    Locatie:
    Haarlem
    Als ik het goed begrepen heb, zit dit nog niet in 1.9, pas in 1.9.1 en die is alleen als nightly build beschikbaar nog.
     
  19. FedorCommander

    FedorCommander

    Lid geworden:
    30 okt 2014
    Berichten:
    305
    Locatie:
    Den Haag
    read few posts back. u need dev build with @BorisB filters.
    (i posted hex just above)
     
  20. BorisB

    BorisB Forum veteraan

    Lid geworden:
    16 mei 2012
    Berichten:
    8.188
    Locatie:
    Brabant
    https://dl.dropboxusercontent.com/u/31537757/cleanflight/cleanflight_NAZE.hex
    Use my last change :). I even managed to get gyro trace even smoother by removing jitter. Also filtering is more efficient now. Much less CPU usage due to precalculating if filter coefficients.
     

Deel Deze Pagina