Skip to content

Commit

Permalink
path_tracer: Better sizes of markers (so that artifact markers cover …
Browse files Browse the repository at this point in the history
…the whole 10 meter ball).

Correct report size is a little bit bigger so that it is always visible.
  • Loading branch information
peci1 committed Oct 26, 2020
1 parent 9846b5b commit ed4e42e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions subt_ign/src/path_tracer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down Expand Up @@ -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));
}
}

Expand Down

0 comments on commit ed4e42e

Please sign in to comment.