Nav2 Navigation Stack - kilted
kilted
ROS 2 Navigation Stack
|
Public Member Functions | |
LoSCollisionChecker (std::shared_ptr< nav2_costmap_2d::Costmap2D > costmap) | |
Constructor. More... | |
~LoSCollisionChecker ()=default | |
Destructor. | |
bool | worldToMap (const geometry_msgs::msg::Point &start, const geometry_msgs::msg::Point &end) |
Find the line segment in cosmap frame. More... | |
bool | isInCollision () |
Check if the line segment is in collision with the costmap. More... | |
Protected Attributes | |
std::shared_ptr< nav2_costmap_2d::Costmap2D > | costmap_ |
unsigned int | x0_ |
unsigned int | x1_ |
unsigned int | y0_ |
unsigned int | y1_ |
Definition at line 208 of file goal_intent_search.hpp.
|
inlineexplicit |
Constructor.
costmap | Costmap to check |
Definition at line 215 of file goal_intent_search.hpp.
|
inline |
Check if the line segment is in collision with the costmap.
Definition at line 245 of file goal_intent_search.hpp.
References nav2_util::LineIterator::advance(), nav2_util::LineIterator::getX(), nav2_util::LineIterator::getY(), and nav2_util::LineIterator::isValid().
Referenced by nav2_route::GoalIntentExtractor::findStartandGoal().
|
inline |
Find the line segment in cosmap frame.
start | Start point |
end | End point |
Definition at line 231 of file goal_intent_search.hpp.
Referenced by nav2_route::GoalIntentExtractor::findStartandGoal().