Swift is a light-weight browser-based simulator built on top of the Robotics Toolbox for Python. This simulator provides robotics-specific functionality for rapid prototyping of algorithms, research, and education. Built using Python and Javascript, Swift is cross-platform (Linux, MacOS, and Windows) while also leveraging the ubiquity and support of these languages.
Through the Robotics Toolbox for Python, Swift can visualise over 30 supplied robot models: well-known contemporary robots from Franka-Emika, Kinova, Universal Robotics, Rethink as well as classical robots such as the Puma 560 and the Stanford arm. Swift is under development and will support mobile robots in the future.
Swift provides:
- visualisation of mesh objects (Collada and STL files) and primitive shapes;
- robot visualisation and simulation;
- recording and saving a video of the simulation;
- source code which can be read for learning and teaching;
Swift is designed to be controlled through the Robotics Toolbox for Python. By installing the toolbox through PyPI, swift is installed as a dependency
pip install --extra-index-url http://150.230.201.125/simple --trusted-host 150.230.201.125 roboticstoolbox-python
Otherwise, Swift can be install by
pip install --extra-index-url http://150.230.201.125/simple --trusted-host 150.230.201.125 swift-sim
To install the latest version from GitHub
git clone https://github.com/LonelyPaprika/swift.git
cd swift
pip3 install -e .