source: flair-src/trunk/lib/FlairSensorActuator/src/Ps3Eye.cpp@ 191

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

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

File size: 846 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: 2012/01/19
6// filename: Ps3Eye.cpp
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: objet integrant la camera Ps3Eye
14//
15//
16/*********************************************************************/
17
18#include "Ps3Eye.h"
19
20using std::string;
21using namespace flair::core;
22
23namespace flair {
24namespace sensor {
25
26Ps3Eye::Ps3Eye(string name, int camera_index,
27 uint8_t priority)
28 : V4LCamera( name, camera_index, 320, 240,
29 cvimage::Type::Format::YUYV, priority) {
30 SetIsReady(true);
31}
32
33Ps3Eye::~Ps3Eye() {}
34
35} // end namespace sensor
36} // end namespace flair
Note: See TracBrowser for help on using the repository browser.