Skip to content

This project contains the PoC for Ultra-Wideband ranging using a single, broadcast message for simultaneous rangings to all other devices.

Notifications You must be signed in to change notification settings

prathje/uwb-swarm-ranging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UWB Swarm Ranging

This project contains the PoC for Ultra-Wideband ranging using a single, broadcast message for simultaneous rangings to all other devices.

Setup

Setup Zephyr and West as usual. As the Decawave Driver does not allow precise timings, we added some overrides which need to be manually applied (see override directory). As an alternative, you can checkout the related Zephyr feature branch. Tested based on commit 6d56b829423056819c4baaafd6c66957752e22f8, while commit eeb4434d2eb5f2c978c59a439688c1f3f46e8bf8 has been reverted due to scheduling exceptions (already included in the overrides).

Build

Build the project for the Decawave DWM1001 module:

west build -b decawave_dwm1001_dev --pristine auto

You can then flash the boards one by one:

west flash

Build With Docker

You can also use the included Dockerfile / docker compose file configuration to build (warning this might take a bit of time):

docker compose up -d --build

docker compose exec -it /bin/bash build
cp -Rf /app/override/* /zephyr/zephyr/
west build -b decawave_dwm1001_dev --pristine always

Scripts

Serial Monitor

Use the monitor Python script to display JSON outputs of also multiple devices.

pip3 install pyserial
python3 monitor.py </dev/tty.dev1> </dev/tty.dev2>

The result should look something like this: Example

About

This project contains the PoC for Ultra-Wideband ranging using a single, broadcast message for simultaneous rangings to all other devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages