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

Fixed callbackCloud warning #1233

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Fixed callbackCloud warning #1233

merged 2 commits into from
Nov 1, 2024

Conversation

chcaya
Copy link

@chcaya chcaya commented Oct 31, 2024

Bonjour de Sherbrooke Mathieu,

Since calbackCloud() is the only callback when called while using tf instead of odom in this node, the callbackCalled_ variable is never set to true, so the warning keeps spinning. Therefore, I added the variable to calbackCloud() and removed a useless condition within the warning loop.

Please let me know if the fixes are correct.

@matlabbe
Copy link
Member

Merci, j'ai juste un petit commentaire :)

@matlabbe matlabbe merged commit e9aa8ed into introlab:ros2 Nov 1, 2024
2 checks passed
matlabbe added a commit that referenced this pull request Nov 1, 2024
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.

2 participants