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

Transform static variable into member #220

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

NilsHaukeBussas-TomTom
Copy link
Contributor

I had problems running multiple drivers when I used a nodelet manager. So I turned 'last_azimuth' into a member, which solved the issue for me. Also it's a cleaner design.

@JWhitleyWork
Copy link
Contributor

I agree and I'm OK with merging this. However, I don't see how this is related to running multiple instances of the driver.

@JWhitleyWork JWhitleyWork merged commit 39e62eb into ros-drivers:master Mar 18, 2019
@trainman419
Copy link

The static variable is really a global, so it's shared among all nodelets that are launched within the same process.

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

Successfully merging this pull request may close these issues.

None yet

3 participants