Closed struan2 closed 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!)
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
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.
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).
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.
Meet tomorrow evening to have a talk about this/see what we can get going?
Creating of the software that will power the line following system.