eQEP (Enhanced Quadrature Encoder Pulse) library for Beaglebone Black revision C
sudo apt-get install python-catkin-tools
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
cd ~/catkin_ws
catkin clean bbbeqep
cd src/lib-bbbeqep
git pull
cd ..
catkin build bbbeqep
- In this github repo navigate to releases, right click on
bbbeqep.zip
(not the source code zip!) and select `Copy link address' - In a rosmod project, drag in a new source library to the software model
- Paste the link in the url attribute
- Name the source library
bbbeqep
- Drag the library into the
set editor
of any component that uses it - In the forwards section of the component add
#include "bbbeqep/eqep.h