The Wayback Machine - https://web.archive.org/web/20210709001724/https://github.com/topics/robotics-libraries
Skip to content
#

robotics-libraries

Here are 22 public repositories matching this topic...

dcieslak19973
dcieslak19973 commented Mar 1, 2021

Describe the bug
Current call uses:

const auto angle = iangle - odom->getState(StateMode::FRAME_TRANSFORMATION).theta;

Which can lead to 270 degree turns instead of 90 degree turns.

Changing to:

const auto angle = OdomMath::constrainAngle180(iangle - odom->getState(StateMode::FRAME_TRANSFORMATION).theta);

Should ensure the robot turns the shortest angle

**Steps To R

Improve this page

Add a description, image, and links to the robotics-libraries topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the robotics-libraries topic, visit your repo's landing page and select "manage topics."

Learn more