IntervalPyLib implments the necessary functionality to solve the systems of equations describing a robot's workspace area.
The robot has a lot of unknown variables, such as velocity, different angles, lengths and more importantly its position. Based on these variables, a kinematic system of equations is constructed that restricts the robot's workspace area. This package allows for easy solving and visualization of such equations.
This package can be installed using python's pip
:
python3 -m pip install intervalpylib
First of all, import that package:
import intervalpylib as ival_utils
or
from intervalpylib import <necessary class>
Inside the package, there are 3 main classes that provide necessary functionality:
- SymbolicEquationSolver, provides the functionality for algebraic system manipulations needed for other classes
- AreaCalculator, contains the functions/methods that allow to visualize the solution, as well as contain the analytically calculated robot areas for some known configurations
- Solver, an abstract class that sets the interface which custom solvers need to respect
As an example, KrawczykSolver
is included in the package (it implements the interval Krawczyk operator)
Example usage is included in the example.py