Skip to content

docs(battery_turtlebot4): add missing __init__ docstring#1415

Merged
openminddev merged 2 commits intoOpenMind:mainfrom
Wanbogang:fix-battery-turtlebot4-docstring
Jan 14, 2026
Merged

docs(battery_turtlebot4): add missing __init__ docstring#1415
openminddev merged 2 commits intoOpenMind:mainfrom
Wanbogang:fix-battery-turtlebot4-docstring

Conversation

@Wanbogang
Copy link
Copy Markdown
Contributor

Summary

This PR adds the missing __init__ docstring to the TurtleBot4Battery class located in src/inputs/plugins/battery_turtlebot4.py.

Details

The __init__ method lacked a docstring describing its purpose and parameters. This change adds a docstring following the NumPy style, clarifying:

  • The method's purpose (initializing the input handler).
  • The required config parameter (TurtleBot4BatteryConfig) and its role.

This change improves code readability and maintainability.

@Wanbogang Wanbogang requested review from a team as code owners January 14, 2026 03:31
@github-actions github-actions Bot added robotics Robotics code changes python Python code labels Jan 14, 2026
@openminddev openminddev enabled auto-merge (squash) January 14, 2026 05:02
@openminddev openminddev merged commit 30d7b01 into OpenMind:main Jan 14, 2026
1 check passed
aydnOktay pushed a commit to aydnOktay/OM1 that referenced this pull request Jan 19, 2026
Co-authored-by: Nama Kamu <you@example.com>
Co-authored-by: openminddev <147775420+openminddev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Python code robotics Robotics code changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants