Skip to content

Make the driver firmware-version aware #31

Description

@kmpeters

Parameters like E2_AOFFS don't exist in firmware v2.70. Query the firmware version of a controller so that code that is only supported in newer versions of the firmware can be uncommented:

// TODO: re-add E2_AOFFS query after querying the firmware version
// E2_AOFFS doesn't exist in firmware v2.70
//status = pComm_->getDoubleArray((char *)absoluteEncoder2Offset_, "E2_AOFFS", 0, numAxes_-1, 0, 0);
//if (status != asynSuccess) return status;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions