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
Just realized that we could potentially cut down on the function length by changing the id parameter to be an optional keyword argument and have the function figure things out automatically.
It's an option, not necessarily a good one.
The text was updated successfully, but these errors were encountered:
Find and replace every call to an 'all' function with a call to the regular function
Make ids into an optional argument. Default value is None, and triggers an assert that length of commands equals length of motor ids.
Write a regular expression to fix driver code (e.g. replace "set_command_position([1,2,3,4], [pi,pi,pi,pi])" with "set_command_position(angles=[pi,pi,pi,pi], ids=[1,2,3,4])").
Just realized that we could potentially cut down on the function length by changing the id parameter to be an optional keyword argument and have the function figure things out automatically.
It's an option, not necessarily a good one.
The text was updated successfully, but these errors were encountered: