Skip to content
#

robots

Here are 470 public repositories matching this topic...

webots
rbudde
rbudde commented May 25, 2021

Context:

  • either in the data base or exported there may be outdated xml programs
  • if this is detected, a transformer is called to update the xml to the current version 3.1
  • currently this is done inline in rest methods that are responsible for loading/importing program

Goal:

  • create a new rest method, that gets old xml and returns new xml
  • add the uri of this rest method to
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 robots 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 robots topic, visit your repo's landing page and select "manage topics."

Learn more