SJSURoboticsTeam / urc-central-2021

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

Joint Class Change #246

Open Coreyboy1820 opened 2 years ago

Coreyboy1820 commented 2 years ago

Change the joint class from a class to an interface that has an accelerometer member variable. This prevents us from tightly coupling joint to our arm and wrist joints. It also follows good practice since is-a tropes has-a (Programmatic Programmer) since it is easier to change in the future

ryerlic commented 2 years ago

working on it. Trying to get it done before Saturday.

ryerlic commented 2 years ago

Problem has been updated to needing to do away with JointInterface entirely. Opting for removal of Joint and adding accelerometer objects to the wrist and arm joints because joint interface creates an is-a relationship that creates a lot more harmful connections than helpful.