Wednesday, 15 July 2015

Am I really a blogger?

suprised to see that my last update was in Fenruary!

I have now got an Agobe robot which follows a black line, most of the time and also attempts to get out of a maze.
Both of these programs are based on those supplied with the robot.

I have been trying to understand threading in Python, so I have created a program which uses the switch to change between line following, maze solution, quit and shitdown. This seems to work. I have also got an IP display from 4tronix which I use to display the mode. It all seems to work and I must put the code into GitHub , on the off chance someone may be interested.

The robot sometimes does not detect the edge of the line, this could be because of the speed it is moving and the fact I have got a 0.2 second sleep statement in the main loop. Must investigate whether decreasing the time delay improves the performance or maybe I could add a callback on the edge detection.

Then another  idea I have is to use my series 2  b Modesto detect when the ahobo attempts to move out of an area using  Opencv. This would mean having to look at communication between the two PIs.

No comments:

Post a Comment