adatools
is a Python package with software tools in addition to the roboticstoolbox which we use in ADA526.
To install adatools
follow these steps:
-
Decide where you want to keep the toolbox. This can be anywhere on your computer. For example, you can make a new folder in Documents, or you can put it into your working directory for ADA526.
Open a termninal window, ancd
into this directory.cd path/to/your/directory
-
Clone the repository:
git clone https://github.com/frdedynamics/adatools.git
-
Navigate to the
adatools
directory in which thesetup.py
file is located:cd adatools
-
Install the package:
pip install .
Now the package should be available for import in Python on your system.
Once adatools
is installed, you can import it in your Python scripts:
import adatools
You can find example scripts in the examples
directory of this repository. These examples demonstrate how to use the functionalities of the adatools
package.
When there are updates to the adatools
package, you can update your local copy by navigating to the adatools
directory (where the setup.py
file is located)
cd path/to/your/directory/adatools
and pulling the latest version from the repository:
git pull origin master
Then, you can upgrade the package installation:
pip install --upgrade .
To uninstall the package, navigate to the adatools
directory (where the setup.py
file is located)
cd path/to/your/directory/adatools
and uninstall the package:
pip uninstall adatools