BikeTalker : 1 Introduction and Installing - 17chuchu/AutomaticBicycleInterface GitHub Wiki

BikeTalker is a python application that will handle a web-socket connection with the Django Server. And also control BikeCamera Application as well. In addition to that, BikeTalker also handles the communication with ROS.

Table of Contents

Installing

You need to install Python and ROS first. Then execute these commands to install the additional dependencies. (Remember if you have python2 and python3 installed, use pip3 instead.)

sudo pip install websocket
sudo pip install git+https://github.com/dpallot/simple-websocket-server.git

And to install ROS, I advise you to install ROS Kinetic as it is most compatible with the bike that is controlled.

Running The Project

To run this project locate a python file called talker.py. It is located in BikeTalker/talker.py. After you have located the file, execute this command.

python talker.py

This will run your project. If you have python3 and python2 installed on the same machine, replace python with python3.

If you see so many error message popping up don't worry about it, those error happen because BikeTalker try to connect to the Django server and the bike's camera.