00001 /* 00002 * TypeDefs.hpp 00003 * 00004 * Created on: March 18, 2014 00005 * Author: Péter Fankhauser 00006 * Institute: ETH Zurich, ANYbotics 00007 */ 00008 00009 // Eigen 00010 #include <Eigen/Core> 00011 00012 #pragma once 00013 00014 namespace grid_map { 00015 00016 typedef Eigen::MatrixXf Matrix; 00017 typedef Matrix::Scalar DataType; 00018 typedef Eigen::Vector2d Position; 00019 typedef Eigen::Vector2d Vector; 00020 typedef Eigen::Vector3d Position3; 00021 typedef Eigen::Vector3d Vector3; 00022 typedef Eigen::Array2i Index; 00023 typedef Eigen::Array2i Size; 00024 typedef Eigen::Array2d Length; 00025 typedef uint64_t Time; 00026 00027 enum class InterpolationMethods{ 00028 INTER_NEAREST, // nearest neighbor interpolation 00029 INTER_LINEAR // bilinear interpolation 00030 // ToDo: INTER_CUBIC 00031 }; 00032 00033 } /* namespace */