Projet Drone de surveillance du labo TRSE (INGESUP)

Dependencies:   mbed PID ADXL345 Camera_LS_Y201 ITG3200 RangeFinder mbos xbee_lib Motor Servo

Committer:
Gaetan
Date:
Wed Mar 19 11:01:10 2014 +0000
Revision:
36:1bbd2fb7d2c8
Parent:
34:4466839f5bb7
Checksum correct pour l'envoi de n'importe quel message Mavlink. Reste ? g?rer la reception de messages

Who changed what in which revision?

UserRevisionLine numberNew contents of line
IngesupMbed01 19:a05cd42f8e91 1 /* Copyright (c) 2012 - 2013 AUTEUR
IngesupMbed01 19:a05cd42f8e91 2 *
IngesupMbed01 19:a05cd42f8e91 3 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
IngesupMbed01 19:a05cd42f8e91 4 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
IngesupMbed01 19:a05cd42f8e91 5 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
IngesupMbed01 19:a05cd42f8e91 6 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
IngesupMbed01 19:a05cd42f8e91 7 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
IngesupMbed01 19:a05cd42f8e91 8 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
IngesupMbed01 19:a05cd42f8e91 9 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
IngesupMbed01 19:a05cd42f8e91 10 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
IngesupMbed01 19:a05cd42f8e91 11 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
IngesupMbed01 19:a05cd42f8e91 12 */
IngesupMbed01 19:a05cd42f8e91 13
IngesupMbed01 19:a05cd42f8e91 14 /*
IngesupMbed01 19:a05cd42f8e91 15 * Description : Cette classe contient les fonctionnalités que pourraient exploiter plusieurs classes
IngesupMbed01 19:a05cd42f8e91 16 * Input
IngesupMbed01 19:a05cd42f8e91 17 * Output
IngesupMbed01 19:a05cd42f8e91 18 */
IngesupMbed01 19:a05cd42f8e91 19
IngesupMbed01 19:a05cd42f8e91 20 #include "Service.h"
Gaetan 34:4466839f5bb7 21 #include "mbed.h"
IngesupMbed01 19:a05cd42f8e91 22
IngesupMbed01 31:ec7d635636bf 23 unsigned int COMMANDE_TRAJECTOIRE;
IngesupMbed01 31:ec7d635636bf 24 unsigned int NIVEAU_BATTERIE;
IngesupMbed01 31:ec7d635636bf 25 bool STOP = false;
IngesupMbed01 31:ec7d635636bf 26 bool EN_MOUVEMENT = false;
IngesupMbed01 31:ec7d635636bf 27 position COORDONNEE_DRONE;
IngesupMbed01 31:ec7d635636bf 28 position DONNEE_GYROSCOPE;
IngesupMbed01 31:ec7d635636bf 29 position DONNEE_ACCELEROMETRE;
Gaetan 34:4466839f5bb7 30 //Serial pc(USBTX, USBRX);
IngesupMbed01 31:ec7d635636bf 31
IngesupMbed01 19:a05cd42f8e91 32 /* CONSRTRUCTEUR(S) */
IngesupMbed01 19:a05cd42f8e91 33 C_Service::C_Service()
IngesupMbed01 19:a05cd42f8e91 34 {
IngesupMbed01 19:a05cd42f8e91 35
IngesupMbed01 19:a05cd42f8e91 36 }
IngesupMbed01 19:a05cd42f8e91 37
IngesupMbed01 19:a05cd42f8e91 38 /* DESTRUCTEUR */
IngesupMbed01 19:a05cd42f8e91 39 C_Service::~C_Service()
IngesupMbed01 19:a05cd42f8e91 40 {
IngesupMbed01 19:a05cd42f8e91 41
IngesupMbed01 19:a05cd42f8e91 42 }