Skip to content

Incorrect acceleration calculation for controllers that don't support VBAS #76

@kmpeters

Description

@kmpeters

Problem

If a motor controller doesn't support setting a base velocity and the associated motor record is configured to have a non-zero VBAS, the motor record will calculate an acceleration that results in a shorter acceleration period than the one specified by ACCL.

Proposed solution

  • Add a bit to the MSTA field to allow drivers to tell the motor record if they support setting a base velocity (0=base velocity is supported, for backwards compatibility).
  • Set this new bit to 1 in every driver that doesn't support setting a base velocity.

Previous discussion

#75

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions