Skip to content

Commit 8d0dc1e

Browse files
committed
Fix warnings ans spelling
1 parent d6a794d commit 8d0dc1e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/trafo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ end
8888
Calculate the heading vector in wind reference frame.
8989
"""
9090
function calc_heading_w(orientation, down_wind_direction = pi/2.0)
91-
# create a unit heading vector in the xsense reference frame
91+
# create a unit heading vector in the Xsens reference frame
9292
heading_sensor = SVector(1, 0, 0)
9393
# rotate headingSensor to the Earth Xsens reference frame
9494
headingEX = fromKS2EX(heading_sensor, orientation)

src/transformations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
Calculate the rotation matrix that needs to be applied on the reference frame (ax, ay, az) to match
88
the reference frame (bx, by, bz).
9-
All parameters must be 3-element vectors. Both refrence frames must be orthogonal,
9+
All parameters must be 3-element vectors. Both reference frames must be orthogonal,
1010
all vectors must already be normalized.
1111
1212
Source: [TRIAD_Algorithm](http://en.wikipedia.org/wiki/User:Snietfeld/TRIAD_Algorithm)
@@ -59,7 +59,7 @@ function rot(pos_kite, pos_before, v_app)
5959
y = normalize(cross(-v_app, c))
6060
x = normalize(cross(y, c))
6161
one_ = one(eltype(delta))
62-
rot = rot3d(SVector(0,-one_,0), SVector(one_,0,0), SVector(0,0,-one_), z, y, x)
62+
rot3d(SVector(0,-one_,0), SVector(one_,0,0), SVector(0,0,-one_), z, y, x)
6363
end
6464

6565

0 commit comments

Comments
 (0)