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

Allow editing values_ in status_item and small refactor #441

Open
wants to merge 1 commit into
base: ros2
Choose a base branch
from

Conversation

MahmoudAlmasri
Copy link

@MahmoudAlmasri MahmoudAlmasri commented Feb 19, 2025

This PR allows editing values- within status_item in a convenient way:
* Add new constructor that takes an extra vector of KeyValue
* Introduce the addValue() method to StatusItem.
Finally, a small refactor is performed to reuse some code.

@MahmoudAlmasri MahmoudAlmasri force-pushed the feat/add_values_to_status_item branch 3 times, most recently from e506d27 to 75f2ed2 Compare February 19, 2025 14:35
@MahmoudAlmasri MahmoudAlmasri marked this pull request as draft February 19, 2025 18:54
* Add new constructor that takes an extra vector of KeyValue

* Introduce the addValue() method to StatusItem.

* Refactor addValue and hasKey and move them to the cpp

Signed-off-by: Mahmoud Almasri <mahm.al.masri@gmail.com>
@MahmoudAlmasri MahmoudAlmasri force-pushed the feat/add_values_to_status_item branch from 75f2ed2 to 654cdba Compare February 19, 2025 19:49
@MahmoudAlmasri MahmoudAlmasri marked this pull request as ready for review February 19, 2025 19:57
@MahmoudAlmasri MahmoudAlmasri changed the title Add status_item::addValue and refactor Allow editing values_ in status_item and small refactor Feb 21, 2025
@ct2034 ct2034 added enhancement This tackles a new feature of the code (and not a bug) ros2 PR tackling a ROS2 branch labels Feb 24, 2025
@ct2034 ct2034 self-assigned this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This tackles a new feature of the code (and not a bug) ros2 PR tackling a ROS2 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants