Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(steering-odometry): convert twist to steering angle (backport #1288) #1296

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 25, 2024

The logic in this function was incorrect, if we divide by 0., the input of the atan goes to inf which should result in PI/2 instead of 0.. What should be handled instead are nan values as an input of the atan function that can happen if we input 0./0..


This is an automatic backport of pull request #1288 done by Mergify.

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.21%. Comparing base (1d9c5c3) to head (e8f89ef).
Report is 1 commits behind head on iron.

Additional details and impacted files
@@            Coverage Diff             @@
##             iron    #1296      +/-   ##
==========================================
- Coverage   87.21%   87.21%   -0.01%     
==========================================
  Files         103      103              
  Lines       11337    11336       -1     
  Branches     7159     7158       -1     
==========================================
- Hits         9888     9887       -1     
  Misses       1443     1443              
  Partials        6        6              
Flag Coverage Δ
unittests 87.21% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ring_controllers_library/src/steering_odometry.cpp 82.16% <100.00%> (-0.12%) ⬇️

@christophfroehlich christophfroehlich merged commit 195acc8 into iron Sep 26, 2024
10 of 12 checks passed
@christophfroehlich christophfroehlich deleted the mergify/bp/iron/pr-1288 branch September 26, 2024 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants