Skip to content

Fix: improve exception context for parameter_value_from#2917

Merged
ahcorde merged 5 commits intoros2:rollingfrom
mleegwt:fix_debugging_info
Jul 29, 2025
Merged

Fix: improve exception context for parameter_value_from#2917
ahcorde merged 5 commits intoros2:rollingfrom
mleegwt:fix_debugging_info

Conversation

@mleegwt
Copy link
Copy Markdown
Contributor

@mleegwt mleegwt commented Jul 27, 2025

Description

Adds c_param_name to error messages without changing API interface of parameter_value_from.

Fixes #2916

Is this user-facing behavior change?

Did you use Generative AI?

ChatGPT 4o

Additional Information

I was missing instructions for testing/building. I'm used to having Github automatically building my repos. But it has been a long while since my last bit of CPP. So please edit/improve before merging if that is required.

Adds c_param_name to error messages without changing API
interface of parameter_value_from.

Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

I think this is reasonable, lgtm with a few comments.

mleegwt and others added 3 commits July 28, 2025 08:56
…eclaration

Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
@mleegwt
Copy link
Copy Markdown
Contributor Author

mleegwt commented Jul 28, 2025

I think this is reasonable, lgtm with a few comments.

Thanks! Suggested changes are committed!

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Jul 28, 2025

Pulls: #2917
Gist: https://gist.githubusercontent.com/ahcorde/911b6f6be6bfec05de9a4a2ded55e023/raw/7ab37ec02e9f476ea5580ea68a9337fc27f9bee0/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/16637

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@mleegwt
Copy link
Copy Markdown
Contributor Author

mleegwt commented Jul 29, 2025

@ahcorde What happened to the Windows build?

@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Jul 29, 2025

  • Windows Build Status

@ahcorde ahcorde merged commit 1f2adc9 into ros2:rolling Jul 29, 2025
3 checks passed
@mleegwt
Copy link
Copy Markdown
Contributor Author

mleegwt commented Jul 30, 2025

@ahcorde Thanks! I saw there also is a release that includes this fix already. I love it!
Next stop for me: Updating to rolling from jazzy for my rover setup to allow resolving my original issue.

@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Jul 30, 2025

https://github.com/Mergifyio backport kilted jazzy humble

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 30, 2025

backport kilted jazzy humble

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Jul 30, 2025
Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 1f2adc9)
mergify bot pushed a commit that referenced this pull request Jul 30, 2025
Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 1f2adc9)
mergify bot pushed a commit that referenced this pull request Jul 30, 2025
Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit 1f2adc9)
ahcorde added a commit that referenced this pull request Aug 18, 2025
(cherry picked from commit 1f2adc9)

Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
ahcorde added a commit that referenced this pull request Aug 18, 2025
(cherry picked from commit 1f2adc9)

Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
ahcorde added a commit that referenced this pull request Aug 18, 2025
…) (#2921)

Signed-off-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Co-authored-by: Michiel Leegwater <mleegwt@users.noreply.github.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
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.

parameter_map_from should report which name is missing

3 participants