Skip to content

Conversation

samvrlewis
Copy link
Contributor

Flips the x axis labels of IMU messages, so that the most recent sample
is labelled 0 and the oldest is labelled 200. Previously, this was
vice-versa.

This doesn't exactly flip the X axis, but it's what makes the most sense to me and is what I'm guessing was the intention of the requested flip? To me, it makes sense if the plot moves left to right and the most recent sample is shown at 0. Maybe I'm thinking about it differently? Happy to actually swap the axis if that's what's preferred.

What I've implemented

IMU_forward

With the X axis reversed

IMU_reversed

Current implementation in main (for reference)

IMU_current

Flips the x axis labels of IMU messages, so that the most recent sample
is labelled 0 and the oldest is labelled 200. Previously, this was
vice-versa.
@samvrlewis samvrlewis requested a review from a team January 19, 2022 03:53
@john-michaelburke
Copy link
Collaborator

john-michaelburke commented Jan 19, 2022

I think all other charts start from the right side and scroll to the left so it would be somewhat inconsistent. If you do go ahead with it then we should put the legend on the right side because it looks like it covers the data within the first 25 seconds or so.

@samvrlewis
Copy link
Contributor Author

samvrlewis commented Jan 19, 2022

I think all other charts start from the right side and scroll to the left so it would be somewhat inconsistent. If you do go ahead with it then we should put the legend on the right side because it looks like it covers the data within the first 25 seconds or so.

Fair enough! Have reversed the X axis in both now.

So this is the current implemented functionality:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants