-
Notifications
You must be signed in to change notification settings - Fork 0
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
Roboclawx2 Class #2
Comments
Here is a link to the datasheet. You'll want to implement the Packet Serial method. |
For the CRC checksum, that can be implemented as a private class method. That way, it can be reused for the RoboclawX1 in #3. |
Here is just sorta skeleton of the class, is this kind of what you had in mind? |
`#include <Arduino.h> class MotorInterface protected: class roboclawx2 : public MotorInterface
} void loop() { |
I am not sure what to put into each function |
Implement the Roboclawx2 class for accessing a Roboclawx2 motor controller via serial. This class inherits from the MotorInterface ABC, adding the needed code for interfacing with a Roboclaw with a specific serial device ID and serial port.
The text was updated successfully, but these errors were encountered: