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

Improve odometry publisher system #1

Merged
merged 4 commits into from
Aug 23, 2024
Merged

Improve odometry publisher system #1

merged 4 commits into from
Aug 23, 2024

Conversation

shameekganguly
Copy link

Suggestions to address my review comments in gazebosim#2348

@@ -121,6 +134,12 @@ OdometryPublisher::OdometryPublisher()
{
std::get<2>(this->dataPtr->linearMean).SetWindowSize(10);
std::get<2>(this->dataPtr->linearMean).Clear();

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add back std::get<2>(this->dataPtr->angularMean).SetWindowSize(10); and std::get<2>(this->dataPtr->angularMean).Clear(); for the 2D case?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, added back the rolling mean for Z-axis angular velocity in 95d88f8

I also removed the redundant Clear calls as the objects don't have any value at this point.

@azeey azeey merged commit 95d88f8 into tomcreutz:gz-sim8 Aug 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants