libnxter  0.1
RobotPrima.nxc
Go to the documentation of this file.
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3  RobotPrima.nxc
4  Copyright (C) 2008 Naba Kumar <naba@gnome.org>
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
25 #ifndef __ROBOT_PRIMA_H_
26 #define __ROBOT_PRIMA_H_
27 
28 #define PRIMA_WHEEL_DIAMETER 56 /* mm */
29 #define PRIMA_WHEEL_AXIAL_LENGTH 83 /* mm */
30 #define PRIMA_SAMPLING_RATE 100 /* msec */
31 #define PRIMA_WHEEL_GEAR_RATIO 100 /* 1:1 */
32 #define PRIMA_MAX_NAV_POINTS 20
33 
34 #define PRIMA_TOUCH_SENSOR IN_1
35 #define PRIMA_SOUND_SENSOR IN_2
36 #define PRIMA_LIGHT_SENSOR IN_3
37 #define PRIMA_RANGE_SENSOR IN_4
38 
39 #endif
40