https://github.com/rosmod/lib-serial
Serial Port library for sending and receiving data.
https://github.com/rosmod/lib-serial
Last synced: 10 months ago
JSON representation
Serial Port library for sending and receiving data.
- Host: GitHub
- URL: https://github.com/rosmod/lib-serial
- Owner: rosmod
- License: mit
- Created: 2016-04-17T17:03:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T17:40:10.000Z (about 8 years ago)
- Last Synced: 2025-06-11T21:41:36.417Z (about 1 year ago)
- Language: C++
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Serial Port library for sendind and receiving data
=================================
Install Build Tools
-------------------------
```bash
sudo apt-get install python-catkin-tools
```
Build Library:
-------------
```bash
cd
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 serial
```
Update Library:
-----------------
```bash
cd ~/catkin_ws
catkin clean serial
cd src/lib-serial
git pull
cd ..
catkin build serial
```
Rosmod Source Library Setup:
-------------------------------
1. In this github repo navigate to [releases](https://github.com/rosmod/lib-serial/releases), right click on `serial.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 `serial`
5. Drag the library into the `set editor` of any component that uses it
6. In the forwards section of the component add `#include "serial/SerialPort.h"`