JMaio / deliver.ai

System Design Project 2018/19 - Group 19
5 stars 0 forks source link

Line Following Software #6

Closed struan2 closed 5 years ago

struan2 commented 5 years ago

Creating of the software that will power the line following system.

struan2 commented 5 years ago

Have had a quick Google and have found this article about using the Pololu board with a RasPi and Python -> http://www.digitalpolymath.co.uk/2017/03/22/raspberry-pi-line-following-with-qtr-8rc-and-wiringpi/

They provide a snippet of code that they created for using the sensor in Python as the official Pololu code is just in C/C++. May be of assistance as we could look at just using Python code for the line following and this could work for it (and save us re-writing the Pololu code!)

struan2 commented 5 years ago

Also I've started a quick Wiki page about all the senor stuff - it's not complete at the moment but it is available to be started to be added to https://github.com/JMaio/deliver.ai/wiki/Line-Sensor

JMaio commented 5 years ago

I've started messing around with the EV3 to understand what kind of movement will be required of our wheels. Moving forward, we'll need to integrate further with whatever system we decide to use.

maiush commented 5 years ago

50782959_1520732951363002_942226283264212992_n

Need to look into it further but we might need to run the line-following stuff on the Arduino (this is what Group 9 will be doing).

struan2 commented 5 years ago

That seems like a prudent idea - if the Pi is running a web server as well as it's definitely going to slow it down and reduce the accuracy and control that we have thus using the Arduino (either stand alone or with the EV3) would be a good idea. We can then (either using MQTT or a direct connection) get the Pi to be the controller and the Arduino (or event the EV3) to be a slave to control the movement of where the robot is to go.

maiush commented 5 years ago

Meet tomorrow evening to have a talk about this/see what we can get going?

struan2 commented 5 years ago

21 - has been chosen as the demo software