-
Notifications
You must be signed in to change notification settings - Fork 374
pytrack: loses gps fix then crashes #21
Comments
Have you tried the new PyTrack firmware (0.0.4)? Sounds like it could help https://forum.pycom.io/topic/1497/new-pytrack-and-pysense-firmware-release-0-0-4 |
I didn't get the new on the forum. I'll install and try it asap and I'll let you know! |
Just tested, it keeps crashing: the first exception is this:
then it keeps trowing exception and the backtrace keeps getting bigger: this is after some throwing
at last, only the backtrace is printed:
and finally, it reboots:
|
Not sure if it help but can't hurt to update the firmware on the WiPy as well, version 1.7.6b1 is available |
just installed new firmware, is there a way to copy paste the repl full output? pytrack is now more stable. before 1.7.6b1 it started getting no coords, then crashed after 100-120 cycles. I changed a bit the script:
After starting, the memfree is 45. output at the end:
|
Looking into this now! Will report back with what I find! Thanks :) |
Hey @ozeta, could you please try this GPS file (https://github.com/pycom/pycom-libraries/blob/develop/pytrack/lib/L76GNSS.py)? I tracked the memory leak down to the alarm function in the GPS lib. I'm now taking a look at the C lib for the alarm and trying to work out why the alarm objects aren't being released from the heap. Please let me know if this works for you! Thanks! Alex |
it works really good!
thanks! |
Great! I'll merge this into the master and close this issue :) |
wipy2.0
os.uname()=
(sysname='WiPy', nodename='WiPy', release='1.7.5.b2', version='v1.8.6-694-g25826866 on 2017-06-29', machine='WiPy with E
SP32')
pytrack dfu ver: 0.0.3
gpsNtpSaveTest_cpy.zip
after some seconds of getting cordinates into the while loop, l76.coordinates() starts alternating (None,None)
and the correct values.
after another some seconds the device rebooted by itself
The text was updated successfully, but these errors were encountered: