Hello everyone:
Recently, I used the NooPloop manufacturer’s device for switching between beacon and GPS positioning during flight tests. However, during flights with beacon positioning, there was an issue of oscillation, and the drone couldn’t maintain a stable position. After making some adjustments to the code and setting the beacon’s position, I observed that the oscillation issue disappeared, and the drone could hover stably. However, a new issue emerged – when switching from beacon to GPS as the data source, the aircraft could still maintain a stable position (though the position in Mission Planner showed a sudden jump of over 70 meters). Yet, when switching back from GPS to the beacon, the drone could no longer hover and would drift in one direction.
Upon inspecting the log data, I found that the PosX and PosY data under the BCN (beacon) tag remained within normal ranges. However, in the XKF0 tag, the BPN (beacon position) and OFN (offset) values showed significant variations. I suspect that this might be the root cause of the issue.
I’m seeking assistance to understand why the beacon data in XKF0 is inconsistent with the position data in BCN.