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

Add use_twist_covariance ROS param and logic to Imu2D differential orientation measurements #178

Conversation

efernandez
Copy link
Collaborator

@efernandez efernandez commented Apr 15, 2020

This simply adds the use_twist_covariance ROS param and logic to the Imu2D sensor model, which is equivalent to the one added to the Odometry2D sensor model in #138

I also did two additional minor changes:

  1. std::move the current pose into the previous_pose_ in Odometry2D, so it's doing the same as Imu2D, which seems more efficient.
  2. Move the pose_relative_covariance declaration in processDifferentialPoseWithTwistCovariance() closer to where it's used.

This makes the Odometry2D do the same as the Imu2D.
For differential orientation measurements.
@efernandez
Copy link
Collaborator Author

@svwilliams @ayrton04 for review

@efernandez efernandez changed the title Imu differential use twist covariance Add use_twist_covariance param and logic to Imu2D differential orientation measurements Apr 15, 2020
@efernandez efernandez changed the title Add use_twist_covariance param and logic to Imu2D differential orientation measurements Add use_twist_covariance ROS param and logic to Imu2D differential orientation measurements Apr 15, 2020
@svwilliams svwilliams merged commit eef60fe into locusrobotics:devel Apr 24, 2020
@efernandez efernandez deleted the imu_differential_use_twist_covariance branch April 24, 2020 07:12
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