Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai>
  • Loading branch information
arjo129 committed Feb 22, 2023
1 parent 77f5472 commit 882edbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class EnvironmentVisualizationTool
const EntityComponentManager &_ecm)
{
auto world = worldEntity(_ecm);
auto topic =
auto topic =
common::joinPaths(
scopedName(world, _ecm),"environment/visualize/res");
std::lock_guard<std::mutex> lock(this->mutex);
Expand Down
1 change: 0 additions & 1 deletion src/systems/environment_preload/EnvironmentPreload.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ class gz::sim::systems::EnvironmentPreloadPrivate
this->samples = converted;
this->visualize = true;
this->visualizationPtr->resample = true;

}

public: void ReadSdf(EntityComponentManager &_ecm)
Expand Down
6 changes: 3 additions & 3 deletions src/systems/environment_preload/VisualizationTool.hh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class EnvironmentVisualizationTool
/////////////////////////////////////////////////
public: void CreatePointCloudTopics(
std::shared_ptr<components::EnvironmentalData> data) {

this->pubs.clear();
this->sessions.clear();

Expand Down Expand Up @@ -101,7 +101,7 @@ class EnvironmentVisualizationTool
this->CreatePointCloudTopics(data);
this->ResizeCloud(data, _ecm, xSamples, ySamples, zSamples);
this->resample = false;
this->lastTick = now;
this->lastTick = now;
}

for (auto &it : this->sessions)
Expand All @@ -113,7 +113,7 @@ class EnvironmentVisualizationTool
{
it.second = res.value();
}
else
else
{
this->finishedTime = true;
return;
Expand Down

0 comments on commit 882edbe

Please sign in to comment.