INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydroogmap::OgLosTracer Class Reference

Computes whether line-of-sight exists in an occupancy grid map. More...

#include <oglostracer.h>

List of all members.

Public Member Functions

bool isClearCells (const GridIndices &start, const GridIndices &intendedEnd, GridIndices &actualEnd)
bool isClearCells (const GridIndices &start, const GridIndices &intendedEnd)
bool isClearWorld (const WorldCoords &start, const WorldCoords &intendedEnd, WorldCoords &actualEnd)
 Similar to isClearCells, but specify endpoints in world coords.
bool isClearWorld (const WorldCoords &start, const WorldCoords &intendedEnd)
 Similar to isClearCells, but specify endpoints in world coords.

Detailed Description

Computes whether line-of-sight exists in an occupancy grid map.

Author:
Alex Brooks

Member Function Documentation

bool hydroogmap::OgLosTracer::isClearCells ( const GridIndices start,
const GridIndices intendedEnd 
) [inline]

Trace from start(x0,y0) to intendedEnd(x1,y1). Returns: true: we didn't hit an obstacle. false: we hit an obstacle or left the map.

References hydroogmap::MapRayTracer< MapType, MapCellTracer >::traceCells().

bool hydroogmap::OgLosTracer::isClearCells ( const GridIndices start,
const GridIndices intendedEnd,
GridIndices actualEnd 
) [inline]

Trace from start(x0,y0) to intendedEnd(x1,y1). Puts the point at which it stopped tracing in actualEnd(endX,endY). Returns: true: we didn't hit an obstacle. false: we hit an obstacle or left the map.

References hydroogmap::MapRayTracer< MapType, MapCellTracer >::traceCells().

Referenced by isClearWorld().


The documentation for this class was generated from the following file:
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5