Skip to content

Commit fcba24a

Browse files
style(pre-commit): autofix
1 parent e4f0a32 commit fcba24a

File tree

8 files changed

+14
-10
lines changed

8 files changed

+14
-10
lines changed

autoware_iv_internal_api_adaptor/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<buildtool_depend>autoware_cmake</buildtool_depend>
1212

1313
<depend>autoware_adapi_v1_msgs</depend>
14+
<depend>autoware_internal_planning_msgs</depend>
1415
<depend>autoware_perception_msgs</depend>
1516
<depend>autoware_planning_msgs</depend>
1617
<depend>autoware_system_msgs</depend>
@@ -25,7 +26,6 @@
2526
<depend>tier4_external_api_msgs</depend>
2627
<depend>tier4_localization_msgs</depend>
2728
<depend>tier4_perception_msgs</depend>
28-
<depend>autoware_internal_planning_msgs</depend>
2929
<depend>tier4_system_msgs</depend>
3030

3131
<test_depend>ament_lint_auto</test_depend>

autoware_iv_internal_api_adaptor/src/velocity.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ void Velocity::setVelocityLimit(
6363
response->status = tier4_api_utils::response_success();
6464
}
6565

66-
void Velocity::onVelocityLimit(const autoware_internal_planning_msgs::msg::VelocityLimit::SharedPtr msg)
66+
void Velocity::onVelocityLimit(
67+
const autoware_internal_planning_msgs::msg::VelocityLimit::SharedPtr msg)
6768
{
6869
// store the velocity for releasing the stop
6970
if (kVelocityEpsilon < msg->max_velocity) {

autoware_iv_internal_api_adaptor/src/velocity.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
#include <rclcpp/rclcpp.hpp>
1919
#include <tier4_api_utils/tier4_api_utils.hpp>
2020

21+
#include <autoware_internal_planning_msgs/msg/velocity_limit.hpp>
2122
#include <tier4_external_api_msgs/srv/pause_driving.hpp>
2223
#include <tier4_external_api_msgs/srv/set_velocity_limit.hpp>
23-
#include <autoware_internal_planning_msgs/msg/velocity_limit.hpp>
2424

2525
namespace internal_api
2626
{

awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_autoware_state_publisher.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ class AutowareIvAutowareStatePublisher
5858
const autoware_adapi_v1_msgs::msg::MrmState::ConstSharedPtr & mrm_state_ptr,
5959
tier4_api_msgs::msg::AwapiAutowareStatus * status);
6060
void getCurrentMaxVelInfo(
61-
const autoware_internal_planning_msgs::msg::VelocityLimit::ConstSharedPtr & current_max_velocity_ptr,
61+
const autoware_internal_planning_msgs::msg::VelocityLimit::ConstSharedPtr &
62+
current_max_velocity_ptr,
6263
tier4_api_msgs::msg::AwapiAutowareStatus * status);
6364
void getHazardStatusInfo(
6465
const AutowareInfo & aw_info, tier4_api_msgs::msg::AwapiAutowareStatus * status);

awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_autoware_util.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include <autoware_adapi_v1_msgs/msg/mrm_state.hpp>
2121
#include <autoware_control_msgs/msg/control.hpp>
22+
#include <autoware_internal_planning_msgs/msg/velocity_limit.hpp>
2223
#include <autoware_planning_msgs/msg/path.hpp>
2324
#include <autoware_planning_msgs/msg/trajectory.hpp>
2425
#include <autoware_system_msgs/msg/hazard_status_stamped.hpp>
@@ -37,7 +38,6 @@
3738
#include <tier4_planning_msgs/msg/is_avoidance_possible.hpp>
3839
#include <tier4_planning_msgs/msg/lane_change_status.hpp>
3940
#include <tier4_planning_msgs/msg/stop_reason_array.hpp>
40-
#include <autoware_internal_planning_msgs/msg/velocity_limit.hpp>
4141
#include <tier4_system_msgs/msg/autoware_state.hpp>
4242
#include <tier4_v2x_msgs/msg/infrastructure_command_array.hpp>
4343
#include <tier4_v2x_msgs/msg/virtual_traffic_light_state_array.hpp>

awapi_awiv_adapter/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<depend>autoware_adapi_v1_msgs</depend>
1414
<depend>autoware_control_msgs</depend>
15+
<depend>autoware_internal_planning_msgs</depend>
1516
<depend>autoware_planning_msgs</depend>
1617
<depend>autoware_system_msgs</depend>
1718
<depend>autoware_vehicle_msgs</depend>
@@ -31,7 +32,6 @@
3132
<depend>tier4_system_msgs</depend>
3233
<depend>tier4_v2x_msgs</depend>
3334
<depend>tier4_vehicle_msgs</depend>
34-
<depend>autoware_internal_planning_msgs</depend>
3535

3636
<exec_depend>tier4_perception_msgs</exec_depend>
3737
<exec_depend>topic_tools</exec_depend>

awapi_awiv_adapter/src/awapi_autoware_state_publisher.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ void AutowareIvAutowareStatePublisher::getEmergencyStateInfo(
114114
}
115115

116116
void AutowareIvAutowareStatePublisher::getCurrentMaxVelInfo(
117-
const autoware_internal_planning_msgs::msg::VelocityLimit::ConstSharedPtr & current_max_velocity_ptr,
117+
const autoware_internal_planning_msgs::msg::VelocityLimit::ConstSharedPtr &
118+
current_max_velocity_ptr,
118119
tier4_api_msgs::msg::AwapiAutowareStatus * status)
119120
{
120121
if (!current_max_velocity_ptr) {

awapi_awiv_adapter/src/awapi_awiv_adapter_core.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,10 @@ AutowareIvAdapter::AutowareIvAdapter()
116116
std::bind(&AutowareIvAdapter::callbackLaneObstacleAvoidCandidatePath, this, _1));
117117
sub_max_velocity_ = this->create_subscription<tier4_api_msgs::msg::VelocityLimit>(
118118
"input/max_velocity", 1, std::bind(&AutowareIvAdapter::callbackMaxVelocity, this, _1));
119-
sub_current_max_velocity_ = this->create_subscription<autoware_internal_planning_msgs::msg::VelocityLimit>(
120-
"input/current_max_velocity", durable_qos,
121-
std::bind(&AutowareIvAdapter::callbackCurrentMaxVelocity, this, _1));
119+
sub_current_max_velocity_ =
120+
this->create_subscription<autoware_internal_planning_msgs::msg::VelocityLimit>(
121+
"input/current_max_velocity", durable_qos,
122+
std::bind(&AutowareIvAdapter::callbackCurrentMaxVelocity, this, _1));
122123
sub_temporary_stop_ = this->create_subscription<tier4_api_msgs::msg::StopCommand>(
123124
"input/temporary_stop", 1, std::bind(&AutowareIvAdapter::callbackTemporaryStop, this, _1));
124125
sub_autoware_traj_ = this->create_subscription<autoware_planning_msgs::msg::Trajectory>(

0 commit comments

Comments
 (0)