Skip to content

Commit

Permalink
closes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexter Watkins committed Mar 29, 2018
1 parent 4073e35 commit c11adf5
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,43 @@ Beaglebone Black eQEP C++ Library

eQEP (Enhanced Quadrature Encoder Pulse) library for Beaglebone Black revision C

Install Build Tools
-------------------------

```bash
sudo apt-get install python-catkin-tools
```

Build Library:
-------------

```bash
git clone http://github.com/rosmod/lib-bbbeqep
cd lib-bbbeqep
catkin_make
cd
mkdir catkin_ws #if a workspace does not already exist
cd catkin_ws
git clone https://github.com/rosmod/lib-bbbeqep.git src/lib-bbbeqep
catkin build bbbeqep
```

Update Library:
-----------------

```bash
cd ~/catkin_ws
catkin clean bbbeqep
cd src/lib-bbbeqep
git pull
cd ..
catkin build bbbeqep
```


Rosmod Source Library Setup:
-------------------------------

1. In this github repo navigate to [releases](https://github.com/rosmod/lib-bbbeqep/releases), right click on `bbbeqep.zip` (not the source code zip!) and select `Copy link address'
2. In a rosmod project, drag in a new source library to the software model
3. Paste the link in the url attribute
4. Name the source library `bbbeqep`
5. Drag the library into the `set editor` of any component that uses it
6. In the forwards section of the component add `#include "bbbeqep/eqep.h`

0 comments on commit c11adf5

Please sign in to comment.