Skip to content

Commit

Permalink
Renamed labels
Browse files Browse the repository at this point in the history
  • Loading branch information
waltjohnson committed Jan 11, 2025
1 parent 7c98b76 commit 196faba
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions python/logInspector/logPlotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1048,23 +1048,25 @@ def imuStatus(self, fig=None, axs=None):

ax.plot(time, -cnt * 1.5 + ((status & 0x00000001) != 0))
p1 = ax.get_xlim()[0] + 0.02 * (ax.get_xlim()[1] - ax.get_xlim()[0])
if r: ax.text(p1, -cnt * 1.5, 'Saturation IMU1 Gyr')
if r: ax.text(p1, -cnt * 1.5, 'Gyr1 Saturation')
cnt += 1
ax.plot(time, -cnt * 1.5 + ((status & 0x00000002) != 0))
if r: ax.text(p1, -cnt * 1.5, 'Saturation IMU2 Gyr')
if r: ax.text(p1, -cnt * 1.5, 'Gyr2 Saturation')
cnt += 1
ax.plot(time, -cnt * 1.5 + ((status & 0x00000004) != 0))
if r: ax.text(p1, -cnt * 1.5, 'Saturation IMU3 Gyr')
if r: ax.text(p1, -cnt * 1.5, 'Gyr3 Saturation')
cnt += 1
ax.plot(time, -cnt * 1.5 + ((status & 0x00000008) != 0))
if r: ax.text(p1, -cnt * 1.5, 'Saturation IMU1 Acc')
if r: ax.text(p1, -cnt * 1.5, 'Acc1 Saturation')
cnt += 1
ax.plot(time, -cnt * 1.5 + ((status & 0x00000010) != 0))
if r: ax.text(p1, -cnt * 1.5, 'Saturation IMU2 Acc')
if r: ax.text(p1, -cnt * 1.5, 'Acc2 Saturation')
cnt += 1
ax.plot(time, -cnt * 1.5 + ((status & 0x00000020) != 0))
if r: ax.text(p1, -cnt * 1.5, 'Saturation IMU3 Acc')
if r: ax.text(p1, -cnt * 1.5, 'Acc3 Saturation')
cnt += 1
cnt += 1

ax.plot(time, -cnt * 1.5 + ((status & 0x00000100) != 0))
if r: ax.text(p1, -cnt * 1.5, 'Mag Update')
cnt += 1
Expand Down

0 comments on commit 196faba

Please sign in to comment.