Skip to content

Move the headers from .h to .hpp - #100

Merged
scpeters merged 5 commits into
ros:rollingfrom
saikishor:update/headers_to_hpp
Jul 29, 2026
Merged

Move the headers from .h to .hpp#100
scpeters merged 5 commits into
ros:rollingfrom
saikishor:update/headers_to_hpp

Conversation

@saikishor

Copy link
Copy Markdown
Contributor

As per the discussion over ros/urdfdom#230 (comment), I've moved the headers from .h to .hpp

Comment thread include/urdf_exception/exception.h
@saikishor
saikishor requested a review from ahcorde April 9, 2026 07:26
@ahcorde

ahcorde commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Pulls: ros/urdfdom#250, #100
Gist: https://gist.githubusercontent.com/ahcorde/611f4084b55e4ff274ccd7e0d732b66d/raw/5219abd04cbab827d14e82f2a4404462b5425fe8/ros2.repos
BUILD args: --packages-above-and-dependencies urdfdom_headers urdfdom
TEST args: --packages-above urdfdom_headers urdfdom
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18905

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

@ahcorde

ahcorde commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Pulls: ros/urdfdom#250, #100
Gist: https://gist.githubusercontent.com/ahcorde/f729e1d69297fe6c7e76fa4d420b5c7a/raw/5219abd04cbab827d14e82f2a4404462b5425fe8/ros2.repos
BUILD args: --packages-above-and-dependencies urdfdom_headers urdfdom
TEST args: --packages-above urdfdom_headers urdfdom
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18986

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

Comment thread include/urdf_world/world.hpp Outdated
@scpeters
scpeters force-pushed the update/headers_to_hpp branch from 060b044 to b4048ab Compare April 17, 2026 16:47
@scpeters

Copy link
Copy Markdown
Contributor

Pulls: ros/urdfdom#250, #100 Gist: https://gist.githubusercontent.com/ahcorde/f729e1d69297fe6c7e76fa4d420b5c7a/raw/5219abd04cbab827d14e82f2a4404462b5425fe8/ros2.repos BUILD args: --packages-above-and-dependencies urdfdom_headers urdfdom TEST args: --packages-above urdfdom_headers urdfdom ROS Distro: rolling Job: ci_launcher ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18986

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

CI is green but there are new downstream compiler warnings

@scpeters

Copy link
Copy Markdown
Contributor

including the changes in ros/urdfdom#250, there are downstream warnings in the following packages:

I think we should open pull requests in these repositories. We could also consider backporting .hpp files without deprecation notices to kilted

@saikishor

Copy link
Copy Markdown
Contributor Author

Sound good. I'll try to do it. BTW what do you think about the version.hpp header?

@scpeters

Copy link
Copy Markdown
Contributor

will merge this after the freeze and backport .hpp without deprecation to Lyrical

@ahcorde

ahcorde commented May 6, 2026

Copy link
Copy Markdown
Contributor

Pulls: ros/urdfdom#250, #100
Gist: https://gist.githubusercontent.com/ahcorde/7807971c80e701e4948f0fb0ed97c2b7/raw/5219abd04cbab827d14e82f2a4404462b5425fe8/ros2.repos
BUILD args: --packages-above-and-dependencies urdf_parser urdfdom_headers
TEST args: --packages-above urdf_parser urdfdom_headers
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19163

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

@scpeters

Copy link
Copy Markdown
Contributor

sorry for the back and forth on this; since we didn't get the deprecation in Lyrical, let's split out deprecation of .h (b4048ab) to a separate PR that won't be backported

then this PR can add .hpp and be backported

@mergify

mergify Bot commented Jun 21, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@ahcorde ahcorde 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.

@saikishor Do you mind to fix the conflict ?

@saikishor

Copy link
Copy Markdown
Contributor Author

@saikishor Do you mind to fix the conflict ?

I'm a bit overwhelmed with work this week, I'll try to do it this week, if not the next week

saikishor and others added 4 commits July 20, 2026 13:40
Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Signed-off-by: Steve Peters <scpeters@intrinsic.ai>
@saikishor
saikishor force-pushed the update/headers_to_hpp branch from 65f6b29 to 6bfd545 Compare July 20, 2026 11:41
@mergify

mergify Bot commented Jul 20, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@saikishor

Copy link
Copy Markdown
Contributor Author

@scpeters I reverted the deprecation notes as you wanted

This reverts commit b895bf2.

Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
@saikishor
saikishor force-pushed the update/headers_to_hpp branch from 1e0b0a4 to 923c710 Compare July 20, 2026 12:36
@saikishor
saikishor requested review from ahcorde and scpeters July 20, 2026 12:49
@mergify

mergify Bot commented Jul 26, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@scpeters
scpeters dismissed ahcorde’s stale review July 26, 2026 13:03

Conflicts are resolved

@scpeters

Copy link
Copy Markdown
Contributor

I think this can be merged and backported since we removed the deprecation notices

@saikishor

Copy link
Copy Markdown
Contributor Author

I think this can be merged and backported since we removed the deprecation notices

@scpeters should we add version headers to the package? So, the users can simply condition the includes based on the versions? That way they don't have to branch for fixing this

@scpeters

Copy link
Copy Markdown
Contributor

I think this can be merged and backported since we removed the deprecation notices

@scpeters should we add version headers to the package? So, the users can simply condition the includes based on the versions? That way they don't have to branch for fixing this

Yes, I think that would also help with gazebosim/gz-cmake#548

@scpeters

Copy link
Copy Markdown
Contributor

@ahcorde do we need to run CI again before merging?

@ahcorde

ahcorde commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Pulls: #100, ros/urdfdom#250
Gist: https://gist.githubusercontent.com/ahcorde/f99d7d485676e583cec2270e4b777e81/raw/5219abd04cbab827d14e82f2a4404462b5425fe8/ros2.repos
BUILD args: --packages-above-and-dependencies urdfdom urdfdom_headers
TEST args: --packages-above urdfdom urdfdom_headers
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19971

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

@ahcorde

ahcorde commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Pulls: ros/urdfdom#250, #100
Gist: https://gist.githubusercontent.com/ahcorde/e5e10dea553c66f0cec6e51ec1dda573/raw/5219abd04cbab827d14e82f2a4404462b5425fe8/ros2.repos
BUILD args: --packages-above-and-dependencies urdfdom urdfdom_headers
TEST args: --packages-above urdfdom urdfdom_headers
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19997

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

@scpeters
scpeters merged commit 07ab70a into ros:rolling Jul 29, 2026
3 checks passed
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.

3 participants