Skip to content

Clean up the project architecture#10

Merged
AntoniRL merged 36 commits into
humble-develfrom
feature/clean-gamepad-teleop
May 22, 2026
Merged

Clean up the project architecture#10
AntoniRL merged 36 commits into
humble-develfrom
feature/clean-gamepad-teleop

Conversation

@AntoniRL

@AntoniRL AntoniRL commented May 21, 2026

Copy link
Copy Markdown
Contributor

Description

Refactor the gamepad teleoperation implementation by separating input handling and command publishing into dedicated classes.

Motivation and context

This change improves code readability, maintainability, and prepares the teleop framework for future extension with multiple teleoperation devices.

How has this been tested?

On the real robot.

Checklist

  • All TODOs in the code have been resolved or linked to a proper issue.
  • 🌵 Code has been (auto)formatted.
  • Documentation (e.g., README, CHANGELOG, Wiki) has been updated.
  • All automated checks have passed.

Clickup task: 869d9prwc

@AntoniRL AntoniRL requested a review from macmacal May 21, 2026 14:49

@macmacal macmacal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very solid idea of extracting the servo publishing logic into an auxiliary class! Please address the following comments, and we should be able to merge it pretty fast. Also, please update the CHANGELOG.

Comment thread teleop2servo/package.xml Outdated
Comment thread teleop2servo/CMakeLists.txt Outdated
Comment thread teleop2servo/include/teleop2servo/teleop_utils.hpp Outdated
Comment thread teleop2servo/launch/teleop.launch.py
Comment thread teleop2servo/src/teleop_publisher.cpp Outdated
Comment thread teleop2servo/src/teleop_publisher.cpp
Comment thread teleop2servo/src/teleop_gamepad_node.cpp
Comment thread teleop2servo/src/teleop_gamepad_node.cpp Outdated
@macmacal macmacal changed the title Feature/clean gamepad teleop Clean up the gamepad teleop architecture May 21, 2026
@macmacal macmacal changed the title Clean up the gamepad teleop architecture Clean up the project architecture May 21, 2026

@macmacal macmacal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🆗

Important

Please do a squash merge

@macmacal macmacal added the enhancement New feature or request label May 22, 2026
@AntoniRL AntoniRL merged commit 604f2ac into humble-devel May 22, 2026
1 check passed
@AntoniRL AntoniRL deleted the feature/clean-gamepad-teleop branch May 22, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants