-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tuning2 #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could only skim through the changes inside the traffic_cam
package.
I'll test it more thoroughly later.
The general changes of this PR look good, though!
Would you mind briefly changing the things I have commented on? :-)
) | ||
|
||
|
||
if __name__ == "__main__": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to save us the indentation here, and integrate the sleep within the loop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add the location to the data? The other teams, also do this. Just to be consistent.
"longitude": "51.962077", "latitude": "7.628095"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still undecided if that makes sense for a static location, as that info is available for the device already https://counting-backend.codeformuenster.org/devices/south_street_cityhall
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose oskar knows what frontend needs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep sleep outside because it feels very much like a side effect to me ;)
05_count_to_api.py starten und alle 10 Sekunden wird eine Bild ausgewertet und an die API geschickt.