Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Clockwise and CounterClockwise rotation #3

Open
gbip opened this issue Nov 28, 2018 · 1 comment
Open

Support Clockwise and CounterClockwise rotation #3

gbip opened this issue Nov 28, 2018 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gbip
Copy link
Owner

gbip commented Nov 28, 2018

When sending a speed command to the servomotor you can specify the direction of the rotation.

There is a bit that you need to set in order to force the servomotor to go in reverse direction. Take a look at the position bitfield from the datasheet :

screenshot from 2018-11-28 09-47-00

In order to implement this, you need to :

  1. Create a new enum to represent this parameter
  2. Add it as a parameter in the sjog and ijog method from the builder pattern
  3. Write some tests and document your code
@gbip gbip added enhancement New feature or request good first issue Good for newcomers labels Nov 28, 2018
@gbip
Copy link
Owner Author

gbip commented Nov 28, 2018

cc @Terae

Terae pushed a commit to Terae/drs_0x01_driver that referenced this issue Nov 30, 2018
gbip pushed a commit that referenced this issue Dec 1, 2018
* Clockwise and CounterClockwise rotations support, solves #3.

* Update the README to reflect the rotation-choice while applying a speed command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant