---
# System prepended metadata

title: Python Scripts Usage

---

# Python Scripts Usage

Scripts are in the `dodo/` directory (Make sure you are on right branch):

https://github.com/TimothyQuark/ODrive_dodo/tree/dodo_0.1/dodo

`cd` into the `dodo/` directory to execute the scripts.

* ⚠️ Windows users: Python files are run by invoking python:
    * ex: `python test_closed_loop.py`

# Configuration

run `./save_config.py`

With `./save_config.py --config config_2` you could load a different config named `config_2.py`.

# Calibration

run `./calibration.py`

# Run Motor

run `./test_closed_loop.py`
with the option `--turns` you can change how many turns the motor does. See also `-h`.

# Idle State

After running the motor, you can put the motor back to the idle state with the following script:

run `./state_idle.py`