-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
sprk+ panic read not permitted #1102
Comments
Hi @aolney , thanks for adding this issue. Unfortunately I had no hardware for testing this after I have done some rework. Only the existing tests helped me a little bit, but you can see there are not that much. Back to your finding: It seems you are using the example. So the initialize() function is called from your main in line 47 (robot.Start()). My first idea is to drop this go function completely, because in line 220 we subscribe on changes of "responseChara". If a cyclic call is needed, maybe the device is not ready until this call. For this a second idea comes up, change the go function, so the error is logged only and increase sleep:
I am looking forward to your feedback, Thomas |
Thanks for those suggestions @gen2thomas Deleting the function seems to be the way to go. If you modify it with the message as suggested, it just seems to print out the message forever. After deleting, I got correct behavior with |
Hi @aolney , thanks for your detailed answer. I will re-open this issue and mark it as a bug. The fix can be the removing of the complete go function. If you encounter a related problem when you make further tests, please add information to this issue. |
I'm on
with
I get this output
I can avoid this error by commenting out references to
ball
, e.g.In other words, if I have a robot with just the bleclient, there is no error. So the problem seems to be with NewSPRKPlusDriver.
Any suggestions appreciated :) This is my first
go
projectThe text was updated successfully, but these errors were encountered: