The member variables for joint.hpp are in types degree_t and revolutions_per_minute_t which is not ideal when we run std library funcitons like clamp(). This is small change but would make the logic cleaner.
Also make the minimum and maximum values const since they shouldn't change after initialization.
The member variables for joint.hpp are in types degree_t and revolutions_per_minute_t which is not ideal when we run std library funcitons like clamp(). This is small change but would make the logic cleaner.
Also make the minimum and maximum values
const
since they shouldn't change after initialization.