Skip to content

v1.1.0

Choose a tag to compare

@aidenbull aidenbull released this 24 Dec 19:31
· 22 commits to main since this release

New Features:

  • Added dependency on new orca-api repo. Removed most locally defined register content structures.
  • Added overloads to write_multiple_registers_blocking and read_write_multiple_registers_blocking to accept vectors to simplify usage.
  • Improved CMake integration to support supplying your own asio dependency if necessary.
  • Made some error messages more descriptive.

Bugfixes:

  • Fixed issue where Actuator object destruction would occasionally terminate the program.
  • Fixed issue where write buffer could get corrupted when encountering occasional timeouts.
  • Fixed issue where the Actuator would get stuck repeatedly failing messages if it encountered unexpected response data.
  • Now preventing exception that would throw when calling a MODBUS function without opening any serial port. Replaced with OrcaError as usual.
  • Added protection from writing MODBUS functions with invalid read and write lengths.

Other Changes:

  • Changed recommended way (for most users) to include the SDK to FetchContent from find_package.
  • Gave a default value to the Actuator constructor's name parameter, effectively giving it a default constructor.