Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(steer_offset_estimator): add prefix autoware_ to steer_offset_estimator #7342

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ tools/reaction_analyzer/** berkay@leodrive.ai
vehicle/accel_brake_map_calibrator/** taiki.tanaka@tier4.jp takeshi.miura@tier4.jp tomoya.kimura@tier4.jp
vehicle/external_cmd_converter/** takamasa.horibe@tier4.jp
vehicle/raw_vehicle_cmd_converter/** makoto.kurihara@tier4.jp taiki.tanaka@tier4.jp takamasa.horibe@tier4.jp
vehicle/steer_offset_estimator/** taiki.tanaka@tier4.jp
vehicle/autoware_steer_offset_estimator/** taiki.tanaka@tier4.jp
vehicle/vehicle_info_util/** shumpei.wakabayashi@tier4.jp taiki.tanaka@tier4.jp tomoya.kimura@tier4.jp

### Copied from .github/CODEOWNERS-manual ###
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.5)
project(steer_offset_estimator)
project(autoware_steer_offset_estimator)

if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
Expand All @@ -18,7 +18,7 @@ ament_auto_add_library(steer_offset_estimator_node SHARED
)

rclcpp_components_register_node(steer_offset_estimator_node
PLUGIN "steer_offset_estimator::SteerOffsetEstimatorNode"
PLUGIN "autoware::steer_offset_estimator::SteerOffsetEstimatorNode"
EXECUTABLE steer_offset_estimator
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
#define STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
#ifndef AUTOWARE_STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
#define AUTOWARE_STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_

#include "diagnostic_updater/diagnostic_updater.hpp"
#include "rclcpp/rclcpp.hpp"
Expand All @@ -24,7 +24,7 @@

#include <memory>

namespace steer_offset_estimator
namespace autoware::steer_offset_estimator
{
using geometry_msgs::msg::TwistStamped;
using tier4_debug_msgs::msg::Float32Stamped;
Expand Down Expand Up @@ -64,6 +64,6 @@ class SteerOffsetEstimatorNode : public rclcpp::Node
public:
explicit SteerOffsetEstimatorNode(const rclcpp::NodeOptions & node_options);
};
} // namespace steer_offset_estimator
} // namespace autoware::steer_offset_estimator

#endif // STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
#endif // AUTOWARE_STEER_OFFSET_ESTIMATOR__STEER_OFFSET_ESTIMATOR_NODE_HPP_
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<launch>
<!-- Parameter -->
<arg name="config_file" default="$(find-pkg-share steer_offset_estimator)/config/steer_offset_estimator.param.yaml"/>
<arg name="config_file" default="$(find-pkg-share autoware_steer_offset_estimator)/config/steer_offset_estimator.param.yaml"/>

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

<!-- steer offset estimator -->
<node pkg="steer_offset_estimator" exec="steer_offset_estimator" name="steer_offset_estimator" output="screen">
<node pkg="autoware_steer_offset_estimator" exec="steer_offset_estimator" name="steer_offset_estimator" output="screen">
<param from="$(var config_file)"/>
<remap from="~/input/twist" to="$(var output_twist_topic)"/>
<remap from="~/input/steer" to="/vehicle/status/steering_status"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<package format="3">
<name>steer_offset_estimator</name>
<name>autoware_steer_offset_estimator</name>
<version>0.1.0</version>
<description>The steer_offset_estimator</description>
<maintainer email="taiki.tanaka@tier4.jp">Taiki Tanaka</maintainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "steer_offset_estimator/steer_offset_estimator_node.hpp"
#include "autoware_steer_offset_estimator/steer_offset_estimator_node.hpp"

#include "vehicle_info_util/vehicle_info_util.hpp"

#include <memory>
#include <utility>

namespace steer_offset_estimator
namespace autoware::steer_offset_estimator
{
SteerOffsetEstimatorNode::SteerOffsetEstimatorNode(const rclcpp::NodeOptions & node_options)
: Node("steer_offset_estimator", node_options)
Expand Down Expand Up @@ -137,7 +137,7 @@ void SteerOffsetEstimatorNode::onTimer()
pub_steer_offset_cov_->publish(std::move(cov_msg));
}
}
} // namespace steer_offset_estimator
} // namespace autoware::steer_offset_estimator

#include "rclcpp_components/register_node_macro.hpp"
RCLCPP_COMPONENTS_REGISTER_NODE(steer_offset_estimator::SteerOffsetEstimatorNode)
RCLCPP_COMPONENTS_REGISTER_NODE(autoware::steer_offset_estimator::SteerOffsetEstimatorNode)
Loading