$search

file.cpp File Reference

#include <occupancy_grid_utils/file.h>
#include <tf/transform_datatypes.h>
#include <nav_msgs/GetMap.h>
#include <cstring>
#include <stdexcept>
#include <stdlib.h>
#include <stdio.h>
#include <SDL/SDL_image.h>
#include "LinearMath/btMatrix3x3.h"
Include dependency graph for file.cpp:

Go to the source code of this file.

Namespaces

namespace  occupancy_grid_utils

Defines

#define MAP_IDX(sx, i, j)   ((sx) * (j) + (i))

Functions

nav_msgs::OccupancyGrid::Ptr occupancy_grid_utils::loadGrid (const std::string &fname, double resolution=1.0, const geometry_msgs::Pose &origin=identityPose())
 Load an occ grid from an image file.
void occupancy_grid_utils::loadMapFromFile (nav_msgs::GetMap::Response *resp, const char *fname, double res, bool negate, double occ_th, double free_th, double *origin)

Detailed Description

Implementation of file ops

Author:
Bhaskara Marthi

Definition in file file.cpp.


Define Documentation

#define MAP_IDX ( sx,
i,
 )     ((sx) * (j) + (i))

Definition at line 68 of file file.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


occupancy_grid_utils
Author(s): Bhaskara Marthi
autogenerated on Fri Mar 1 16:19:37 2013