Skip to content

Releases: Wauro21/SMCC

SMCC - Alpha release 0.0.2!

20 Jul 17:17
Compare
Choose a tag to compare

This release solves a bug found when using the HALT and INFO commands with the sendCommand function.

For the step and setup commands, the controller always reply with the actions taken, if the actions replied by the controller matches the ones found on the sent command, the controller is working properly. Nevertheless, the commands HALT and INFO are somewhat different, so the controller gives some other information or acknowledge to the API. The old sendCommand function checks that every response matches the command, if not it raises an Exception. This was a problem because sending a HALT or INFO command resulted on an unwanted Exception. This is now fixed with the inclusion of a new parameter check, that indicates if the function must check symmetry in the response or not.

Everything was updated accordingly on the docs, hope this one works better!

Changelog

  1. sendCommand function now includes a check parameter defaulted to true, that indicates if symmetry in the response must be enforced.
  2. HALT_CMD now only sends one byte instead of three (1 command byte and 2 padding bytes).
  3. INFO_CMD now only sends one byte instead of three (1 command byte and 2 padding bytes).

SMCC - Alpha release 0.0.1!

20 Jul 00:27
Compare
Choose a tag to compare

This is the first alpha release of the SMCC!

Hopefully it makes some motors spin in the right direction and doesn't break anything on the way there