with marks on the floor and a color detector.
Hello all,I want to use the HMC5883L, which is a 3 axis compass. For my project, i want to be able to calibrate it on the north geographic with marks on the floor and a color detector. I searched a lot but i only found how to calibrate it with algorithms.So my question is : is it possible to assign a new value of the north multiple times by my own program ?Thank you by advance for your help.
Let me see if I got this correct:You want to draw true N-S lines on the floor, you are going to use a color detector, to find those lines, and re orientate, either physically or programatically, the devices readings based upon those drawn lines, right?And you want to know if you can update a variable with that new value multiple times by your own program? Yes.
So my question is : is it possible to assign a new value of the north multiple times by my own program ?
Here is a link that should help https://www.w3schools.in/cplusplus-tutorial/variables/
What does this mean?This is the best tutorial for calibrating a magnetometer: https://thecavepearlproject.org/2015/05/22/calibrating-any-compass-or-accelerometer-for-arduino/