Skip to content

Commit 84065c0

Browse files
authored
Check not null world_
1 parent c138d21 commit 84065c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

voxblox_ros/src/simulation_eval.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class SimulationServerImpl : public voxblox::SimulationServer {
1212
: SimulationServer(nh, nh_private) {}
1313

1414
void prepareWorld() {
15+
CHECK_NOTNULL(world_);
1516
world_->addObject(std::unique_ptr<Object>(
1617
new Sphere(Point(0.0, 0.0, 2.0), 2.0, Color::Red())));
1718

0 commit comments

Comments
 (0)