| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An object-based toolbox for robot dynamic simulation, analysis, control and planning.
|
|
|
|---|---|
|
|
|
|
Computed torque controller
|
Sliding mode controller
|
|---|---|
|
Dynamic programming
|
Optimal torque policy
|
|
Rapidly-exploring random tree planning
|
Direct collocation trajectory optimisation
|
The concept of this toolbox is a hierachy of dynamic system objects, from the most generic representation (any non-linear differential equations) to more system specific representations such as mechanical system (second order equations), linear state space, manipulator equations, etc. This structure is then leveraged by analysis tools, from generic tools that work for all sub-class of dynamic systems such as running simulation and phase-plane analysis, to system-specific tools that leverage specific system propreties such as modal analysis for linear sub-class:
The core of the library is a mother dynamic system class defined by a differential equation $\dot{x} = f(x,u,t)$, and optionnaly an output equation $y = h(x,u,t)$ and a foward kinematic equation that is used for generating animations:
To learn how to use pyro, see the following notebook tutorials hosted on colab:
Also see exemples scripts in pyro/examples/
and tutorial video (in french) on youtube: here
Pyro is built only using core python librairies:
!git clone https://github.com/SherbyRobotics/pyro
import sys
sys.path.append('/content/pyro')
import pyro
Download anaconda (including spyder IDE) available here: https://www.anaconda.com/products/individual
option a) Using git to clone the repo:
git clone https://github.com/SherbyRobotics/pyro.gitin the folder of your choice.
option b) Download the .zip using the Code/Download Zip link at the top of this page, and then unzip in the folder of your choice.
option a) [Easy spyder IDE only] Add it this the spyder menu at python/PYTHONPATH manager.
In order to run pyro in the terminal directly of in another IDE like VS code, option b) or c) should be used.
option b) [conda]
conda develop /PATH/TO/PYROoption c) [pip] Go to the root directory of the pyro folder and run:
python -m pip install -e .By default pyro will try to use matplotlib Qt5Agg backend and interactive mode. You can modify the default graphical behavior by modifying the headers of the file pyro/analysis/graphical.py In spyder IDE, you cand also change the graphics backend in the menu at python/Preferences/IPython console/Backend. Inline does not allow animations, it is best to use Automatic (for Windows and Ubuntu) or OS X (for Mac).
| Back | FazBrowse Home | New Git URL |