Skip to content

Move the headers from .h to .hpp#250

Open
saikishor wants to merge 9 commits intoros:rollingfrom
saikishor:update/headers_to_hpp
Open

Move the headers from .h to .hpp#250
saikishor wants to merge 9 commits intoros:rollingfrom
saikishor:update/headers_to_hpp

Conversation

@saikishor
Copy link
Copy Markdown
Contributor

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

@saikishor saikishor force-pushed the update/headers_to_hpp branch from c9899fc to c544628 Compare April 6, 2026 18:36
@saikishor
Copy link
Copy Markdown
Contributor Author

Even though it appears as if I haven't moved the file, I think it is a github artifact, but the original file does retain the git history

image image

Comment thread urdf_parser/include/urdf_parser/exportdecl.h Outdated
Comment thread urdf_parser/include/urdf_parser/exportdecl.hpp Outdated
@saikishor saikishor force-pushed the update/headers_to_hpp branch 2 times, most recently from 517d7ca to d6fd969 Compare April 7, 2026 10:48
Comment thread urdf_parser/include/urdf_parser/exportdecl.h Outdated
@saikishor saikishor force-pushed the update/headers_to_hpp branch from a28b4eb to 9c457ad Compare April 7, 2026 11:02
Copy link
Copy Markdown
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

do you mind to fix the conflicts?

saikishor and others added 8 commits April 7, 2026 21:58
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: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
@saikishor saikishor force-pushed the update/headers_to_hpp branch from 9c457ad to 4acac84 Compare April 7, 2026 19:58
@saikishor
Copy link
Copy Markdown
Contributor Author

do you mind to fix the conflicts?

Done!

@saikishor saikishor requested a review from ahcorde April 7, 2026 19:58
@saikishor
Copy link
Copy Markdown
Contributor Author

@ahcorde Should I add deprecation warnings here as well?

@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Apr 9, 2026

@ahcorde Should I add deprecation warnings here as well?

yes, please

Signed-off-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Apr 9, 2026

Pulls: #250, ros/urdfdom_headers#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

Copy link
Copy Markdown
Contributor Author

@saikishor saikishor left a comment

Choose a reason for hiding this comment

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

@ahcorde I think I made a mistake in the deprecation warnings.

Comment on lines +43 to +45
#pragma message("warning: urdfdom/exportdecl.h is deprecated. Please use urdfdom/exportdecl.hpp instead.")
#else
#warning urdfdom/exportdecl.h is deprecated. Please use urdfdom/exportdecl.hpp instead.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
#pragma message("warning: urdfdom/exportdecl.h is deprecated. Please use urdfdom/exportdecl.hpp instead.")
#else
#warning urdfdom/exportdecl.h is deprecated. Please use urdfdom/exportdecl.hpp instead.
#pragma message("warning: urdf_parser/exportdecl.h is deprecated. Please use urdf_parser/exportdecl.hpp instead.")
#else
#warning urdf_parser/exportdecl.h is deprecated. Please use urdf_parser/exportdecl.hpp instead.

Comment on lines +43 to +45
#pragma message("warning: urdfdom/urdf_parser.h is deprecated. Please use urdfdom/urdf_parser.hpp instead.")
#else
#warning urdfdom/urdf_parser.h is deprecated. Please use urdfdom/urdf_parser.hpp instead.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
#pragma message("warning: urdfdom/urdf_parser.h is deprecated. Please use urdfdom/urdf_parser.hpp instead.")
#else
#warning urdfdom/urdf_parser.h is deprecated. Please use urdfdom/urdf_parser.hpp instead.
#pragma message("warning: urdf_parser/urdf_parser.h is deprecated. Please use urdf_parser/urdf_parser.hpp instead.")
#else
#warning urdf_parser/urdf_parser.h is deprecated. Please use urdf_parser/urdf_parser.hpp instead.

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.

2 participants