Develop a motor API that abstracts low level motor commands thus allowing easy control via easy commands like setSpeed etc.
Have essential functions like (not all are listed)
- initializeMotor()
- setMotorPosition() / getMotorPosition()
- setMotorTorque() / getMotorTorque()
- Have the appropriate error handling for communication failures
- Test API functionality thoroughly through manual testing and unit tests
- include a test file (look for instructions on Gtest in repo) that is automatically triggered within the build pipeline
Success Criteria:
- Working Motor API that provides high level way to communicate with motors
- API supports control of multiple motors
- Test file is executed as part of build pipeline
Develop a motor API that abstracts low level motor commands thus allowing easy control via easy commands like setSpeed etc.
Have essential functions like (not all are listed)
Success Criteria: