Skip to content

UWB 3D positioning for indoor drones and robots: drift-free absolute position for your SLAM/VIO stack, published as a ROS 2 topic (demo video)

ROS Discourse — Community updates1Psquare

P-Square Inc. shares a demo of its UWB 3D positioning system for indoor drones and robots, which provides drift-free absolute position estimates to correct SLAM/VIO drift. The system uses multi-anchor two-way ranging with tags on vehicles and anchors at different heights to constrain vertical accuracy, solving position on-board via a Raspberry Pi 5 running ROS 2 Jazzy. Static tests show ~10 cm 3D accuracy (median ~5 cm), with a default publish rate of 30 Hz. The post includes a demo video, system architecture details, ROS 2 topic definitions, and an invitation for community feedback on message types and integration options.

Hi everyone,

We are P-Square Inc., a team working on indoor positioning with UWB (Ultra-Wideband), Bluetooth and Wi-Fi. We’d like to share a short demo of our UWB 3D positioning for indoor drones and robots, and hear how people here get a reliable absolute position indoors, where GNSS (Global Navigation Satellite System) isn’t available.

Demo video (1:11): https://drive.google.com/file/d/1G027BCHhjDE0is-KfXhQiaS9pU4h1B4L/view

The drone trajectories in the 3D views are simulated data; the close-ups of the UWB tag and the on-board computer show the real hardware.

Where it fits

  • Alongside SLAM/VIO, not instead of it: SLAM (Simultaneous Localization and Mapping) and VIO (Visual-Inertial Odometry) give smooth relative motion but drift over time. UWB gives an absolute position in a fixed site frame that does not drift, so it can anchor your estimate and correct the drift.
  • Use cases: indoor research labs, warehouse inventory, greenhouses, indoor inspection, and multi-robot or multi-drone formations.
  • For research labs: a lower-cost alternative to optical motion capture, where centimetre-level to ~10 cm accuracy is enough and the flight or driving area is larger than a mocap volume.

What the demo shows

  • The scenario: one example deployment, a GPS-denied agricultural greenhouse, with 3D positioning for four drones at 30 Hz each and on-board computing.
  • The hardware: one UWB tag per drone, ranging to all fixed anchors, and a Raspberry Pi 5 on board that solves the drone’s own 3D position.
  • The system architecture: anchors → tag → on-board solver → autonomy stack. Position is solved on the vehicle, with no ground server in the control loop.
  • A 3D scene-model view (.glb): the site’s 3D model is imported, so you can see which aisle and which shelf level each drone is at.
  • A 3D grid view: no site model needed; anchors and positions are shown on a metric grid.

System architecture

  • Ranging: multi-anchor TWR (Two-Way Ranging). One tag on the vehicle ranges with 12 anchors arranged in two layers (upper and lower), so the vertical axis is well constrained.
  • On-board computing: a Raspberry Pi 5 on the vehicle collects the ranges and solves the 3D position on board, so there is no dependence on ground Wi-Fi.
  • Ground monitor: positions are broadcast back over UWB to a ground monitor (Windows), and each drone also receives its neighbours’ positions over UWB.
  • ROS 2 interface:
    • ROS 2 Jazzy, running on the on-board Raspberry Pi 5.
    • Topic /uwb/pose, type geometry_msgs/PoseWithCovarianceStamped: position in metres plus the 3×3 position covariance. Orientation is not provided. frame_id is uwb_site (the site coordinate frame).
    • 30 Hz by default; we measured 30 Hz with a real tag.
    • An optional /fmu/in/vehicle_visual_odometry output (px4_msgs/VehicleOdometry) can feed PX4’s external vision fusion. It is off by default.

Accuracy and site status

  • Accuracy: 3D accuracy around 10 cm; static calibration points at a greenhouse site showed a median 3D error of about 5 cm. These are static measurements, not measured in flight.
  • Site status: the system has been installed and brought up at one greenhouse site, and the on-board node publishes /uwb/pose at 30 Hz. We’ll share flight-test data later.

Site conditions

  • Line of sight: metal structures, machinery and people between the tag and the anchors increase error, so anchor layout is the biggest factor.
  • Anchor placement: anchors must sit at different heights, otherwise Z becomes poorly constrained. That’s why the demo uses two layers.

Questions for the community

  • For those running indoor drones or AMRs (autonomous mobile robots): how do you get a reliable absolute position, especially Z, indoors today, and how do you fuse it with SLAM/VIO?
  • We publish geometry_msgs/PoseWithCovarianceStamped on /uwb/pose. Is that the message type you’d want in your stack, or would you prefer something else (for example nav_msgs/Odometry, or raw ranges)?

We offer an evaluation kit and OEM (Original Equipment Manufacturer) integration under your own brand; the ROS 2 node ships with the kit. Happy to answer technical questions in this thread.

Website: https://p2-positioning.com
Contact: service@p2-positioning.com

This post was drafted with AI assistance and reviewed by the P-Square team.

Source notes

  1. UWB 3D positioning for indoor drones and robots: drift-free absolute position for your SLAM/VIO stack, published as a ROS 2 topic (demo video)↩
Source evidence

Reported by the source; not independently verified.

  1. ed agricultural greenhouse, with 3D positioning for four drones at 30 Hz each and on-board computing. The hardware: one UWB tag per drone, ranging to all fixed anchors, and a Raspberry Pi 5 on board that solves the drone’s own 3D position. The system architecture: anchors → tag → on-board solver → autonomy stack. Position is solved on the vehicle, with no ground server in the control loop. A 3D scene-model view (.glb
    Exact source
  2. 1B4L/view The drone trajectories in the 3D views are simulated data; the close-ups of the UWB tag and the on-board computer show the real hardware. Where it fits Alongside SLAM/VIO, not instead of it: SLAM (Simultaneous Localization and Mapping) and VIO (Visual-Inertial Odometry) give smooth relative motion but drift over time. UWB gives an absolute position in a fixed site frame that does not drift, so it can anchor
    Exact source
  3. s plus the 3×3 position covariance. Orientation is not provided. frame_id is uwb_site (the site coordinate frame). 30 Hz by default; we measured 30 Hz with a real tag. An optional /fmu/in/vehicle_visual_odometry output ( px4_msgs/VehicleOdometry ) can feed PX4’s external vision fusion. It is off by default. Accuracy and site status Accuracy: 3D accuracy around 10 cm; static calibration points at a greenhouse site sho
    Exact source
  4. wed a median 3D error of about 5 cm. These are static measurements, not measured in flight. Site status: the system has been installed and brought up at one greenhouse site, and the on-board node publishes /uwb/pose at 30 Hz. We’ll share flight-test data later. Site conditions Line of sight: metal structures, machinery and people between the tag and the anchors increase error, so anchor layout is the biggest factor.
    Exact source
  5. tance and reviewed by the P-Square team.
    Exact source

Automatically extracted; no manual editorial approval recorded.

Article details
Signal

The post presents a ROS 2 node for UWB-based 3D positioning that provides drift-free absolute position estimates to correct SLAM/VIO drift, with reported static accuracy around 10 cm (median ~5 cm at one site) and a default publish rate of 30 Hz on an on-board Raspberry Pi 5.

Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).