Crate robot_traits

Source
Expand description

This crate defined a collection of robot related traits to allow interoperability between generic inputs and outputs.

Many of the traits were originally borrowed from the python gpiozero library although I expect them to diverge over time.

Note: This is still a work in progress and the API should not be considered stable until the 1.0 release.

Traitsยง

  • Represents a single LED that can be turned on or off
  • Represents a single motor. All commands are assumed to supercede the previous one, i.e. they are not additive.
  • Represents a differential drive robot. All commands are assumed to supercede the previous one, i.e. they are not additive.