Replies: 2 comments
-
I have created PR #128 for this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This has been merged to develop as the functionality has been tested. It can be disabled by commenting out the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need a way to be able to change the various 'modes' of the legs (or servos) depending on the situation.
This is a precursor to the robot detecting this itself, but in the meantime there are a few different modes I'd like to be able to select during operation:
There is also a restraining bolt mode, which should keep the robot in a seated position. This may be removed in future.
Finally, the calibration script must still be accessible. (Initially this can be from the single 'stand' mode, but ideally it should work for all.)
To facilitate this I have added a
legMode
to the arduino sketch that will read analog input from pin A1 after boot and determine which mode, based on a series of resistor values:This is simple enough to override, by bypassing the above method and setting StartingPos directly.
Beta Was this translation helpful? Give feedback.
All reactions