Dear all,
I’m working on an UWB based indoor positioning system. I’m using an ESP32 UWB based dev board (ESP32 UWB(Ultra Wideband) | Makerfabs) and plan to attach one to the copter (tag) and the others as static anchors with known position. I’m doing this for the first time and I have some conceptual questions:
- From each anchor I receive the tof measurement and hence the relative distance
- Since I know the static position of the anchors, I can use triangulation to obtain an position estimate, which I could compute on the tag and send to the FCU via Mavlink (and e.g. mimic a Vicon indoor positioning system, since it should be already integrated in the EKF2/3)
That would be the simplest approach in my opinion. I assume better were if I could integrate the measurement in the EKF itself. I also could show via Simulink and Python that this works, but that would mean I need to operate at the heart of Ardupilot and I wont feel confident enough for this atm.
I thought as approach between those two, I could run a separate EKF on the tag (the ESP32 has enough computational power for this) with a constant velocity model and the UWB measurements as observation + Mavlink input from FCU with velocities. Despite the computational effort, I believe this would also enable the integration of more sensors without meddling with the Ardupilot code base. The estimate would, like in the simplest approach, send as indoor positioning message via Mavlink back to the FCU.
Can you advice any of those directions? Any thoughts would be much welcomed :). Thank you!