Skip to content

Commit

Permalink
gazebo_octomap_plugin.cpp: fixed the variable name in objects_in_coll…
Browse files Browse the repository at this point in the history
…ision.insert
  • Loading branch information
ffurrer committed Jan 6, 2015
1 parent 77a46a1 commit dc90fec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mav_gazebo_plugins/src/gazebo_octomap_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* Copyright (C) 2014 Sammy Omari, ASL, ETH Zurich, Switzerland
* Copyright (C) 2014 Markus Achtelik, ASL, ETH Zurich, Switzerland
*
* This software is released to the Contestants of the european
* robotics challenges (EuRoC) for the use in stage 1. (Re)-distribution, whether
* in parts or entirely, is NOT PERMITTED.
*
* This software is released to the Contestants of the european
* robotics challenges (EuRoC) for the use in stage 1. (Re)-distribution, whether
* in parts or entirely, is NOT PERMITTED.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down Expand Up @@ -229,7 +229,7 @@ void OctomapFromGazeboWorld::CreateOctomap(const planning_msgs::Octomap::Request

// Set in_object to true, if currently in an object
if (!entity_name_backwards.empty() && inside_object) {
objects_in_collision.insert(std::pair<std::string, bool>(entity_name, true));
objects_in_collision.insert(std::pair<std::string, bool>(entity_name_backwards, true));
}

// Set the end of the ray to the end of the bounding box
Expand Down

0 comments on commit dc90fec

Please sign in to comment.