From cf61d87fd4bbefd5b10a10fd29671acbd144b570 Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Mon, 6 Apr 2026 20:42:44 +0200 Subject: [PATCH 1/4] Move all the .h headers to .hpp headers Signed-off-by: Sai Kishor Kothakota --- include/urdf_exception/{exception.h => exception.hpp} | 0 include/urdf_model/{color.h => color.hpp} | 4 ++-- include/urdf_model/{joint.h => joint.hpp} | 4 ++-- include/urdf_model/{link.h => link.hpp} | 6 +++--- include/urdf_model/{model.h => model.hpp} | 6 +++--- include/urdf_model/{pose.h => pose.hpp} | 4 ++-- include/urdf_model/{twist.h => twist.hpp} | 2 +- include/urdf_model/{types.h => types.hpp} | 0 include/urdf_model/{utils.h => utils.hpp} | 0 include/urdf_sensor/{sensor.h => sensor.hpp} | 10 +++++----- include/urdf_sensor/{types.h => types.hpp} | 0 include/urdf_world/{types.h => types.hpp} | 0 include/urdf_world/{world.h => world.hpp} | 6 +++--- 13 files changed, 21 insertions(+), 21 deletions(-) rename include/urdf_exception/{exception.h => exception.hpp} (100%) rename include/urdf_model/{color.h => color.hpp} (97%) rename include/urdf_model/{joint.h => joint.hpp} (99%) rename include/urdf_model/{link.h => link.hpp} (98%) rename include/urdf_model/{model.h => model.hpp} (98%) rename include/urdf_model/{pose.h => pose.hpp} (99%) rename include/urdf_model/{twist.h => twist.hpp} (98%) rename include/urdf_model/{types.h => types.hpp} (100%) rename include/urdf_model/{utils.h => utils.hpp} (100%) rename include/urdf_sensor/{sensor.h => sensor.hpp} (96%) rename include/urdf_sensor/{types.h => types.hpp} (100%) rename include/urdf_world/{types.h => types.hpp} (100%) rename include/urdf_world/{world.h => world.hpp} (96%) diff --git a/include/urdf_exception/exception.h b/include/urdf_exception/exception.hpp similarity index 100% rename from include/urdf_exception/exception.h rename to include/urdf_exception/exception.hpp diff --git a/include/urdf_model/color.h b/include/urdf_model/color.hpp similarity index 97% rename from include/urdf_model/color.h rename to include/urdf_model/color.hpp index 2886571..bd7d690 100644 --- a/include/urdf_model/color.h +++ b/include/urdf_model/color.hpp @@ -42,8 +42,8 @@ #include #include -#include -#include +#include +#include namespace urdf { diff --git a/include/urdf_model/joint.h b/include/urdf_model/joint.hpp similarity index 99% rename from include/urdf_model/joint.h rename to include/urdf_model/joint.hpp index c8b62f0..0075647 100644 --- a/include/urdf_model/joint.h +++ b/include/urdf_model/joint.hpp @@ -41,8 +41,8 @@ #include #include -#include "urdf_model/pose.h" -#include "urdf_model/types.h" +#include "urdf_model/pose.hpp" +#include "urdf_model/types.hpp" namespace urdf{ diff --git a/include/urdf_model/link.h b/include/urdf_model/link.hpp similarity index 98% rename from include/urdf_model/link.h rename to include/urdf_model/link.hpp index 855445b..f725d68 100644 --- a/include/urdf_model/link.h +++ b/include/urdf_model/link.hpp @@ -41,9 +41,9 @@ #include #include -#include "joint.h" -#include "color.h" -#include "types.h" +#include "joint.hpp" +#include "color.hpp" +#include "types.hpp" namespace urdf{ diff --git a/include/urdf_model/model.h b/include/urdf_model/model.hpp similarity index 98% rename from include/urdf_model/model.h rename to include/urdf_model/model.hpp index 8b7ced8..af0fb32 100644 --- a/include/urdf_model/model.h +++ b/include/urdf_model/model.hpp @@ -39,9 +39,9 @@ #include #include -#include -#include -#include +#include +#include +#include namespace urdf { diff --git a/include/urdf_model/pose.h b/include/urdf_model/pose.hpp similarity index 99% rename from include/urdf_model/pose.h rename to include/urdf_model/pose.hpp index e4677f2..f849581 100644 --- a/include/urdf_model/pose.h +++ b/include/urdf_model/pose.hpp @@ -43,8 +43,8 @@ #include #include -#include -#include +#include +#include namespace urdf{ diff --git a/include/urdf_model/twist.h b/include/urdf_model/twist.hpp similarity index 98% rename from include/urdf_model/twist.h rename to include/urdf_model/twist.hpp index ba57e4c..6572cd6 100644 --- a/include/urdf_model/twist.h +++ b/include/urdf_model/twist.hpp @@ -41,7 +41,7 @@ #include #include #include -#include +#include namespace urdf{ diff --git a/include/urdf_model/types.h b/include/urdf_model/types.hpp similarity index 100% rename from include/urdf_model/types.h rename to include/urdf_model/types.hpp diff --git a/include/urdf_model/utils.h b/include/urdf_model/utils.hpp similarity index 100% rename from include/urdf_model/utils.h rename to include/urdf_model/utils.hpp diff --git a/include/urdf_sensor/sensor.h b/include/urdf_sensor/sensor.hpp similarity index 96% rename from include/urdf_sensor/sensor.h rename to include/urdf_sensor/sensor.hpp index 60126aa..985fea6 100644 --- a/include/urdf_sensor/sensor.h +++ b/include/urdf_sensor/sensor.hpp @@ -64,11 +64,11 @@ #include #include #include -#include "urdf_model/pose.h" -#include "urdf_model/joint.h" -#include "urdf_model/link.h" -#include "urdf_model/types.h" -#include "urdf_sensor/types.h" +#include "urdf_model/pose.hpp" +#include "urdf_model/joint.hpp" +#include "urdf_model/link.hpp" +#include "urdf_model/types.hpp" +#include "urdf_sensor/types.hpp" namespace urdf{ diff --git a/include/urdf_sensor/types.h b/include/urdf_sensor/types.hpp similarity index 100% rename from include/urdf_sensor/types.h rename to include/urdf_sensor/types.hpp diff --git a/include/urdf_world/types.h b/include/urdf_world/types.hpp similarity index 100% rename from include/urdf_world/types.h rename to include/urdf_world/types.hpp diff --git a/include/urdf_world/world.h b/include/urdf_world/world.hpp similarity index 96% rename from include/urdf_world/world.h rename to include/urdf_world/world.hpp index 909d599..9bdc447 100644 --- a/include/urdf_world/world.h +++ b/include/urdf_world/world.hpp @@ -74,9 +74,9 @@ #include #include -#include "urdf_model/types.h" -#include "urdf_model/pose.h" -#include "urdf_model/twist.h" +#include "urdf_world/types.hpp" +#include "urdf_model/pose.hpp" +#include "urdf_model/twist.hpp" namespace urdf{ From ff80def193276ddca99c0fcb8e0dde6223a35185 Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Mon, 6 Apr 2026 21:31:48 +0200 Subject: [PATCH 2/4] Create the .h and point to the new .hpp files Signed-off-by: Sai Kishor Kothakota --- include/urdf_exception/exception.h | 40 ++++++++++++++++++++++++++++ include/urdf_exception/exception.hpp | 4 +-- include/urdf_model/color.h | 40 ++++++++++++++++++++++++++++ include/urdf_model/color.hpp | 4 +-- include/urdf_model/joint.h | 40 ++++++++++++++++++++++++++++ include/urdf_model/joint.hpp | 4 +-- include/urdf_model/link.h | 40 ++++++++++++++++++++++++++++ include/urdf_model/link.hpp | 10 +++---- include/urdf_model/model.h | 40 ++++++++++++++++++++++++++++ include/urdf_model/model.hpp | 4 +-- include/urdf_model/pose.h | 40 ++++++++++++++++++++++++++++ include/urdf_model/pose.hpp | 4 +-- include/urdf_model/twist.h | 40 ++++++++++++++++++++++++++++ include/urdf_model/twist.hpp | 4 +-- include/urdf_model/types.h | 40 ++++++++++++++++++++++++++++ include/urdf_model/types.hpp | 4 +-- include/urdf_model/utils.h | 40 ++++++++++++++++++++++++++++ include/urdf_model/utils.hpp | 4 +-- include/urdf_sensor/sensor.h | 40 ++++++++++++++++++++++++++++ include/urdf_sensor/sensor.hpp | 4 +-- include/urdf_sensor/types.h | 40 ++++++++++++++++++++++++++++ include/urdf_sensor/types.hpp | 4 +-- include/urdf_world/types.h | 40 ++++++++++++++++++++++++++++ include/urdf_world/types.hpp | 10 +++---- include/urdf_world/world.h | 40 ++++++++++++++++++++++++++++ include/urdf_world/world.hpp | 4 +-- 26 files changed, 552 insertions(+), 32 deletions(-) create mode 100644 include/urdf_exception/exception.h create mode 100644 include/urdf_model/color.h create mode 100644 include/urdf_model/joint.h create mode 100644 include/urdf_model/link.h create mode 100644 include/urdf_model/model.h create mode 100644 include/urdf_model/pose.h create mode 100644 include/urdf_model/twist.h create mode 100644 include/urdf_model/types.h create mode 100644 include/urdf_model/utils.h create mode 100644 include/urdf_sensor/sensor.h create mode 100644 include/urdf_sensor/types.h create mode 100644 include/urdf_world/types.h create mode 100644 include/urdf_world/world.h diff --git a/include/urdf_exception/exception.h b/include/urdf_exception/exception.h new file mode 100644 index 0000000..2b6269a --- /dev/null +++ b/include/urdf_exception/exception.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_INTERFACE_EXCEPTION_H_ +#define URDF_INTERFACE_EXCEPTION_H_ + +#include + +#endif diff --git a/include/urdf_exception/exception.hpp b/include/urdf_exception/exception.hpp index 24222f1..a1a2ced 100644 --- a/include/urdf_exception/exception.hpp +++ b/include/urdf_exception/exception.hpp @@ -33,8 +33,8 @@ *********************************************************************/ // URDF exceptions -#ifndef URDF_INTERFACE_EXCEPTION_H_ -#define URDF_INTERFACE_EXCEPTION_H_ +#ifndef URDF_INTERFACE_EXCEPTION_HPP_ +#define URDF_INTERFACE_EXCEPTION_HPP_ #include #include diff --git a/include/urdf_model/color.h b/include/urdf_model/color.h new file mode 100644 index 0000000..15b44df --- /dev/null +++ b/include/urdf_model/color.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_INTERFACE_COLOR_H +#define URDF_INTERFACE_COLOR_H + +#include + +#endif diff --git a/include/urdf_model/color.hpp b/include/urdf_model/color.hpp index bd7d690..1936279 100644 --- a/include/urdf_model/color.hpp +++ b/include/urdf_model/color.hpp @@ -34,8 +34,8 @@ /* Author: Josh Faust */ -#ifndef URDF_INTERFACE_COLOR_H -#define URDF_INTERFACE_COLOR_H +#ifndef URDF_INTERFACE_COLOR_HPP +#define URDF_INTERFACE_COLOR_HPP #include #include diff --git a/include/urdf_model/joint.h b/include/urdf_model/joint.h new file mode 100644 index 0000000..b9cd303 --- /dev/null +++ b/include/urdf_model/joint.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_INTERFACE_JOINT_H +#define URDF_INTERFACE_JOINT_H + +#include + +#endif diff --git a/include/urdf_model/joint.hpp b/include/urdf_model/joint.hpp index 0075647..809c258 100644 --- a/include/urdf_model/joint.hpp +++ b/include/urdf_model/joint.hpp @@ -34,8 +34,8 @@ /* Author: Wim Meeussen */ -#ifndef URDF_INTERFACE_JOINT_H -#define URDF_INTERFACE_JOINT_H +#ifndef URDF_INTERFACE_JOINT_HPP +#define URDF_INTERFACE_JOINT_HPP #include #include diff --git a/include/urdf_model/link.h b/include/urdf_model/link.h new file mode 100644 index 0000000..0b7e7ac --- /dev/null +++ b/include/urdf_model/link.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_INTERFACE_LINK_H +#define URDF_INTERFACE_LINK_H + +#include + +#endif diff --git a/include/urdf_model/link.hpp b/include/urdf_model/link.hpp index f725d68..dcf3b4c 100644 --- a/include/urdf_model/link.hpp +++ b/include/urdf_model/link.hpp @@ -34,16 +34,16 @@ /* Author: Wim Meeussen */ -#ifndef URDF_INTERFACE_LINK_H -#define URDF_INTERFACE_LINK_H +#ifndef URDF_INTERFACE_LINK_HPP +#define URDF_INTERFACE_LINK_HPP #include #include #include -#include "joint.hpp" -#include "color.hpp" -#include "types.hpp" +#include "urdf_model/joint.hpp" +#include "urdf_model/color.hpp" +#include "urdf_model/types.hpp" namespace urdf{ diff --git a/include/urdf_model/model.h b/include/urdf_model/model.h new file mode 100644 index 0000000..63427e6 --- /dev/null +++ b/include/urdf_model/model.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_INTERFACE_MODEL_H +#define URDF_INTERFACE_MODEL_H + +#include + +#endif diff --git a/include/urdf_model/model.hpp b/include/urdf_model/model.hpp index af0fb32..90b7096 100644 --- a/include/urdf_model/model.hpp +++ b/include/urdf_model/model.hpp @@ -34,8 +34,8 @@ /* Author: Wim Meeussen */ -#ifndef URDF_INTERFACE_MODEL_H -#define URDF_INTERFACE_MODEL_H +#ifndef URDF_INTERFACE_MODEL_HPP +#define URDF_INTERFACE_MODEL_HPP #include #include diff --git a/include/urdf_model/pose.h b/include/urdf_model/pose.h new file mode 100644 index 0000000..0535215 --- /dev/null +++ b/include/urdf_model/pose.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_INTERFACE_POSE_H +#define URDF_INTERFACE_POSE_H + +#include + +#endif diff --git a/include/urdf_model/pose.hpp b/include/urdf_model/pose.hpp index f849581..705d6f1 100644 --- a/include/urdf_model/pose.hpp +++ b/include/urdf_model/pose.hpp @@ -34,8 +34,8 @@ /* Author: Wim Meeussen */ -#ifndef URDF_INTERFACE_POSE_H -#define URDF_INTERFACE_POSE_H +#ifndef URDF_INTERFACE_POSE_HPP +#define URDF_INTERFACE_POSE_HPP #include #include diff --git a/include/urdf_model/twist.h b/include/urdf_model/twist.h new file mode 100644 index 0000000..b2ac3cd --- /dev/null +++ b/include/urdf_model/twist.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_TWIST_H +#define URDF_TWIST_H + +#include + +#endif diff --git a/include/urdf_model/twist.hpp b/include/urdf_model/twist.hpp index 6572cd6..9c92f57 100644 --- a/include/urdf_model/twist.hpp +++ b/include/urdf_model/twist.hpp @@ -34,8 +34,8 @@ /* Author: John Hsu */ -#ifndef URDF_TWIST_H -#define URDF_TWIST_H +#ifndef URDF_TWIST_HPP +#define URDF_TWIST_HPP #include #include diff --git a/include/urdf_model/types.h b/include/urdf_model/types.h new file mode 100644 index 0000000..2b36458 --- /dev/null +++ b/include/urdf_model/types.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_MODEL_TYPES_H +#define URDF_MODEL_TYPES_H + +#include + +#endif diff --git a/include/urdf_model/types.hpp b/include/urdf_model/types.hpp index 7165c41..ee8d2b8 100644 --- a/include/urdf_model/types.hpp +++ b/include/urdf_model/types.hpp @@ -34,8 +34,8 @@ /* Author: Steve Peters */ -#ifndef URDF_MODEL_TYPES_H -#define URDF_MODEL_TYPES_H +#ifndef URDF_MODEL_TYPES_HPP +#define URDF_MODEL_TYPES_HPP #include diff --git a/include/urdf_model/utils.h b/include/urdf_model/utils.h new file mode 100644 index 0000000..715b1ee --- /dev/null +++ b/include/urdf_model/utils.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2016, Open Source Robotics Foundation (OSRF) +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the OSRF nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_INTERFACE_UTILS_H +#define URDF_INTERFACE_UTILS_H + +#include + +#endif diff --git a/include/urdf_model/utils.hpp b/include/urdf_model/utils.hpp index f9f59c1..52982e1 100644 --- a/include/urdf_model/utils.hpp +++ b/include/urdf_model/utils.hpp @@ -34,8 +34,8 @@ /* Author: Steve Peters */ -#ifndef URDF_INTERFACE_UTILS_H -#define URDF_INTERFACE_UTILS_H +#ifndef URDF_INTERFACE_UTILS_HPP +#define URDF_INTERFACE_UTILS_HPP #include #include diff --git a/include/urdf_sensor/sensor.h b/include/urdf_sensor/sensor.h new file mode 100644 index 0000000..f3852d0 --- /dev/null +++ b/include/urdf_sensor/sensor.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_SENSOR_H +#define URDF_SENSOR_H + +#include + +#endif diff --git a/include/urdf_sensor/sensor.hpp b/include/urdf_sensor/sensor.hpp index 985fea6..b07b3e0 100644 --- a/include/urdf_sensor/sensor.hpp +++ b/include/urdf_sensor/sensor.hpp @@ -58,8 +58,8 @@ -#ifndef URDF_SENSOR_H -#define URDF_SENSOR_H +#ifndef URDF_SENSOR_HPP +#define URDF_SENSOR_HPP #include #include diff --git a/include/urdf_sensor/types.h b/include/urdf_sensor/types.h new file mode 100644 index 0000000..52db598 --- /dev/null +++ b/include/urdf_sensor/types.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_SENSOR_TYPES_H +#define URDF_SENSOR_TYPES_H + +#include + +#endif diff --git a/include/urdf_sensor/types.hpp b/include/urdf_sensor/types.hpp index aa55aec..dd73de7 100644 --- a/include/urdf_sensor/types.hpp +++ b/include/urdf_sensor/types.hpp @@ -34,8 +34,8 @@ /* Author: Steve Peters */ -#ifndef URDF_SENSOR_TYPES_H -#define URDF_SENSOR_TYPES_H +#ifndef URDF_SENSOR_TYPES_HPP +#define URDF_SENSOR_TYPES_HPP #include diff --git a/include/urdf_world/types.h b/include/urdf_world/types.h new file mode 100644 index 0000000..f035d9a --- /dev/null +++ b/include/urdf_world/types.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_WORLD_TYPES_H +#define URDF_WORLD_TYPES_H + +#include + +#endif diff --git a/include/urdf_world/types.hpp b/include/urdf_world/types.hpp index ae66721..c2226b5 100644 --- a/include/urdf_world/types.hpp +++ b/include/urdf_world/types.hpp @@ -34,15 +34,15 @@ /* Author: Steve Peters */ -#ifndef URDF_WORLD_TYPES_H -#define URDF_WORLD_TYPES_H +#ifndef URDF_WORLD_TYPES_HPP +#define URDF_WORLD_TYPES_HPP #if defined(_MSC_VER) - #pragma message("warning: urdf_world/types.h is deprecated. Please use urdf_model/types.h instead.") + #pragma message("warning: urdf_world/types.h is deprecated. Please use urdf_model/types.hpp instead.") #else - #warning urdf_world/types.h is deprecated. Please use urdf_model/types.h instead. + #warning urdf_world/types.h is deprecated. Please use urdf_model/types.hpp instead. #endif -#include +#include #endif diff --git a/include/urdf_world/world.h b/include/urdf_world/world.h new file mode 100644 index 0000000..27d7441 --- /dev/null +++ b/include/urdf_world/world.h @@ -0,0 +1,40 @@ +/********************************************************************* +* Software License Agreement (BSD License) +* +* Copyright (c) 2008, Willow Garage, Inc. +* All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of the Willow Garage nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +* POSSIBILITY OF SUCH DAMAGE. +*********************************************************************/ + +#ifndef URDF_WORLD_H +#define URDF_WORLD_H + +#include + +#endif diff --git a/include/urdf_world/world.hpp b/include/urdf_world/world.hpp index 9bdc447..18cca54 100644 --- a/include/urdf_world/world.hpp +++ b/include/urdf_world/world.hpp @@ -67,8 +67,8 @@ */ -#ifndef URDF_WORLD_H -#define URDF_WORLD_H +#ifndef URDF_WORLD_HPP +#define URDF_WORLD_HPP #include #include From b4048abb0d65159747ad5d2a73508746a8735b0d Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Thu, 9 Apr 2026 09:26:50 +0200 Subject: [PATCH 3/4] Add deprecation notices Signed-off-by: Sai Kishor Kothakota --- include/urdf_exception/exception.h | 6 ++++++ include/urdf_model/color.h | 6 ++++++ include/urdf_model/joint.h | 6 ++++++ include/urdf_model/link.h | 6 ++++++ include/urdf_model/model.h | 6 ++++++ include/urdf_model/pose.h | 6 ++++++ include/urdf_model/twist.h | 6 ++++++ include/urdf_model/types.h | 6 ++++++ include/urdf_model/utils.h | 6 ++++++ include/urdf_sensor/sensor.h | 6 ++++++ include/urdf_sensor/types.h | 6 ++++++ include/urdf_world/types.h | 6 ++++++ include/urdf_world/world.h | 6 ++++++ 13 files changed, 78 insertions(+) diff --git a/include/urdf_exception/exception.h b/include/urdf_exception/exception.h index 2b6269a..8b086c9 100644 --- a/include/urdf_exception/exception.h +++ b/include/urdf_exception/exception.h @@ -35,6 +35,12 @@ #ifndef URDF_INTERFACE_EXCEPTION_H_ #define URDF_INTERFACE_EXCEPTION_H_ +#if defined(_MSC_VER) + #pragma message("warning: urdf_exception/exception.h is deprecated. Please use urdf_exception/exception.hpp instead.") +#else + #warning urdf_exception/exception.h is deprecated. Please use urdf_exception/exception.hpp instead. +#endif + #include #endif diff --git a/include/urdf_model/color.h b/include/urdf_model/color.h index 15b44df..2a38292 100644 --- a/include/urdf_model/color.h +++ b/include/urdf_model/color.h @@ -35,6 +35,12 @@ #ifndef URDF_INTERFACE_COLOR_H #define URDF_INTERFACE_COLOR_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_model/color.h is deprecated. Please use urdf_model/color.hpp instead.") +#else + #warning urdf_model/color.h is deprecated. Please use urdf_model/color.hpp instead. +#endif + #include #endif diff --git a/include/urdf_model/joint.h b/include/urdf_model/joint.h index b9cd303..495070b 100644 --- a/include/urdf_model/joint.h +++ b/include/urdf_model/joint.h @@ -35,6 +35,12 @@ #ifndef URDF_INTERFACE_JOINT_H #define URDF_INTERFACE_JOINT_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_model/joint.h is deprecated. Please use urdf_model/joint.hpp instead.") +#else + #warning urdf_model/joint.h is deprecated. Please use urdf_model/joint.hpp instead. +#endif + #include #endif diff --git a/include/urdf_model/link.h b/include/urdf_model/link.h index 0b7e7ac..8475ea9 100644 --- a/include/urdf_model/link.h +++ b/include/urdf_model/link.h @@ -35,6 +35,12 @@ #ifndef URDF_INTERFACE_LINK_H #define URDF_INTERFACE_LINK_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_model/link.h is deprecated. Please use urdf_model/link.hpp instead.") +#else + #warning urdf_model/link.h is deprecated. Please use urdf_model/link.hpp instead. +#endif + #include #endif diff --git a/include/urdf_model/model.h b/include/urdf_model/model.h index 63427e6..db85341 100644 --- a/include/urdf_model/model.h +++ b/include/urdf_model/model.h @@ -35,6 +35,12 @@ #ifndef URDF_INTERFACE_MODEL_H #define URDF_INTERFACE_MODEL_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_model/model.h is deprecated. Please use urdf_model/model.hpp instead.") +#else + #warning urdf_model/model.h is deprecated. Please use urdf_model/model.hpp instead. +#endif + #include #endif diff --git a/include/urdf_model/pose.h b/include/urdf_model/pose.h index 0535215..f284244 100644 --- a/include/urdf_model/pose.h +++ b/include/urdf_model/pose.h @@ -35,6 +35,12 @@ #ifndef URDF_INTERFACE_POSE_H #define URDF_INTERFACE_POSE_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_model/pose.h is deprecated. Please use urdf_model/pose.hpp instead.") +#else + #warning urdf_model/pose.h is deprecated. Please use urdf_model/pose.hpp instead. +#endif + #include #endif diff --git a/include/urdf_model/twist.h b/include/urdf_model/twist.h index b2ac3cd..d1ccf29 100644 --- a/include/urdf_model/twist.h +++ b/include/urdf_model/twist.h @@ -35,6 +35,12 @@ #ifndef URDF_TWIST_H #define URDF_TWIST_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_model/twist.h is deprecated. Please use urdf_model/twist.hpp instead.") +#else + #warning urdf_model/twist.h is deprecated. Please use urdf_model/twist.hpp instead. +#endif + #include #endif diff --git a/include/urdf_model/types.h b/include/urdf_model/types.h index 2b36458..91670e4 100644 --- a/include/urdf_model/types.h +++ b/include/urdf_model/types.h @@ -35,6 +35,12 @@ #ifndef URDF_MODEL_TYPES_H #define URDF_MODEL_TYPES_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_model/types.h is deprecated. Please use urdf_model/types.hpp instead.") +#else + #warning urdf_model/types.h is deprecated. Please use urdf_model/types.hpp instead. +#endif + #include #endif diff --git a/include/urdf_model/utils.h b/include/urdf_model/utils.h index 715b1ee..072a1fc 100644 --- a/include/urdf_model/utils.h +++ b/include/urdf_model/utils.h @@ -35,6 +35,12 @@ #ifndef URDF_INTERFACE_UTILS_H #define URDF_INTERFACE_UTILS_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_model/utils.h is deprecated. Please use urdf_model/utils.hpp instead.") +#else + #warning urdf_model/utils.h is deprecated. Please use urdf_model/utils.hpp instead. +#endif + #include #endif diff --git a/include/urdf_sensor/sensor.h b/include/urdf_sensor/sensor.h index f3852d0..2f82b48 100644 --- a/include/urdf_sensor/sensor.h +++ b/include/urdf_sensor/sensor.h @@ -35,6 +35,12 @@ #ifndef URDF_SENSOR_H #define URDF_SENSOR_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_sensor/sensor.h is deprecated. Please use urdf_sensor/sensor.hpp instead.") +#else + #warning urdf_sensor/sensor.h is deprecated. Please use urdf_sensor/sensor.hpp instead. +#endif + #include #endif diff --git a/include/urdf_sensor/types.h b/include/urdf_sensor/types.h index 52db598..6ea2ab7 100644 --- a/include/urdf_sensor/types.h +++ b/include/urdf_sensor/types.h @@ -35,6 +35,12 @@ #ifndef URDF_SENSOR_TYPES_H #define URDF_SENSOR_TYPES_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_sensor/types.h is deprecated. Please use urdf_sensor/types.hpp instead.") +#else + #warning urdf_sensor/types.h is deprecated. Please use urdf_sensor/types.hpp instead. +#endif + #include #endif diff --git a/include/urdf_world/types.h b/include/urdf_world/types.h index f035d9a..5fbc6c5 100644 --- a/include/urdf_world/types.h +++ b/include/urdf_world/types.h @@ -35,6 +35,12 @@ #ifndef URDF_WORLD_TYPES_H #define URDF_WORLD_TYPES_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_world/types.h is deprecated. Please use urdf_model/types.hpp instead.") +#else + #warning urdf_world/types.h is deprecated. Please use urdf_model/types.hpp instead. +#endif + #include #endif diff --git a/include/urdf_world/world.h b/include/urdf_world/world.h index 27d7441..d044aab 100644 --- a/include/urdf_world/world.h +++ b/include/urdf_world/world.h @@ -35,6 +35,12 @@ #ifndef URDF_WORLD_H #define URDF_WORLD_H +#if defined(_MSC_VER) + #pragma message("warning: urdf_world/world.h is deprecated. Please use urdf_world/world.hpp instead.") +#else + #warning urdf_world/world.h is deprecated. Please use urdf_world/world.hpp instead. +#endif + #include #endif From 65f6b2954fdf5959b98cb1f2c1ee6412e9ed8f60 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Fri, 17 Apr 2026 09:45:03 -0700 Subject: [PATCH 4/4] use urdf_model/types.hpp Signed-off-by: Steve Peters --- include/urdf_world/world.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/urdf_world/world.hpp b/include/urdf_world/world.hpp index 18cca54..3aabdbd 100644 --- a/include/urdf_world/world.hpp +++ b/include/urdf_world/world.hpp @@ -74,7 +74,7 @@ #include #include -#include "urdf_world/types.hpp" +#include "urdf_model/types.hpp" #include "urdf_model/pose.hpp" #include "urdf_model/twist.hpp"