Skip to content

Commit 321e1c7

Browse files
authored
chore(steer_offset_estimator): add prefix autoware_ to steer_offset_estimator (#7342)
* add perfix Signed-off-by: Go Sakayori <gsakayori@gmail.com> * fix directory structrue Signed-off-by: Go Sakayori <gsakayori@gmail.com> * fix include guard Signed-off-by: Go Sakayori <gsakayori@gmail.com> --------- Signed-off-by: Go Sakayori <gsakayori@gmail.com>
1 parent ce1a86a commit 321e1c7

11 files changed

+15
-15
lines changed

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ tools/reaction_analyzer/** berkay@leodrive.ai
242242
vehicle/accel_brake_map_calibrator/** taiki.tanaka@tier4.jp takeshi.miura@tier4.jp tomoya.kimura@tier4.jp
243243
vehicle/external_cmd_converter/** takamasa.horibe@tier4.jp
244244
vehicle/raw_vehicle_cmd_converter/** makoto.kurihara@tier4.jp taiki.tanaka@tier4.jp takamasa.horibe@tier4.jp
245-
vehicle/steer_offset_estimator/** taiki.tanaka@tier4.jp
245+
vehicle/autoware_steer_offset_estimator/** taiki.tanaka@tier4.jp
246246
vehicle/vehicle_info_util/** shumpei.wakabayashi@tier4.jp taiki.tanaka@tier4.jp tomoya.kimura@tier4.jp
247247

248248
### Copied from .github/CODEOWNERS-manual ###

vehicle/steer_offset_estimator/CMakeLists.txt vehicle/autoware_steer_offset_estimator/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
2-
project(steer_offset_estimator)
2+
project(autoware_steer_offset_estimator)
33

44
if(NOT CMAKE_CXX_STANDARD)
55
set(CMAKE_CXX_STANDARD 14)
@@ -18,7 +18,7 @@ ament_auto_add_library(steer_offset_estimator_node SHARED
1818
)
1919

2020
rclcpp_components_register_node(steer_offset_estimator_node
21-
PLUGIN "steer_offset_estimator::SteerOffsetEstimatorNode"
21+
PLUGIN "autoware::steer_offset_estimator::SteerOffsetEstimatorNode"
2222
EXECUTABLE steer_offset_estimator
2323
)
2424

vehicle/steer_offset_estimator/include/steer_offset_estimator/steer_offset_estimator_node.hpp vehicle/autoware_steer_offset_estimator/include/autoware_steer_offset_estimator/steer_offset_estimator_node.hpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
16-
#define STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
15+
#ifndef AUTOWARE_STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
16+
#define AUTOWARE_STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
1717

1818
#include "diagnostic_updater/diagnostic_updater.hpp"
1919
#include "rclcpp/rclcpp.hpp"
@@ -24,7 +24,7 @@
2424

2525
#include <memory>
2626

27-
namespace steer_offset_estimator
27+
namespace autoware::steer_offset_estimator
2828
{
2929
using geometry_msgs::msg::TwistStamped;
3030
using tier4_debug_msgs::msg::Float32Stamped;
@@ -64,6 +64,6 @@ class SteerOffsetEstimatorNode : public rclcpp::Node
6464
public:
6565
explicit SteerOffsetEstimatorNode(const rclcpp::NodeOptions & node_options);
6666
};
67-
} // namespace steer_offset_estimator
67+
} // namespace autoware::steer_offset_estimator
6868

69-
#endif // STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
69+
#endif // AUTOWARE_STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_

vehicle/steer_offset_estimator/launch/steer_offset_estimator.launch.xml vehicle/autoware_steer_offset_estimator/launch/steer_offset_estimator.launch.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<launch>
22
<!-- Parameter -->
3-
<arg name="config_file" default="$(find-pkg-share steer_offset_estimator)/config/steer_offset_estimator.param.yaml"/>
3+
<arg name="config_file" default="$(find-pkg-share autoware_steer_offset_estimator)/config/steer_offset_estimator.param.yaml"/>
44

55
<!-- get wheel base from vehicle info -->
66
<include file="$(find-pkg-share global_parameter_loader)/launch/global_params.launch.py"/>
@@ -12,7 +12,7 @@
1212
</include>
1313

1414
<!-- steer offset estimator -->
15-
<node pkg="steer_offset_estimator" exec="steer_offset_estimator" name="steer_offset_estimator" output="screen">
15+
<node pkg="autoware_steer_offset_estimator" exec="steer_offset_estimator" name="steer_offset_estimator" output="screen">
1616
<param from="$(var config_file)"/>
1717
<remap from="~/input/twist" to="$(var output_twist_topic)"/>
1818
<remap from="~/input/steer" to="/vehicle/status/steering_status"/>

vehicle/steer_offset_estimator/package.xml vehicle/autoware_steer_offset_estimator/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<package format="3">
3-
<name>steer_offset_estimator</name>
3+
<name>autoware_steer_offset_estimator</name>
44
<version>0.1.0</version>
55
<description>The steer_offset_estimator</description>
66
<maintainer email="taiki.tanaka@tier4.jp">Taiki Tanaka</maintainer>

vehicle/steer_offset_estimator/src/steer_offset_estimator_node.cpp vehicle/autoware_steer_offset_estimator/src/steer_offset_estimator_node.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "steer_offset_estimator/steer_offset_estimator_node.hpp"
15+
#include "autoware_steer_offset_estimator/steer_offset_estimator_node.hpp"
1616

1717
#include "vehicle_info_util/vehicle_info_util.hpp"
1818

1919
#include <memory>
2020
#include <utility>
2121

22-
namespace steer_offset_estimator
22+
namespace autoware::steer_offset_estimator
2323
{
2424
SteerOffsetEstimatorNode::SteerOffsetEstimatorNode(const rclcpp::NodeOptions & node_options)
2525
: Node("steer_offset_estimator", node_options)
@@ -137,7 +137,7 @@ void SteerOffsetEstimatorNode::onTimer()
137137
pub_steer_offset_cov_->publish(std::move(cov_msg));
138138
}
139139
}
140-
} // namespace steer_offset_estimator
140+
} // namespace autoware::steer_offset_estimator
141141

142142
#include "rclcpp_components/register_node_macro.hpp"
143-
RCLCPP_COMPONENTS_REGISTER_NODE(steer_offset_estimator::SteerOffsetEstimatorNode)
143+
RCLCPP_COMPONENTS_REGISTER_NODE(autoware::steer_offset_estimator::SteerOffsetEstimatorNode)

0 commit comments

Comments
 (0)