Soar

Latest version: v1.5.2

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.3.4

Bugfixes
-----------
* `PlotWindow`, when imported by Soar brains, is now a class, rather than a function wrapping a class. Previously, Soar decorated the `PlotWindow` constructor with a function; now it is a proper class, and indistinguishable to the brain from the `PlotWindow` it subclasses and wraps.
* Fixed 10 by forcing `PlotWindow` methods to run on the main thread, including when creating new instances. This should fix issues in window managers that don't behave nicely when Tk methods are called from a 'foreign' thread that isn't the Tk mainloop.
* The update checker no longer breaks if either the Soar version on PyPI or the local version are development (`.devN`) releases. Previously, it would silently fail.
* Previously, 'all files' in the file dialog select would only allow selecting of files with extensions. This has been fixed.

1.3.3

Bugfixes
-----------
* Added slight delay to ARCOS connection for `PioneerRobot`, to wait for the sonars to start up.
* Fixed error building documentation on ReadTheDocs

1.3.1

What's New
---------------
* Starting Soar in GUI mode now checks for a newer available version on PyPI. If the check fails for whatever reason, such as no network connection, etc, no message is displayed. If a newer version is available, the user will be notified in the output box.

Bugfixes
-----------
* Fixed error where wallFollowerWorld had the robot positioned 5cm too high.
* Fixed error in Pioneer where get_distance_right was called instead of get_distance_left.

1.2.1

What's New
---------------
* Colored icons, to make it clearer to see when icons are greyed out/disabled.

1.2.0

What's New
---------------
* A new [hook](https://snakes-on-a-robot.readthedocs.io/en/latest/soar.hooks.htmlsoar.hooks.raw_print) that allows brains to override the automatic ``>>>`` prepended to any output.
* Ctrl-C in the GUI will force a controller failure in most cases (see 7).
* Calls to `input()` in brains are intercepted and immediately return an empty string. This is intended to prevent brains from waiting on input that can only be captured from the terminal where Soar was started.
* `PioneerRobot`'s `.pos` attribute is now called `.pose`. Legacy usage of `.pos` will still work, but will be deprecated later.

Bugfixes
-----------
* Using `PlotWindow` outside of Soar no longer opens a strange second, empty Tk window.
* Documentation was not building properly on ReadTheDocs due to Soar's dependencies containing C modules, which RTD does not allow. A workaround is to import 'mock' modules in the `conf.py`.

1.1.0

What's New
---------------
* Support for multiple robots of the same type. Before, all robots of a specified class had the same tags. Now, all `WorldObject`s have unique tags derived from their class name, alleviating this problem.
* `PioneerRobot` can now be dragged or rotated while a simulation is running. While this is allowed behavior, it may cause momentary loss of precision if moving the robot across vast distances. Closes 4.
* Opening a world for the first time while a brain is loaded will immediately open a simulator window. Closes 2.

Bugfixes
-----------
* Fix for 1: the problem was that the paths being joined were not valid on Windows; it was not a bug in Tkinter.
* Potential fix for 5 by telling `matplotlib` to use the Tk backend. Testing required.
* Simulated sonar values were not rounded before; now they are.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.