Skip to content

Commit

Permalink
tools: mavflightview.py: fix mapping of SIMSTATE message
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jun 22, 2024
1 parent 48f8f86 commit 4e7524d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MAVProxy/tools/mavflightview.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,8 @@ def mavflightview_mav(mlog, options=None, flightmode_selections=[]):
lat = m.lat * 1.0e-7
if hasattr(m,'lon'):
lng = m.lon * 1.0e-7
if hasattr(m,'lng'):
lng = m.lng * 1.0e-7
if hasattr(m,'latitude'):
lat = m.latitude * 1.0e-7
if hasattr(m,'longitude'):
Expand Down

0 comments on commit 4e7524d

Please sign in to comment.