From e6daf36fdbc754b950bdada21ec20ef095ecb7ea Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" Date: Wed, 12 Jun 2024 16:32:19 +0900 Subject: [PATCH] feat(default_ad_api): remove energy status 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); }