Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print state history #156

Merged
merged 2 commits into from
Mar 16, 2020

Conversation

efernandez
Copy link
Collaborator

This adds support to print the state history from the Unicycle2D motion model. Not sure if this is worth a PR, but it was useful while debugging things for #154.

I'm happy to close, merge as is, or extend it to cover all the attributes in the Unicycle2D class.

TBH, printing the entire state_history_ map is quite verbose, but that's better than nothing when trying to debug things. I'm all ears for suggestions on how to better debug the logic that handles the state and motion model history in Unicycle2D and the TimeManager. 😃

Note this only contributes the printing support. Nothing is really printing anywhere. That part was added locally while debugging.

@efernandez
Copy link
Collaborator Author

@svwilliams @ayrton04 for review

@svwilliams
Copy link
Contributor

I'll go through #154 in detail later today. Maybe I'll have some better insights into how to debug things then. But I have nothing against adding a print function regardless.

@svwilliams svwilliams merged commit 563353e into locusrobotics:devel Mar 16, 2020
@efernandez efernandez deleted the print_state_history branch March 19, 2020 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants