SJSURoboticsTeam / urc-central-2021

Track progress and information for the URC 2021 competition
MIT License
1 stars 0 forks source link

Clean up joint.hpp member variables #211

Closed naterpotatoers closed 2 years ago

naterpotatoers commented 2 years ago

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.