From be4bf24ed81a3f46a8cf6147dc10bf5cea06be49 Mon Sep 17 00:00:00 2001 From: Axel1092 Date: Sat, 18 Jul 2020 09:25:15 +0200 Subject: [PATCH] Fixed query format. --- .../Carla/Source/Carla/Recorder/CarlaRecorderQuery.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorderQuery.cpp b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorderQuery.cpp index 8b731df5b..b715cbfa9 100644 --- a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorderQuery.cpp +++ b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorderQuery.cpp @@ -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