#6182 Improve calculate_circle_center (#6192)

* add tests for calculate_circle_center - the first one succeeds with the current impl

* fix calculate_circle_center

* comment cleanup

* clippy

* comment format

* update circle_three_point sim test snapshot for slight floating point changes introduced by calculate_circle_center refactor

* use TAU instead of 2 * PI

* clippy
This commit is contained in:
Andrew Varga
2025-04-11 12:43:18 +02:00
committed by GitHub
parent c45c2e27ba
commit 1f6b90d383
2 changed files with 100 additions and 32 deletions

View File

@ -85,7 +85,7 @@ description: Artifact commands circle_three_point.kcl
"path": "[uuid]",
"to": {
"x": 30.00594901040716,
"y": 19.749999999999996,
"y": 19.75,
"z": 0.0
}
}
@ -109,7 +109,7 @@ description: Artifact commands circle_three_point.kcl
"x": 24.75,
"y": 19.75
},
"radius": 5.255949010407163,
"radius": 5.25594901040716,
"start": {
"unit": "degrees",
"value": 0.0