From ed4e42e70a453e647bb4c307eae19edcc2b9dbcc Mon Sep 17 00:00:00 2001 From: Martin Pecka Date: Mon, 26 Oct 2020 14:49:50 +0100 Subject: [PATCH] path_tracer: Better sizes of markers (so that artifact markers cover the whole 10 meter ball). Correct report size is a little bit bigger so that it is always visible. --- subt_ign/src/path_tracer.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subt_ign/src/path_tracer.cc b/subt_ign/src/path_tracer.cc index bc4634e3..3857b7d5 100644 --- a/subt_ign/src/path_tracer.cc +++ b/subt_ign/src/path_tracer.cc @@ -461,7 +461,7 @@ void Processor::DisplayArtifacts() this->SpawnMarker(this->artifactColors["artifact_location_color"], artifact.second.Pos(), ignition::msgs::Marker::SPHERE, - ignition::math::Vector3d(8, 8, 8)); + ignition::math::Vector3d(10, 10, 10)); } } @@ -604,13 +604,13 @@ void ReportData::Render(Processor *_p) { _p->SpawnMarker(_p->artifactColors["correct_report_color"], this->pos, ignition::msgs::Marker::SPHERE, - ignition::math::Vector3d(10, 10, 10)); + ignition::math::Vector3d(12, 12, 12)); } else { _p->SpawnMarker(_p->artifactColors["incorrect_report_color"], this->pos, - ignition::msgs::Marker::BOX, - ignition::math::Vector3d(4, 4, 4)); + ignition::msgs::Marker::SPHERE, + ignition::math::Vector3d(10, 10, 10)); } }