Coder Social home page Coder Social logo

Comments (6)

hamishwillee avatar hamishwillee commented on July 22, 2024 1

The third point has been addressed:

  • Sensors with poor performance can be disabled using the CAL_..._EN parameter

The other two are:

  • Magnetometer calibration should be done with usb disconnected and the vehicle in a flight configuration and failure to do this can result in a "mag sensors inconsistent" error. This is a particular problem with the pixracer where USB connection can produce large levels of magnetic interference.
  • Raw comparison data for all sensors can be logged by setting SDLOG_MODE = 1 and SDLOG_PROFILE = 64

@bresch Would this still be relevant? I.e. do we need to worry about USB? If so, how do you do the calibration if you don't have a telemetry radio?

from px4-user_guide.

hamishwillee avatar hamishwillee commented on July 22, 2024

Magnetometer calibration should be done with usb disconnected and the vehicle in a flight configuration and failure to do this can result in a "mag sensors inconsistent" error. This is a particular problem with the pixracer where USB connection can produce large levels of magnetic interference.

Please confirm:

  1. the user would have to have telemetry radio of some kind as the only way to connect to QGC to perform the calibration? That sounds like a bit of a limitation.
  2. When you say "vehicle in a flight configuration" what do you mean? What other configuration can it be in?

For this one proposal is to update https://docs.px4.io/en/config/compass.html putting connection requirements in point "1"

from px4-user_guide.

hamishwillee avatar hamishwillee commented on July 22, 2024

Sensors with poor performance can be disabled using the CAL_..._EN parameter

When/what sensors would you do this for? I assume this is primarily for the case of magnetometers where you can have poorly behaving internal compasses that you can't remove so you want to disable them? (presumably you could just remove a badly behaving external compass).

What other sensors might this apply to?

If this is just general advice, perhaps we should create some sort of calibration troubleshooting/debugging topic in the user guide?

from px4-user_guide.

hamishwillee avatar hamishwillee commented on July 22, 2024

Raw comparison data for all sensors can be logged by setting SDLOG_MODE = 1 and SDLOG_PROFILE = 64 (bit 6 set

Sounds useful.

  1. Is there any information on how the comparison data might be used/interpreted?
  2. I don't think this should live inside the basic configuration topics/section, but could perhaps be in a troubleshooting section and linked from them. Maybe we should extend https://dev.px4.io/en/debug/sensor_uorb_topic_debugging.html in the devguide to be more generic (i.e. cover this option to?)

from px4-user_guide.

bresch avatar bresch commented on July 22, 2024

Yes, I think it is still relevant. For the USB, yes, this is an issue with the Pixracer but it might apply to other boards as well (maybe future ones too).

from px4-user_guide.

hamishwillee avatar hamishwillee commented on July 22, 2024

Thanks @bresch . Fixed by #2563

from px4-user_guide.

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.