software/final/alf_car/src/slam/SlamMap.cpp
void SlamMap::sendSlamMapThread(ServerSocket &sock) {

    std::vector<int> v;
    int nr = 1;

    while (Server::isConnected() && sendMap_) {
        std::cout << "Send map nr: " << nr <<std::endl;
        v = getMapData();
        sock.sending(v);
        sleep(5);
        nr++;
    }

}
/**
 * thread to send slam maps to gui
 *
 * @param sock: ServerSocket reference
 */
thread to send slam maps to gui
@param sock: ServerSocket reference
thread to send slam maps to gui @param sock : ServerSocket reference
void SlamMap::sendSlamMapThread(ServerSocket &sock) {
    std::vector<int> v;
    int nr = 1;
    while (Server::isConnected() && sendMap_) {
        std::cout << "Send map nr: " << nr <<std::endl;
        v = getMapData();
        sock.sending(v);
        sleep(5);
        nr++;
    }
}
void SlamMap :: sendSlamMapThread ( ServerSocket & sock ) { std :: vector < int > v ; int nr = 1 ; while ( Server :: isConnected ( ) && sendMap_ ) { std :: cout << " " << nr << std :: endl ; v = getMapData ( ) ; sock . sending ( v ) ; sleep ( 5 ) ; nr ++ ; } }
thread to send slam maps to gui
 @param sock: ServerSocket reference
thread to send slam maps to gui @param sock : ServerSocket reference