Skip to content

Commit

Permalink
compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
  • Loading branch information
isamu-takagi committed Mar 6, 2025
1 parent 31d48c2 commit 94678a3
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 0 deletions.
28 changes: 28 additions & 0 deletions autoware_utils/include/autoware_utils/ros/debug_publisher.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright 2025 The Autoware Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_UTILS__ROS__DEBUG_PUBLISHER_HPP_
#define AUTOWARE_UTILS__ROS__DEBUG_PUBLISHER_HPP_

// NOLINTBEGIN(build/namespaces, whitespace/line_length)
// clang-format off

#pragma message("#include <autoware_utils/ros/debug_publisher.hpp> is deprecated. Use #include <autoware_utils_debug/debug_publisher.hpp> instead.")
#include <autoware_utils_debug/debug_publisher.hpp>
namespace autoware_utils { using namespace autoware_utils_debug; }

// clang-format on
// NOLINTEND

#endif // AUTOWARE_UTILS__ROS__DEBUG_PUBLISHER_HPP_
28 changes: 28 additions & 0 deletions autoware_utils/include/autoware_utils/ros/debug_traits.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright 2025 The Autoware Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_UTILS__ROS__DEBUG_TRAITS_HPP_
#define AUTOWARE_UTILS__ROS__DEBUG_TRAITS_HPP_

// NOLINTBEGIN(build/namespaces, whitespace/line_length)
// clang-format off

#pragma message("#include <autoware_utils/ros/debug_traits.hpp> is deprecated. Use #include <autoware_utils_debug/debug_traits.hpp> instead.")
#include <autoware_utils_debug/debug_traits.hpp>
namespace autoware_utils { using namespace autoware_utils_debug; }

// clang-format on
// NOLINTEND

#endif // AUTOWARE_UTILS__ROS__DEBUG_TRAITS_HPP_
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright 2025 The Autoware Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_UTILS__ROS__PROCESSING_TIME_PUBLISHER_HPP_
#define AUTOWARE_UTILS__ROS__PROCESSING_TIME_PUBLISHER_HPP_

// NOLINTBEGIN(build/namespaces, whitespace/line_length)
// clang-format off

#pragma message("#include <autoware_utils/ros/processing_time_publisher.hpp> is deprecated. Use #include <autoware_utils_debug/processing_time_publisher.hpp> instead.")
#include <autoware_utils_debug/processing_time_publisher.hpp>
namespace autoware_utils { using namespace autoware_utils_debug; }

// clang-format on
// NOLINTEND

#endif // AUTOWARE_UTILS__ROS__PROCESSING_TIME_PUBLISHER_HPP_
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright 2025 The Autoware Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_UTILS__ROS__PUBLISHED_TIME_PUBLISHER_HPP_
#define AUTOWARE_UTILS__ROS__PUBLISHED_TIME_PUBLISHER_HPP_

// NOLINTBEGIN(build/namespaces, whitespace/line_length)
// clang-format off

#pragma message("#include <autoware_utils/ros/published_time_publisher.hpp> is deprecated. Use #include <autoware_utils_debug/published_time_publisher.hpp> instead.")
#include <autoware_utils_debug/published_time_publisher.hpp>
namespace autoware_utils { using namespace autoware_utils_debug; }

// clang-format on
// NOLINTEND

#endif // AUTOWARE_UTILS__ROS__PUBLISHED_TIME_PUBLISHER_HPP_
28 changes: 28 additions & 0 deletions autoware_utils/include/autoware_utils/system/time_keeper.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright 2025 The Autoware Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_UTILS__SYSTEM__TIME_KEEPER_HPP_
#define AUTOWARE_UTILS__SYSTEM__TIME_KEEPER_HPP_

// NOLINTBEGIN(build/namespaces, whitespace/line_length)
// clang-format off

#pragma message("#include <autoware_utils/system/time_keeper.hpp> is deprecated. Use #include <autoware_utils_debug/time_keeper.hpp> instead.")
#include <autoware_utils_debug/time_keeper.hpp>
namespace autoware_utils { using namespace autoware_utils_debug; }

// clang-format on
// NOLINTEND

#endif // AUTOWARE_UTILS__SYSTEM__TIME_KEEPER_HPP_
1 change: 1 addition & 0 deletions autoware_utils/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<depend>autoware_internal_planning_msgs</depend>
<depend>autoware_perception_msgs</depend>
<depend>autoware_planning_msgs</depend>
<depend>autoware_utils_debug</depend>
<depend>autoware_utils_geometry</depend>
<depend>autoware_utils_logging</depend>
<depend>autoware_utils_math</depend>
Expand Down

0 comments on commit 94678a3

Please sign in to comment.