SJSURoboticsTeam / urc-central-2021

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

Create arm system helper function for imu logic #200

Closed naterpotatoers closed 2 years ago

naterpotatoers commented 2 years ago
acos(gravity / rotunda_acceleration.y) * 
        (rotunda_acceleration.x /
         fabs(rotunda_acceleration.x));

Need a function that can run this logic correctly for arm. This should reduce duplication and improve readability since the function will tell us what is going on more directly.

naterpotatoers commented 2 years ago

logic got removed, closing issue now