From 56b4316f9f6c6ad8480e6a19421b097d7976072d Mon Sep 17 00:00:00 2001 From: haller Date: Sat, 23 Apr 2005 20:49:04 +0000 Subject: Ajout de la classe Motor Gère les moteurs de déplacement du robot --- 2005/i/robert/src/motor/Makefile.defs | 7 +++++++ 2005/i/robert/src/motor/motor.cc | 25 +++++++++++++++++++++++++ 2005/i/robert/src/motor/motor.hh | 31 +++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 2005/i/robert/src/motor/Makefile.defs create mode 100644 2005/i/robert/src/motor/motor.cc create mode 100644 2005/i/robert/src/motor/motor.hh (limited to '2005/i') diff --git a/2005/i/robert/src/motor/Makefile.defs b/2005/i/robert/src/motor/Makefile.defs new file mode 100644 index 0000000..2491bb5 --- /dev/null +++ b/2005/i/robert/src/motor/Makefile.defs @@ -0,0 +1,7 @@ +PROGRAMS += test_motor + +motor_OBJECTS = motor.o + +test_motor_OBJECTS = test_motor.o $(motor_OBJECTS) + +test_motor: $(test_motor_OBJECTS) diff --git a/2005/i/robert/src/motor/motor.cc b/2005/i/robert/src/motor/motor.cc new file mode 100644 index 0000000..6809acd --- /dev/null +++ b/2005/i/robert/src/motor/motor.cc @@ -0,0 +1,25 @@ +// motor.cc +// robert - programme du robot 2005 {{{ +// +// Copyright (C) 2005 Nicolas Haller +// +// Robot APB Team/Efrei 2005. +// Web: http://assos.efrei.fr/robot/ +// Email: robot AT efrei DOT fr +// +// 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. +// +// }}} + diff --git a/2005/i/robert/src/motor/motor.hh b/2005/i/robert/src/motor/motor.hh new file mode 100644 index 0000000..c052c6b --- /dev/null +++ b/2005/i/robert/src/motor/motor.hh @@ -0,0 +1,31 @@ +#ifndef motor_hh +#define motor_hh +// motor.hh +// robert - programme du robot 2005 {{{ +// +// Copyright (C) 2005 Nicolas Haller +// +// Robot APB Team/Efrei 2005. +// Web: http://assos.efrei.fr/robot/ +// Email: robot AT efrei DOT fr +// +// 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. +// +// }}} + +class Motor +{ +} +#endif // motor.hh -- cgit v1.2.3