Releases: branoholy/regilo
Fast hotfix
Testing and bugfixes
The main contribution of this release is the 100% coverage testing.
Additionally, it fixes inheritance of the device interfaces (issue #3) and the arguments in the examples (issue #4).
Starting from the next release, semantic versioning will be used.
Bug fix release
This release fixes sending of the scan command with the new generic sendCommand method.
Generic sendCommand methods
This release adds a support for generic sendCommand
methods. From now, there are two ways how to send a command. You can send it
-
with a string format
std::string commandFormat = "setmotor %d %d %d"; // No response is expected. controller.sendFormattedCommand(commandFormat, 20, 20, 5); // A string response is expected. std::string response = controller.sendFormattedCommand<std::string>(commandFormat, 20, 20, 5);
-
or with any value that can be written to a stream (parameters are separated by space).
// No response is expected. controller.sendCommand("setmotor", 20, 20, 5); // An integer response is expected. int response = controller.sendCommand<int>("setmotor", 20, 20, 5);
One more bugfix
This release adds one more bugfix to the previous ones.
Some bugfixes
This is a bugfix release that fixes
- the compilation in GCC 6,
- reading commands with multi-char delimiters,
- the log support in
regilo-visual
, - and other small fixes.
Read command from the response is optional
Neato and Hokuyo place the input command in the front of their responses. However, some devices does not do that. This release brings a small change that enables to turn off reading of a command from the response.
regilo::SocketController controller;
controller.readCommand = false;
Fixed Controllers and Log
This release brings a lot of changes with the controllers and TimedLog
. The most important ones are:
- the fix of diamond problem,
- change name of
BaseController
toStreamController
, - and all interfaces start with the prefix
I
.
Synced Log
This release brings the synced loading of log files and other fixes.
Runtime library packages
Since this release, it is possible to install the runtime library packages. There are the regilo-lib
(in Arch Linux), libregilo
(in Debian / Ubuntu), and regilo
(in Fedora) packages.