From be75f1b57d963e27a2d214b07052dd91b4dc200f Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" <43976882+isamu-takagi@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:20:13 +0900 Subject: [PATCH] feat(default_ad_api): remove energy status (#7464) Signed-off-by: Takagi, Isamu --- system/default_ad_api/src/vehicle.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/default_ad_api/src/vehicle.cpp b/system/default_ad_api/src/vehicle.cpp index e25933e6ca2ad..47932f969c172 100644 --- a/system/default_ad_api/src/vehicle.cpp +++ b/system/default_ad_api/src/vehicle.cpp @@ -167,7 +167,7 @@ void VehicleNode::publish_status() { if ( !steering_status_msgs_ || !gear_status_msgs_ || !turn_indicator_status_msgs_ || - !hazard_light_status_msgs_ || !energy_status_msgs_) + !hazard_light_status_msgs_) return; autoware_ad_api::vehicle::VehicleStatus::Message vehicle_status; @@ -178,7 +178,6 @@ void VehicleNode::publish_status() mapping(turn_indicator_type_, turn_indicator_status_msgs_->report, ApiTurnIndicator::UNKNOWN); vehicle_status.hazard_lights.status = mapping(hazard_light_type_, hazard_light_status_msgs_->report, ApiHazardLight::UNKNOWN); - vehicle_status.energy_percentage = energy_status_msgs_->energy_level; pub_status_->publish(vehicle_status); }