Getting Started

Prerequisites

Installing and Upgrading

1. Create a virtual environment using Python 3.8 and activate it:
  • On Windows:

python -m venv venv
./venv/Scripts/activate
  • On Linux/Mac:

python -m venv venv
source venv/bin/activate
2. Install the latest version:
pip install parallax-app

To upgrade to the latest version:

pip install parallax-app --upgrade
3. To install the camera interface:
pip install parallax-app[camera]

Running Parallax

  1. Run the Pathfinder MPM Software application to connect to the manipulator:

    • Run Pathfinder MPM Software (v2.8.0 or later) in administrator mode.

    • Enable the HTTP server.
      • Version 2.8.0 of the Pathfinder MPM software includes an HTTP listener that can send probe information to a client program.

      • Enable the HTTP server in the “MPM System Setup” dialog.

      • Click the “Enable HTTP Server” checkbox to turn on the service.

      Enable HTTP server
  2. Run the Parallax application:

    python -m parallax
    

Other Things to Note

Development Mode

  1. Clone the repository:

    git clone https://github.com/AllenNeuralDynamics/parallax.git
    
  2. Install dependencies:

    pip install -e .[dev]
    

Documentation

  1. Install dependencies:

    pip install -e .[docs]
    
  2. Create the documentation HTML files:

    sphinx-build -b html docs/source docs/_build