NLAS aims at developing tools for the next generation of animal science. In our case, *"locomotion of dairy cows"*, we developed technology to
track and monitor locomotion of dairy cows in a continuous and automated way. We worked with 2 different technologies: a UWB-based positioning
system, and video analyses.
This document lists and explains the tools that are developed in the context of NLAS using the UWB data collected at Dairy Campus, Leeuwarden.
Most tools described below consist of software code to collect, save, quality-control, preprocess and interpret the positioning data.
### Description of the sensor system and setup
A real-time UWB positioning system was installed at Dairy Campus, Leeuwarden, the Netherlands. It consists of antennas (at least 4 per barn), and tags that
are mounted on the top-side of the neck of the cows. Only when a tag connects to all 4 antennas, the sensor deems to have a reliable signal and the location is
calculated, with an estimated accuracy of 30 cm.
The initial installation was done in 2 barns (70 and 72) at end of 2021 and included data collection of 32 cows with the measurment frequency set to 10Hz and
the accelerometers activated. The second part of the intallation in September 2022 entailed 4 additional barns and the waiting area (with 5 antennas).
As the UWB system monitors positions of the tags, the tag id needs to be coupled with the cow id in order to render the information useful.
Battery life of the tag depends on measurement frequency and activation of additional sensors (some have acceleration, gyroscope and magnetometer mounted) and
therefore varies between approx. 14 and 90 days.
The data are automatically written to a sewio-database that can be accessed via the [IP address](http://10.82.16.215/login) and login information. This
gives access to the database and real-time visualisation tools,.