Replies: 1 comment 2 replies
-
|
It makes sense that I would need to stop and close the motor and then create a new motor object with the new gear train. But, I couldn't get this to work. Any ideas on how to do this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we want to change an attachment on our spike prime FLL robot and specify the gear train for the new attachment. How do we do that. I tried to stop() and then close() the motor which is what I saw online, but it doesn't like it, specifically the stop(). So, I tried to just close() the motor, but when I re-create the motor, I get an exception "This can only be called before multitasking starts." But we are in the middle of the program, so run_task() has already been called.
Is there a way to change the gear train in the middle of a program?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions