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

global_position: update pose and twist to odom msg #360

Merged
merged 3 commits into from
Aug 4, 2015

Conversation

TSC21
Copy link
Member

@TSC21 TSC21 commented Aug 4, 2015

No description provided.

@@ -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);
Copy link
Member

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.

Copy link
Member Author

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?

Copy link
Member

Choose a reason for hiding this comment

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

Ok, leave as is.

Copy link
Member Author

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).

@TSC21
Copy link
Member Author

TSC21 commented Aug 4, 2015

@vooon does it lgtm?

vooon added a commit that referenced this pull request Aug 4, 2015
global_position: update pose and twist to odom msg
@vooon vooon merged commit 0eb49d0 into mavlink:master Aug 4, 2015
@vooon vooon added this to the Version 0.14 milestone Aug 4, 2015
@TSC21 TSC21 deleted the global_pos_odom branch August 4, 2015 13:17
@vooon vooon mentioned this pull request Aug 13, 2015
2 tasks
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.

None yet

2 participants