#Socket Server for On-Board Sensors
##Description This server was developed to be put on board a 3DR Solo Quadrotor carrying a Raspberry Pi, camera, and LiDAR sensor. This server provides the means of communicating between the Raspberry Pi and the on-board sensors.
##Setup Environment
- Make /dev directory for environment
mkdir dev
cd dev
- Clone and build Apriltag library into /dev (courtesy of Ruixiang Du)
git clone https://github.com/rxdu/apriltag-pose.git
- Download RPLiDAR A2 SDK from Slamtec website
- Unzip SDK into /dev
unzip rplidar_sdk_v1.5.7.zip
- Build SDK in /dev
cd rplidar_sdk/sdk
make all
##How to Compile
- Clone repository into local environment
- Navigate to repository
- Execute:
make all
##How to Execute
- Compile code
- Run python server
python mqp.py
- Run either camera or lidar in bin folder
- Data should now print into terminal executing server