Skip to content

Add type hints to minimal publisher rclpy example#439

Open
andrearichichi wants to merge 1 commit intoros2:rollingfrom
andrearichichi:add-type-hints-minimal-publisher
Open

Add type hints to minimal publisher rclpy example#439
andrearichichi wants to merge 1 commit intoros2:rollingfrom
andrearichichi:add-type-hints-minimal-publisher

Conversation

@andrearichichi
Copy link

@andrearichichi andrearichichi commented Mar 18, 2026

This PR adds Python type hints to the minimal publisher rclpy example.
It annotates function return types and key variables (publisher, timer, and message).
No logic or behavior has been changed.
The diff is intentionally minimal and limited to typing improvements only.

Signed-off-by: Andrea Richichi <andrea.richichi@studenti.unitn.it>
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.

1 participant