-
Notifications
You must be signed in to change notification settings - Fork 983
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
global_position: update pose and twist to odom msg #360
Conversation
@@ -68,8 +68,7 @@ class GlobalPositionPlugin : public MavRosPlugin { | |||
|
|||
// fused global position | |||
gp_fix_pub = gp_nh.advertise<sensor_msgs::NavSatFix>("global", 10); | |||
gp_pos_pub = gp_nh.advertise<geometry_msgs::PoseWithCovarianceStamped>("local", 10); | |||
gp_vel_pub = gp_nh.advertise<geometry_msgs::TwistStamped>("gp_vel", 10); | |||
gp_odom_pub = gp_nh.advertise<nav_msgs::Odometry>("local", 10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe name it "odom"? Users will confused on topic type change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well turns out to gives us local position. This is just to have congruence with global
, which gives the fix topic. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, leave as is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyhow, from what I know, no one is using data from this topic yet (fused gps data), so maybe we can keep it (also so we can then calculate the threshold from local_position/local
).
@vooon does it lgtm? |
global_position: update pose and twist to odom msg
No description provided.