Based on the diagnostic logs, you don’t seem to have battery power. The GoPiGo3 will not trigger the motors if it doesn’t have enough voltage for it. The Pi power is not enough.
@vms ,
thanks for the photo, the cables do look fine.
Could you run the program called Read_Info.py found in /home/pi/Dexter/GoPiGo3/Software/Python/Examples, and post the results please?
@vms,
I just want to make certain that you are running Raspbian for Robots and not just Raspbian. (Raspbian for Robots has a little Dex on the desktop)
Read_Info.py has always been released with the code as far as I know. Is it possible that you happened to check under ~/Dexter/GoPiGo by mistake and not ~/Dexter/GoPiGo3 ? I know i do that all the time.
Our preferred method for installing the GoPiGo3 would be sudo curl https://raw.githubusercontent.com/DexterInd/Raspbian_For_Robots/master/upd_script/fetch_gopigo3.sh | bash
but what you did is basically the same thing if you cloned it into /home/pi/Dexter/GoPiGo3. Or did you choose another folder?
And finally, could you paste the content of your /boot/config.txt file?
First I apologize, I missed one crucial point in your very first post.
You’re using a GoPiGo3 as seen in the photo.
However you were using the gopigo library import gopigo
You need to use import gopigo3, or import easygopigo3 (this one gives you easier to use commands, so it depends on your level of expertise and your goals)
You say there wasn’t a ~/Dexter/GoPiGo3 folder. Did you get an SD card with the kit or are you using an old one? Either way, your card seems not up to date. I would recommend doing a DI Software Update. It will probably take a long time as the Raspberry Pi Foundation has done some extensive changes in the last couple of months and the Software Update will make sure you get them all (security updates, new editors…)
As the GoPiGo3 folder is now on your card, did you try the Read_Info.py program ?
@vms,
thanks for letting us know it’s now working. Again, my apologies for not seeing the discrepancy between GoPiGo models right from the start.
And yes, the code has changed a lot. We do think it’s for the best though.
@john already answered a bit about your extra question. I just wanted to add that the line follower might be good for indoor routing, if you don’t mind installing a line on your floor. Otherwise, a map would be good. A GPS might not solve your issue because the Grove GPS doesn’t work all that well indoors (it’s fine outdoors).