Replies: 1 comment 1 reply
-
|
Your program is correct, but a speed of just So there isn't much to see in terms of acceleration. If you try motor.run(1000)you should be able to see the difference in acceleration more clearly. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Two questions, if I may.
How do I run a motor forever rather than for a specified time? If I enclose the run method within a never-ending while loop then the motor will run forever but I don't think that's the correct way to have the motor run forever.
My understanding about how to reset the default acceleration or torque is a bit suspect as well. For example, if I reset the acceleration, as my example shows, then I don't notice any change in acceleration. Perhaps the acceleration is too subtle to notice? The motor seems to go from 0 to maximum without a gradual build up of speed.
Beta Was this translation helpful? Give feedback.
All reactions