Skip to content
Snippets Groups Projects

Content of the package

firmware-updater

The firmware-updater program is used to enquire about the firmware status, or to update the firmware embedded into the motor driver hat. firmware-updater --help gives information about the available subcommands.

controller-firmware.elf

This file contains the firmware that can be flashed into the motor driver hat, by using

$ ./firmware-updater flash controller-firmware.elf

controller.py

This file contains a Python module used to interact with the embedded firmware, for example to set the motor speed, or read the encoders. Its version must match the one of the embedded firmware.

check-wiring.py

This program checks that the motors are connected as expected by moving them in turn. Also, it checks that the encoders receive the right information and appear to be connected correctly.

Other files

Those files are intended for low-level operations and should not be useful for most users:

  • check-firmware: check that the firmware works as expected
  • controller-standalone.elf: controller firmware usable without a bootloader.
  • bootloader.elf: the embedded bootloader
  • README.md: this file