ajout module_mouvement
Dependencies: mbed xbee_lib ADXL345_I2C IMUfilter ITG3200 Motor RangeFinder Servo mbos PID
Fork of Labo_TRSE_Drone by
Revision 12:046fa7050b47, committed 2013-03-20
- Comitter:
- Gaetan
- Date:
- Wed Mar 20 15:38:47 2013 +0000
- Parent:
- 10:c8d73680b9fd
- Child:
- 13:f0da50402025
- Commit message:
- Mod?le class
Changed in this revision
Module_Video/Module_Video.cpp | Show annotated file Show diff for this revision Revisions of this file |
Module_Video/Module_Video.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Module_Video/Module_Video.cpp Wed Mar 20 14:38:57 2013 +0000 +++ b/Module_Video/Module_Video.cpp Wed Mar 20 15:38:47 2013 +0000 @@ -15,4 +15,32 @@ * Description * Input * Output - */ \ No newline at end of file + */ + + #include "Module_Video.h" + + // Pointeur sur la classe systeme d'exploitation instancié dans le main + extern mbos *os; + + + /* CONSRTRUCTEUR(S) */ + ModuleVideo::ModuleVideo() + { + + } + + /* DESTRUCTEUR */ + ModuleVideo::~ModuleVideo() + { + + } + + /* Point d'entrée de la tache Module Video */ + void ModuleVideo::ModuleVideo_Task(void) + { + while(1){ + // Code + } + } + + \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Module_Video/Module_Video.h Wed Mar 20 15:38:47 2013 +0000 @@ -0,0 +1,45 @@ + /* Copyright (c) 2012 - 2013 AUTHEUR + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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 AUTHOR 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. + */ + + /* + * Description + * Input + * Output + */ + + #ifndef MODULE_VIDEO_H + #define MODULE_VIDEO_H + + #include "mbos.h" + + class ModuleVideo + { + private : + /* ATTRIBUTS */ + + public : + /* CONSTRUCTEUR(S) */ + ModuleVideo(); + + /* DESTRUCTEUR */ + ~ModuleVideo(); + + /* METHODES */ + /* Point d'entrée de la tache du Module Video */ + void ModuleVideo_Task(void); + + /* FONCTIONS */ + + }; + + #endif \ No newline at end of file