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

rename vehicle_visual_odometry_aligned -> estimator_visual_odometry_aligned #16060

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

dagar
Copy link
Member

@dagar dagar commented Oct 27, 2020

I'm assuming vehicle_visual_odometry_aligned only exists for log review purposes (added in #12771)?

Renaming this saves a small amount of work for the selector in mult-EKF mode and possibly makes the origin/purpose of each message a little clearer.

@kamilritz
Copy link
Contributor

Yes, it is used to check if the coordinates frames and transformations are correct. Renaming it like this seems good.

@@ -62,5 +62,5 @@ float32 yawspeed # Angular velocity about Z body axis
# If angular velocity covariance invalid/unknown, 16th cell is NaN
float32[21] velocity_covariance

# TOPICS vehicle_odometry vehicle_mocap_odometry vehicle_visual_odometry vehicle_visual_odometry_aligned
# TOPICS vehicle_odometry vehicle_mocap_odometry vehicle_visual_odometry
Copy link
Member

Choose a reason for hiding this comment

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

We are removing this but we keep it as an alias in uorb_rtps_message_ids.yaml? I am not sure what will be the result here

Copy link
Member Author

Choose a reason for hiding this comment

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

The uorb_rtps_message_ids.yaml alias seems to be in place for most of the cases of multiple topics per uORB message (type). What's the intended purpose?

Copy link
Member

Choose a reason for hiding this comment

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

It also means that an alias shares the same message structure as the base message, i.e. vehicle_visual_odometry_aligned shares the same structure as vehicle_odometry.

Copy link
Member

Choose a reason for hiding this comment

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

But I guess this works, if the code generation doesn't complain.

@dagar dagar merged commit df2f26e into master Oct 27, 2020
@dagar dagar deleted the pr-visual_odom_aligned branch October 27, 2020 16:33
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.

3 participants