Git Product home page Git Product logo

Comments (5)

breadoven avatar breadoven commented on July 30, 2024

This is simply the yaw value wrapping around at the 360 degree point where it goes from 360 back to 0. This is normal. Unless you're saying the yaw rotation does something strange at this point ? It's not clear from your description.

from inav.

SeriouSerg avatar SeriouSerg commented on July 30, 2024

This is simply the yaw value wrapping around at the 360 degree point where it goes from 360 back to 0. This is normal. Unless you're saying the yaw rotation does something strange at this point ? It's not clear from your description.

It's normal for 360 to go to zero. In my case, 360 doesn't go to zero. And the most important thing is that after this transition the copter begins to turn around, this can be seen from the logs. The PIDs began to change, the ref yaw angle also began to change (graph below)
Logs here:
LOGS.zip

LOG00057 frame 0045000
LOG00055 frame 0052156
Absolute same behavior.

from inav.

breadoven avatar breadoven commented on July 30, 2024

OK I see what you mean. It flips from 356 to 106 ... a change of 250 degs in one log and from 260 to 106 degs again in the other log. This makes no sense at all. The log files also look a mess, broken up. Another H743 FC I note which might have something to do with it. Likely a hardware issue rather than a firmware bug.

from inav.

SeriouSerg avatar SeriouSerg commented on July 30, 2024

OK I see what you mean. It flips from 356 to 106 ... a change of 250 degs in one log and from 260 to 106 degs again in the other log. This makes no sense at all. The log files also look a mess, broken up. Another H743 FC I note which might have something to do with it. Likely a hardware issue rather than a firmware bug.

Okay, I got you. I'll check the flight controller.

from inav.

SeriouSerg avatar SeriouSerg commented on July 30, 2024

So, the continuation of the story. Several hours of experiments, bench and flight tests showed that the controller is working properly. The intermittent log is apparently the result of using a bad old flash card. Replaced it - everything became normal.
I also repeatedly recorded transitions through 360 degrees, everything was fine. But please note that the ALTHOLD mode was disabled. And the problems were when it was enabled.

I also recalibrated the accelerometer. There are questions here too. My flight controller setup have a non-zero pitch angle, but iNAV allows this. Could this be the source of the problem described above in combination with incorrect calibration of the accelerometer?

And I still don’t quite understand - how to correctly calibrate the accelerometer with a non-zero installation angle of the flight controller - before or after making a correction on the Alignment tab?

from inav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.