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

Last change on this file since 250 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
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
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
23flair::meta::Uav *CreateUav(std::string name, std::string type,std::string options="",
24 flair::filter::UavMultiplex *multiplex = NULL);
25
26void RegisterUavCreator(flair::meta::Uav*(*func)(std::string,std::string,std::string,
27 flair::filter::UavMultiplex*));
28#endif // UAVFACTORY
Note: See TracBrowser for help on using the repository browser.