Mon Mar 07, 2016 11:54 am
By the way, I also had trouble with the C and python drivers. Not sure if it's related to the OS update.
Basically, the GUI binary worked fine once I'd enabled the uart, I could control 4 motors perfectly. Downloaded the driver, opened up python, made a little test: nothing. Realised I was using python 2.7, changed to 3.4, tried again... nothing. I tried the examples on the gertbot site and nothing worked. I also tried the C driver and the included test app... still nothing.
I then started fiddling with python again. I knew it was just sending a few bytes to a tty device, really nothing complicated. I opened the tty device, I copied a command from the GUI log, stuck the head and tail bytes on, wrote it to the file descriptor. Success!
I'll do some more experiments tonight and see if I can work out exactly what the problem is, but bottom line is that it does work. I have a rudimentary homespun python driver that I can use now.
The annoying thing, is that it's a great piece of hardware and very easy to use, but none of the software on the website works out of the box on a up-to-date Pi 2 B. Although it doesn't actually take much to get it working, you need to be confident enough to fiddle about. A beginner would not be able to use it in its current state.