-
Notifications
You must be signed in to change notification settings - Fork 23
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
PING_INTERVAL confuses setup_autopilot on initial setup #100
Comments
ok this is at once sort of funny to me and also mysterious. i had this tragically longterm misunderstanding of how exceptions and warnings work in Python, so you'll see things like so what should just be a warning is being raised as if it were an exception... but in any case it's weird to me that check is failing, because It's fixed for me by this: 0ff28cb the warning is intended, though it probably should be possible to silence/be clearer about what should be done. The intention is to have default values for prefs be available for cases where someone isn't using the whole system, eg. they didn't run setup_autopilot and are just trying to use one of the hardware modules, but to also let them know that there is something implicit happening that they might want to set explicitly. So the message should probably say something closer to "using default value {y} for {x}, set it explicitly in prefs with sheesh really need to spend a day finishing up some loose ends and pulling back to main, we're drifting pretty far in unversioned territory at this point :p |
That is mysterious.. maybe |
yes i think that we need a more general notion of data typing & containers, there are a number of places where the form of data is ambiguous/brute force, (eg. |
closing this issue as writing tests for programmatic setup will include the remaining work here: #33 |
I haven't fully tracked this through yet to see what's going on, but if I am on the
dev
branch on a completely fresh rpi, then setup_autopilot fails to start due to PING_INTERVAL. However, on themaster
branch, everything is fine, so the workaround is to setup_autopilot onmaster
.python3 -m autopilot.setup.setup_autopilot
Probably related: once everything is properly set up, I still get these warnings upon starting
autopilot
:Low-urgency bug report since the workaround works and the warning doesn't cause obvious problems
The text was updated successfully, but these errors were encountered: