Skip to content

Commit

Permalink
Clarify NED <> ENU conversion convention (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanishkegb authored Aug 27, 2023
1 parent 361d1cc commit 344cebf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/rover.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ def __init__(self):
self.ge3 = np.array([0.0, 0.0, self.g])

# Gazebo uses ENU frame, but NED frame is used in FDCL.
# Note that ENU and the NED here refer to their direction order.
# ENU: E - axis 1, N - axis 2, U - axis 3
# NED: N - axis 1, E - axis 2, D - axis 3
self.R_fg = np.array([
[1.0, 0.0, 0.0],
[0.0, -1.0, 0.0],
Expand Down

0 comments on commit 344cebf

Please sign in to comment.