WRSC / tracking

WRSC boat tracking system with web dashboard
Other
13 stars 7 forks source link

Lua tracker cleanup #41

Closed saerdnaer closed 5 years ago

saerdnaer commented 5 years ago

TODO: describe what this PR does and how it was tested

takluyver commented 5 years ago

This certainly looks like a big improvement - have we actually tested it on one of the trackers? I'd be reluctant to merge it without some testing, because it won't be obvious to whoever runs the trackers next that the script has been overhauled from a known-working state.

saerdnaer commented 5 years ago

I tested it on tracker 1, saw the problems described in #39 and then validated that the old version also has the same bug.

takluyver commented 5 years ago

Aha, thanks. But you checked that it was both sending data to the server and recording it on the SD card, with no obvious regressions from the script we used during the competition?

saerdnaer commented 5 years ago

I did not check the SD card, AFAIK I saw data on the map. I tried to validate on http://tracking.roboticsailing.org/coordinates but it looks like this view is somehow broken and lists only coordinates from yesterday. But I would suggest that we also switch to comma seperated values for the REST API, like we discussed in #42 for the sd card.

takluyver commented 5 years ago

OK, could someone with a tracker device try running it with @saerdnaer's script from this PR, and check that coordinates are written to the SD card? If this is done while the server is still running, it would be great if we could also double check that the server accepts the coordinates that it is sending. I've made some changes on the server side recently.

I agree that it would be good to change to a clearer format for sending data to the server, but let's focus on getting this PR checked and merged. This looks much clearer already, and at some point we're all going to be busy with other things and work on this is likely to stall.

tsaoyu commented 5 years ago

I have tested the script on the tracker for:

takluyver commented 5 years ago

:+1: thanks @tsaoyu !

tsaoyu commented 5 years ago

CSV support on the way 🔨