sudo apt-get install python-catkin-toolscd
mkdir catkin_ws #if a workspace does not already exist
cd catkin_ws
git clone https://github.com/rosmod/lib-serial.git src/lib-serial
catkin build serialcd ~/catkin_ws
catkin clean serial
cd src/lib-serial
git pull
cd ..
catkin build serial- In this github repo navigate to releases, right click on
serial.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
serial - Drag the library into the
set editorof any component that uses it - In the forwards section of the component add
#include "serial/SerialPort.h"