GoPiGo Firmware and Software Updates

Hey,
Yeah, I think that is the reason the you are unable to use v1.3. Try out the options mentioned here: http://stackoverflow.com/questions/15745045/how-do-i-resolve-git-saying-commit-your-changes-or-stash-them-before-you-can-me and it should solve the problem.

-Karan

Karan,

Thanks , finally ! ! ver 1.3 installed but trimtest failed.

trim_read() and trim_test are not defined

Jos

Hey,
Did you update the python library too? Just run sudo python setup.py install.

-Karan

Karan,

Also the enc_read is not defined

Jos

Karan,

I updated the Pyton-library once again but on Cmd: tr

Traceback (most recent call last) :
File “basic_test_all.py”, line 55, in <module>
val=trim_read()
NameError: name ‘trim_read’ is not defined

Sorry,
My mistake. Looks like I had sent a pull request for an older version. I have corrected the mistake and sent a pull request but it may take a few hours for them to be merged. If you want to try it right now you can replace the gopigo.py with the one in my repo: https://raw.githubusercontent.com/karan259/GoPiGo-1/master/Software/Python/gopigo.py

Let me know if this helps and thanks a lot for reporting the problem.

-Karan

Karan,

Within home/pi/GoPiGo there was a new subdirectory installed also named GoPiGo.
I am 73 years old and have not so much experience on this GitHub.
I did git pull in the subdirectory … no result.
I renamed the subdirectory in GoPiGoNew.
In GoPiGo I did git pull and … suprise … problems solved.
I assume the subdirectory GoPiGoNew can be deleted.

Thanks for your help

Jos

Hi

i’ve had problems getting the PID forward / backward operation
working correctly. (basically one of the motors runs slow and / or stalls)

I read the firmware code, and i cannot fins any obvious cause of this behaviour but i noted that on line 479 of fw_ver_13.ino:
td=td2-td1;

it is possible that td1 is not yet initialised.
(if encoder 2 was hit twice before encoder 1 was hit twice)

changing line 107 to actually initialise those td1 would fix that potential problem

Hi,

I would like to customize the firmware on my GoPiGO. I installed Arduino IDE. Are there instructions available on how to create and install a new hex file?

Thanks for you help!

Joep

There is a discussion up on the forums about the process for compiling and uploading a new firmware here: http://www.dexterindustries.com/topic/grovepi-with-arduino-ide/ . Let us know how it goes for you.

-Karan

Thanks, I will give it a try.

Joep

Just to inform others, I did the firmware update using the icon on the Desktop when VNC’ing in (the DI Software Update icon)

Simple!