Skip to content

Resolution-based velocity limits are problematic in simple test setups #53

@jdcaporale

Description

@jdcaporale

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-medMedium priority issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions