Fixed query format.

This commit is contained in:
Axel1092 2020-07-18 09:25:15 +02:00 committed by Axel1092
parent 68ede3c5d3
commit be4bf24ed8
1 changed files with 3 additions and 3 deletions

View File

@ -306,12 +306,12 @@ std::string CarlaRecorderQuery::QueryInfo(std::string Filename, bool bShowAll)
if (enabled_lights_list.size())
{
Info << " Id " << LightVehicle.DatabaseId << ": " <<
Info << " Id: " << LightVehicle.DatabaseId << " " <<
enabled_lights_list.substr(0, enabled_lights_list.size() - 1) << std::endl;
}
else
{
Info << " Id " << LightVehicle.DatabaseId << ": None" << std::endl;
Info << " Id: " << LightVehicle.DatabaseId << " None" << std::endl;
}
}
}
@ -496,7 +496,7 @@ std::string CarlaRecorderQuery::QueryInfo(std::string Filename, bool bShowAll)
count = 0;
for (auto& Wheel : Control.wheels)
{
Info << " wheel " << count << ": tire_friction " << Wheel.tire_friction
Info << " wheel " << count << ": tire_friction " << Wheel.tire_friction
<< " damping_rate " << Wheel.damping_rate
<< " max_steer_angle " << Wheel.max_steer_angle
<< " radius " << Wheel.radius