software/final/alf_car/src/slam/SlamMap.cpp
int SlamMap::getPixelX() {

    if (mapInitData_) {

        double pos_tmp = (getOriginPosX() - position_x);
        int pixel_x = (int) (pos_tmp / mapResolution_);
        pixel_x = -pixel_x;
        return pixel_x;
    }
}
/**
 *  get current x pixel position in map
 *
 * @return pixel_x: int
 */
get current x pixel position in map
@return pixel_x: int
get current x pixel position in map @return pixel_x : int
int SlamMap::getPixelX() {
    if (mapInitData_) {
        double pos_tmp = (getOriginPosX() - position_x);
        int pixel_x = (int) (pos_tmp / mapResolution_);
        pixel_x = -pixel_x;
        return pixel_x;
    }
}
int SlamMap :: getPixelX ( ) { if ( mapInitData_ ) { double pos_tmp = ( getOriginPosX ( ) - position_x ) ; int pixel_x = ( int ) ( pos_tmp / mapResolution_ ) ; pixel_x = - pixel_x ; return pixel_x ; } }
get current x pixel position in map
 @return pixel_x: int
get current x pixel position in map @return pixel_x : int