Alright, so there weren’t any tears, (although I did sob inwardly when I realised it wouldn’t turn), but there were both blood and sweat.
So, I’ve been working on the PS£ control and the line following challenge, and having gotten the code out of ‘alpha’ was ready to test on a proper course. I grabbed to 2015 off the PiWars website, and after some magic from PosteRazor (you’ll find it on sourceforge.net
) I had a pdf with 54 pages of white space or black lines. The image is 70% of the original to get the 15mm width line mentioned in the description for the course, which means our test course is technically smaller than the original but that makes the turns tighter…if we can handle this we should be ok with the real thing, right?
So, having printed out the course I grabbed G to help me stick it all together, which is where the blood and sweat came into it. I was sweating what with all the jumping up and down to grab sheets of paper, line ’em up and stick ’em down. Then came the blood as G managed to cut his hand on the ‘spiky bit’ at the front of the tape dispenser, (the bit that cuts the tape), but a short pitstop later to administer antiseptic cream and a plaster and we got it done.
At this point L came along with two comments, one that she needed to cook dinner so we had to get out of the kitchen, the second after we’d moved it into the lounge a rather good idea about sticking the flimsy A4 sheets we’d bodged together to larger and more sturdy card we happened to have. This makes it much easier to move about.
Dinner, family time (a movie!), and G going to bed meant i got back to it later in the evening, at which point it became obvious my haste to print out the course in ‘standard’ was a bad move, as the sensor (the seemingly very popular 3-way one from Mr. Walmsley at Ryanteck) couldn’t see it, not matter how I fiddled with the potentiometer. A quick check with something actually black confirmed it was the line, and so out came a black felt tip pen. Some time later there was a *proper* black line, which the sensor had no trouble seeing.
So, what happened when the test was run? Well, it went forward fine, but the first time it saw the line on one of the side sensors it tried to turn…and failed.It tried its best (bless it!) but just got stuck.
Speaking to Jacques today he’s seen the same problem, and has suggested going back to AA batteries to power the motors. I’m picking up some six battery clips on the way home tonight and will give it a go, if the journey home hasn’t ground away my will to live 🙂