source: flair-src/trunk/lib/FlairMeta/src/UavFactory.h@ 175

Last change on this file since 175 was 157, checked in by Sanahuja Guillaume, 8 years ago

iadded isready to iodevice:
avoid problem of imu not ready in ardrone2

File size: 845 bytes
RevLine 
[10]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[10]4// %flair:license}
[7]5// created: 2016/02/05
6// filename: UavFactory.cpp
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: construct a Uav based on the type name
14//
15//
16/*********************************************************************/
17
18#ifndef UAVFACTORY
19#define UAVFACTORY
20
21#include <Uav.h>
22
[157]23flair::meta::Uav *CreateUav(std::string name, std::string type,std::string options="",
[15]24 flair::filter::UavMultiplex *multiplex = NULL);
[7]25
[157]26void RegisterUavCreator(flair::meta::Uav*(*func)(std::string,std::string,std::string,
27 flair::filter::UavMultiplex*));
[7]28#endif // UAVFACTORY
Note: See TracBrowser for help on using the repository browser.