Skip to content

Version 1.1.1 - Sample Scripts update (hotfix)

Compare
Choose a tag to compare
@ian612 ian612 released this 15 Nov 20:17
· 60 commits to main since this release

This release is focused on improving compatibility between some SimMeR scripts and functions, and analogous ones that might be used on an Arduino-based robot.

New versions of the sample scripts have been added that should be easier to use both with SimMeR itself and with serial devices (i.e. Arduino).

A new sample Arduino sketch command_response_test.ino is included that can be uploaded to an Arduino and used with dead_reckoning.py and test_client.py. This sketch shows how to read from serial efficiently, parse commands into the ID and data portions, and how to pack response data as a float in the same way that SimMeR packs response data.

Breaking Changes
Finally, SimMeR itself is updated to respond to commands with 4-byte floating point numbers instead of the original 8-byte double format. This should improve compatibility with Arduinos, which only use 4-byte floats.

Version 1.1.1 Changes
Cleaned up a mistake or two that got missed on initial commit. Nothing that should cause bugs, just some redundancies that got missed initially.