Skip to content

Commit

Permalink
fix(pacmod): fix include file name autoware_vehicle_info_utils (#80)
Browse files Browse the repository at this point in the history
* fix(pacmod): fix include

Signed-off-by: satoshi-ota <[email protected]>

* style(pre-commit): autofix

---------

Signed-off-by: satoshi-ota <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
satoshi-ota and pre-commit-ci[bot] authored Jun 10, 2024
1 parent 9af2a01 commit 329ebfd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#ifndef PACMOD_INTERFACE__PACMOD_INTERFACE_HPP_
#define PACMOD_INTERFACE__PACMOD_INTERFACE_HPP_

#include <autoware_vehicle_info_utils/vehicle_info_utils.hpp>
#include <rclcpp/rclcpp.hpp>
#include <tier4_api_utils/tier4_api_utils.hpp>
#include <vehicle_info_util/vehicle_info_util.hpp>

#include <autoware_control_msgs/msg/control.hpp>
#include <autoware_vehicle_msgs/msg/control_mode_report.hpp>
Expand Down Expand Up @@ -154,7 +154,7 @@ class PacmodInterface : public rclcpp::Node

double margin_time_for_gear_change_; // [s]

vehicle_info_util::VehicleInfo vehicle_info_;
autoware::vehicle_info_utils::VehicleInfo vehicle_info_;

// Service
tier4_api_utils::Service<tier4_external_api_msgs::srv::SetDoor>::SharedPtr srv_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#ifndef PACMOD_STEER_TEST__PACMOD_STEER_TEST_HPP_
#define PACMOD_STEER_TEST__PACMOD_STEER_TEST_HPP_

#include <autoware_vehicle_info_utils/vehicle_info_utils.hpp>
#include <rclcpp/rclcpp.hpp>
#include <vehicle_info_util/vehicle_info_util.hpp>

#include <autoware_vehicle_msgs/msg/control_mode_report.hpp>
#include <autoware_vehicle_msgs/msg/engage.hpp>
Expand Down Expand Up @@ -86,7 +86,7 @@ class PacmodSteerTest : public rclcpp::Node
rclcpp::Publisher<autoware_vehicle_msgs::msg::TurnIndicatorsReport>::SharedPtr
turn_signal_status_pub_;

vehicle_info_util::VehicleInfo vehicle_info_;
autoware::vehicle_info_utils::VehicleInfo vehicle_info_;
rclcpp::TimerBase::SharedPtr timer_;

/* ros param */
Expand Down
2 changes: 1 addition & 1 deletion pacmod_interface/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<buildtool_depend>ament_cmake_auto</buildtool_depend>

<depend>autoware_control_msgs</depend>
<depend>autoware_vehicle_info_utils</depend>
<depend>autoware_vehicle_msgs</depend>
<depend>can_msgs</depend>
<depend>diagnostic_updater</depend>
Expand All @@ -28,7 +29,6 @@
<depend>tier4_debug_msgs</depend>
<depend>tier4_external_api_msgs</depend>
<depend>tier4_vehicle_msgs</depend>
<depend>vehicle_info_util</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>
Expand Down
2 changes: 1 addition & 1 deletion pacmod_interface/src/pacmod_interface/pacmod_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

PacmodInterface::PacmodInterface()
: Node("pacmod_interface"),
vehicle_info_(vehicle_info_util::VehicleInfoUtil(*this).getVehicleInfo())
vehicle_info_(autoware::vehicle_info_utils::VehicleInfoUtils(*this).getVehicleInfo())
{
/* setup parameters */
base_frame_id_ = declare_parameter("base_frame_id", "base_link");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

PacmodSteerTest::PacmodSteerTest()
: Node("pacmod_steer_test"),
vehicle_info_(vehicle_info_util::VehicleInfoUtil(*this).getVehicleInfo())
vehicle_info_(autoware::vehicle_info_utils::VehicleInfoUtils(*this).getVehicleInfo())
{
/* setup parameters */
/* setup parameters */
Expand Down

0 comments on commit 329ebfd

Please sign in to comment.