Classes | Defines
cntronbase.h File Reference
#include <termios.h>
#include <string>
#include <time.h>
#include <vector>
#include <map>
Include dependency graph for cntronbase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CNTronBase
struct  CNTronNode
 Nanotron node info. More...
struct  CNTronRange
 Nanotron range data. More...

Defines

#define DEFAULT_ID   -1
#define GETBEACONS(AGE)   std::string("GetNodeIDList ") + #AGE + "\r\n"
#define MAX_AGE   100
#define MAX_NO_ACK   20
#define MAX_PENALIZATION_TIME   15
#define PENALIZACION   5
#define RANGETO(ID)   std::string("RangeTo ") + ID + "\r\n"
#define READNODEID   std::string("ReadNodeIDAdd\r\n")

Define Documentation

#define DEFAULT_ID   -1

Definition at line 45 of file cntronbase.h.

#define GETBEACONS (   AGE)    std::string("GetNodeIDList ") + #AGE + "\r\n"

Definition at line 50 of file cntronbase.h.

#define MAX_AGE   100

Software License Agreement (BSD License)

Copyright (c) 2013-2015 Robotics, Vision and Control Group (GRVC), University of Seville. 2013 Fernando Caballero <fcaballero@us.es> 2014 Felipe R.Fabresse <felramfab@us.es> 2014 Alfredo Vazquez <avringeniero@gmail.com> 2015 Felipe R.Fabresse <felramfab@gmail.com> All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 42 of file cntronbase.h.

#define MAX_NO_ACK   20

Definition at line 43 of file cntronbase.h.

#define MAX_PENALIZATION_TIME   15

Definition at line 47 of file cntronbase.h.

#define PENALIZACION   5

Definition at line 44 of file cntronbase.h.

#define RANGETO (   ID)    std::string("RangeTo ") + ID + "\r\n"

Definition at line 49 of file cntronbase.h.

#define READNODEID   std::string("ReadNodeIDAdd\r\n")

Definition at line 51 of file cntronbase.h.



nanotron_swarm
Author(s): Felipe Ramón Fabresse, Alfredo Vázquez Reyes, Fernando Caballero Benitez
autogenerated on Sat Jun 8 2019 20:36:48