This repositories contains samples applications that can be used on DotBots robots in conjunction with the SwarmIT infrastructure.
SwarmIT provides a lightweight infrastructure to turn a swarm of robots in a testbed.
5 sample applications, compatible with SwarmIT, are provided to show how to adapt DotBot-firmware code. The sample applications are only compatible with the DotBot-v2 and DotBot-v3 targets, the only DotBot platforms powered by an nRF53 microcontroller, which is a requirement of SwarmIT.
dobtot-swarmit depends on the DotBot-libs repository. It is included in the codebase as a Git submodule.
Use the following command to clone the SwarmIT codebase locally:
git clone --recurse-submodules https://github.com/DotBots/dotbot-swarmit.git
The source code of the different applications available in this repository can be built using SEGGER Embedded Studio for ARM. In SEGGER embedded studio, use the package manager (available in menu Tools > Package manager) to install the CMSIS 5 CMSIS-CORE, CMSIS-DSP and nRF packages.
You can build the applications for dotbot-v3, dotbot-v2 or nrf5340dk depending on your target.
For details on SEGGER Embedded Studio, read the online documentation.
After building, for example if you want to run the move application, you will find the binary file inside
<application directory>/Output/dotbot-v3/Debug/Exe/move-dotbot-v3.bin
that you can use to flash using SwarmIT.
The code in this repository is published under the BSD 3-Clause license.