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

Setup Motor Control #4

Open
garethellis0 opened this issue Apr 1, 2017 · 3 comments
Open

Setup Motor Control #4

garethellis0 opened this issue Apr 1, 2017 · 3 comments
Assignees

Comments

@garethellis0
Copy link
Contributor

garethellis0 commented Apr 1, 2017

  • Once we've decided on how we want to move, we need to translate these commands into motor controls
  • On the computer side we will receive a twist message which is the movement command
  • We will need to convert this twist message to a serial message and pass it to the arduino

Possible Seperate Issue

  • The arduino will need to receive the serial command, and convert it electrical signals to send to the motors. This will depend on how the robot is wired.
@garethellis0
Copy link
Contributor Author

garethellis0 commented Apr 22, 2017

Update

  • We need to try and repurpose our firmware from here to try and control the motor and speed controller for the smaller RC car

@Dulluhan
Copy link

RC cars just need 2 sets of pwm out. One for servo for steering, one for throttle. Pretty straight forward. The scaling can be 1-1 in this case converting from twist to servo out. No need to slow or speed wheel differential throttle.

@garethellis0
Copy link
Contributor Author

Hmmm, we seem to be doing some mapping in the differential drive firmware we have for JFrost here. We can probably just toss this as well then? Just do the mapping on the driver side?

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

No branches or pull requests

3 participants