Skip to content

Add hal::soft::offset_servo implementation #24

Description

@kammce

Take a servo implementation and remap the definition of it position values. For example, take a servo that can move from 0 degs to 90 degs. If an application needs to control a servo from -45 deg to +45 deg, then the offset_servo implementation simply maps 0 to -45 degs and 90 to 45 deg. Making zero 45 degrees. This implementation should be done with addition only as to not distort the range of the input servo.

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