programm script c++
Project detail
Problem:
You will read the joint position value from an encoder from one of the joints of the robot. The joint position will be given as a number between 0 to 4096, covering 360 degrees of rotation
1. Store that value in a ring buffer
2. Provide functions for calculating the instantaneous velocity and acceleration using the finite difference method.
3. Write unit tests for all functions
Requirements:
● Use modern C++
● Use proper software engineering fundamentals and code hygiene