diff options
Diffstat (limited to 'source/ct-Bot/include/sensor_correction.h')
-rw-r--r-- | source/ct-Bot/include/sensor_correction.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/source/ct-Bot/include/sensor_correction.h b/source/ct-Bot/include/sensor_correction.h new file mode 100644 index 0000000..bfc0411 --- /dev/null +++ b/source/ct-Bot/include/sensor_correction.h @@ -0,0 +1,39 @@ +/* + * c't-Sim - Robotersimulator fuer den c't-Bot + * + * This program is free software; you can redistribute it + * and/or modify it under the terms of the GNU General + * Public License as published by the Free Software + * Foundation; either version 2 of the License, or (at your + * option) any later version. + * This program is distributed in the hope that it will be + * useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the Free + * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307, USA. + * + */ + +/*! @file sensor_correction.h + * @brief Konstanten, um die Sensoren zu linearisieren + * @author Benjamin Benz (bbe@heise.de) + * @date 17.02.06 +*/ +#ifndef SENSOR_CORRECTION_H_ +#define SENSOR_CORRECTION_H_ + +#define SENSDISTSLOPELEFT 47478 /*!< Stuetzwert a fuer Linearisierung des linken Distanzsensors */ +#define SENSDISTOFFSETLEFT 50 /*!< Stuetzwert b fuer Linearisierung des linken Distanzsensors */ +#define SENSDISTSLOPERIGHT 54333 /*!< Stuetzwert a fuer Linearisierung des rechten Distanzsensors */ +#define SENSDISTOFFSETRIGHT 9 /*!< Stuetzwert b fuer Linearisierung des rechten Distanzsensors */ + + +/* Parameter fuer die IR-Sensoren*/ +#define SENS_IR_MAX_DIST 750 /*!< Obergrenze des Erfassungsbereichs */ +#define SENS_IR_INFINITE 999 /*!< Kennzeichnung fuer "kein Objekt im Erfassungsbereich" */ + + +#endif /*SENSOR_CORRECTION_H_*/ |