I never meant to imply this is due to anything related to the EEPROM updates. I don’t think that is related.
When mentioned this way, it looks like this may very well be a mistake on my part. Below is a piece of code I modified in the Holey Calibration fork, to limit the number of lines printed to the log.txt file. Woops.
Lines 149 through 152 are intended to only record once every 1 second, the logical value populated to recordLine. If the Measurement response starts with “[”, it would likely be filtered out because of the logic on line 149.
Seems like there needs to be slightly more sophisticated logic on 149, which only filters out the machine positions, and lets the [Measurement: xxx] messages through.
I’d like to think through all the messages the Firmware will transmit, so that we can think of robust logic that won’t continue to give us problems here. Further, I am not sure why this message is enclosed in brackets, whereas most others are not.
What is the strategy which defines which messages are enclosed in brackets, and which are not?
@Joshua Is it possible to use the filter to gate write events to the logfile rather than dropping machine responses? I would have to think that additional code will spring up that traps and acts on info returned by the controller, or does the log also function as the serial in buffer?
“B10” sent via macro returns nothing to the console area of GC. Same result after changing the line in serialportthread.py. I tried to check the log.txt but I can’t find one.
My path to Main.py is “C:\Users\me\Documents\GroundControl-master”. Any idea why the log file isn’t being created?
Nah, I’ve got two instances but I know the folders. plus the log.txt that I did find has too early a last mod date. It’ll be easy enough to just DL it again.
I did a search of my entire PC for “groundcontrol.log” and it didn’t find anything.
I’ve only ever seen log.txt, which is in the “groundcontrol-master” folder, where “main.py” is.
Till date not seen that. From win$10 i know the .ini in C:/users/{your-user-name} and the log.txt in the same folder as the main.py. Linux ~/home/{your-user-name} for the .ini and GC folder for the log.