Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,36 @@

__Documents__ https://bhallalab.github.io/MouseBehaviour

A `cmake` based C++/Python pipeline to run behavioural experiment.
A C++/Python pipeline to run behavioural experiment.

# Protocols

A protocols must be listed in `./Protocols/BehaviourProtocols.csv`. You must specify the right
protocol code duging configuration. See section __How to run the pipeline__ below.
protocol code duging cmake configuration. See section __How to run the pipeline__ below.

# How to run the pipeline

Both the arduino and the camera should be connected to the computer before starting the
The Arduino uno board and the camera should be connected to the computer before starting the
session.

## Download and setup (done once)

This code will __only__ work on Ubuntu-16.04. Install arduino, c++ compiler
(gcc), cmake, and boost libraries.
This application works __only__ on Ubuntu-18.04 because of the camera firmware available in this repository
from PointGrey Inc works only with Ubuntu 18.04.

Install arduino, c++ compiler (gcc), cmake, and boost libraries.

Script `bootstrap.sh` will try to install all dependencies. Required
libraries for PointGrey camera is in the source.

$ git clone https://github.com/BhallaLab/MouseBehaviour.git
$ cd MouseBehaviour
$ sudo -E ./bootstrap.sh # on first time post login. If it fails, manual configuration is needed.

The script `bootstap.sh` will try to configure your system. You must have `sudo`
permissions because we need to add to various groups (`pgrimaging` and `dialout`)
before you can access camera and serial port. __In case, something odd happens,
raise an issue on github__.
$ sudo -E ./bootstrap.sh # If it fails, manual configuration is needed.

Once bootstrap is successful, logout and login. Changes made to your groups comes
into effect only after a fresh login. To verify that you are in appropriate groups, type `groups`
command in terminal. Make sure that `pgrimaging` and `dialout` appears in the
group list. If not, things have not gone properly.
command in terminal. Make sure that `flirimaging` and `dialout` appears in the
group list.

To build and upload to arduino:

Expand Down