-
Notifications
You must be signed in to change notification settings - Fork 7
Description
The default resolution in QueryCommand for velocity is int16 with a scale of 0.00025, this limits the read capability to (+-)8.192 rotations/s or 51.47 rad/s.
This is fine for most cases, but with the dev kit and other simple direct drive motors in pd loops this is not enough velocity range and we see heavy vibration cause by integer overflow.
We should default to higher resolutions for these often first time use cases to work without adjustment, but allow an option to control loop that sets the read and write resolutions for situations with more motors.
Currently we reset the write resolutions in InitializeCommand with just a feedforward torque int16.
We should also set the read resolutions here and we should use options to lower it instead of having such low defaults.