File tree 1 file changed +1
-2
lines changed
system/default_ad_api/src
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ void VehicleNode::publish_status()
167
167
{
168
168
if (
169
169
!steering_status_msgs_ || !gear_status_msgs_ || !turn_indicator_status_msgs_ ||
170
- !hazard_light_status_msgs_ || !energy_status_msgs_ )
170
+ !hazard_light_status_msgs_)
171
171
return ;
172
172
173
173
autoware_ad_api::vehicle::VehicleStatus::Message vehicle_status;
@@ -178,7 +178,6 @@ void VehicleNode::publish_status()
178
178
mapping (turn_indicator_type_, turn_indicator_status_msgs_->report , ApiTurnIndicator::UNKNOWN);
179
179
vehicle_status.hazard_lights .status =
180
180
mapping (hazard_light_type_, hazard_light_status_msgs_->report , ApiHazardLight::UNKNOWN);
181
- vehicle_status.energy_percentage = energy_status_msgs_->energy_level ;
182
181
pub_status_->publish (vehicle_status);
183
182
}
184
183
You can’t perform that action at this time.
0 commit comments