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

UserWarning: when declaring parameter named 'frame_id', declaring a parameter only providing its name is deprecated #5

Open
LaneaLucy opened this issue Jul 6, 2024 · 1 comment

Comments

@LaneaLucy
Copy link

[twist_stamper-4] /opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/node.py:441: UserWarning: when declaring parameter named 'frame_id', declaring a parameter only providing its name is deprecated. You have to either:
[twist_stamper-4] 	- Pass a name and a default value different to "PARAMETER NOT SET" (and optionally a descriptor).
[twist_stamper-4] 	- Pass a name and a parameter type.
[twist_stamper-4] 	- Pass a name and a descriptor with `dynamic_typing=True
[twist_stamper-4]   warnings.warn(

what to do now?

@SuperJappie08
Copy link

I see the deprecation warning is fixed in the main branch, could this be pushed to the released packages?
(the Warning fix is at least not released for Humble yet)

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

No branches or pull requests

2 participants