You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a fully type-hinted plan called exercise_motor which does the following:
Has three parameters, one for the motor itself and one for desired_time and one for desired_repetitions
The motor needs to travel between its max_limit -5 and its low_limit + 5 for the desired number of repetitions, and it needs to do this in the desired time
The code should check whether or not this is possible given the inputs and the motors speed / position limits
If it is possible, set the motor velocity such that it should complete exactly the desired number of repetitions in the time specified
If there's time, create unit tests for this plan too.
This one will be hard! It is a realistic sort of thing we would need to develop for scientists
The text was updated successfully, but these errors were encountered:
Create a fully type-hinted plan called
exercise_motor
which does the following:desired_time
and one fordesired_repetitions
If there's time, create unit tests for this plan too.
This one will be hard! It is a realistic sort of thing we would need to develop for scientists
The text was updated successfully, but these errors were encountered: