Skip to content

Commit

Permalink
Convert angle in degrees from echo to radians
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindsjovold committed Apr 5, 2023
1 parent 9cc59eb commit ca6a9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/Services/EchoService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private List<EchoTag> ProcessPlanItems(List<PlanItem> planItems, string installa
Pose = new Pose(
robotPose.Position,
robotPose.LookDirectionNormalized,
robotPose.TiltDegreesClockwise
robotPose.TiltDegreesClockwise * MathF.PI / 180
),
URL = new Uri(
$"https://stid.equinor.com/{installationCode}/tag?tagNo={planItem.Tag}"
Expand Down

0 comments on commit ca6a9f3

Please sign in to comment.