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

BoBShield: actuatorWrite() method #105

Closed
gergelytakacs opened this issue Apr 23, 2019 · 3 comments
Closed

BoBShield: actuatorWrite() method #105

gergelytakacs opened this issue Apr 23, 2019 · 3 comments
Assignees
Labels
bob software Mostly software issue

Comments

@gergelytakacs
Copy link
Owner

The actuatorWrite() method should:

  • Write the angle to the the servo motor
  • The angle should come as a floating point number
  • The 0 position should be the horizontal position
  • Maximum and minimum angles should be enforced in order to prevent damage to the tube or other parts of the shield
  • The angles should be double checked and verified so that we know that they are allright.

@corleone68

@gergelytakacs
Copy link
Owner Author

image
This is useless.

  • we call it actuatorWrite() (1)
  • The contents of this do not make any sense. This method should take a floating point number in degrees and set the servo to the correct value. End of story.. (2-3)

@gergelytakacs
Copy link
Owner Author

gergelytakacs commented May 5, 2019

@gergelytakacs
Copy link
Owner Author

gergelytakacs commented May 20, 2019

I rhoughly understand the idea, but please do comment your code...
image

Also, can you (maybe here is enough) explain how you got all these values?

Also, why int?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bob software Mostly software issue
Projects
None yet
Development

No branches or pull requests

5 participants