Hello, I am quite frankly confused.
I type this into python3 interactive mode:
It works fine, but when run as a script it gives me
Here’s a portion of my code:
BP.get_sensor() is the issue.
I’m a bit confused, I may if the issue is never resolved I can revert to older code.