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

navsat_transform crashes when broadcast_utm_transform is false #732

Closed
afrixs opened this issue Feb 25, 2022 · 3 comments
Closed

navsat_transform crashes when broadcast_utm_transform is false #732

afrixs opened this issue Feb 25, 2022 · 3 comments
Assignees
Labels

Comments

@afrixs
Copy link

afrixs commented Feb 25, 2022

Bug report

Required Info:

  • Operating System:
    • Ubuntu 20.04
  • Installation type:
    • binaries
  • Version or commit hash:
    • 3.3.0-1focal.20220122.083819

Steps to reproduce issue

Run navsat_transform_node, setting broadcast_utm_transform to false or not setting it at all (or setting 'broadcast_cartesian_transform' instead).

Expected behavior

Node runs normally without publishing utm transform

Actual behavior

Node crashes with message: parameter 'broadcast_utm_transform' has already been declared

Additional information

I believe this line was intended to be

      this->declare_parameter("broadcast_cartesian_transform", broadcast_cartesian_transform_);

instead of

      this->declare_parameter("broadcast_utm_transform", broadcast_cartesian_transform_);
@ayrton04
Copy link
Collaborator

Thanks. Any chance you'd care to submit a PR? :)

@snDevX
Copy link

snDevX commented Mar 17, 2023

Any solution for ros-noetic ? The navsat_transform.cpp is different for this version

@ayrton04
Copy link
Collaborator

Noetic doesn't do parameter declaration, so I don't believe it should crash. What are you seeing in noetic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants