Last change
on this file since 157 was 157, checked in by Sanahuja Guillaume, 6 years ago |
iadded isready to iodevice:
avoid problem of imu not ready in ardrone2
|
File size:
846 bytes
|
Rev | Line | |
---|
[3] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[3] | 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 |
|
---|
| 20 | using std::string;
|
---|
| 21 | using namespace flair::core;
|
---|
| 22 |
|
---|
[15] | 23 | namespace flair {
|
---|
| 24 | namespace sensor {
|
---|
[3] | 25 |
|
---|
[137] | 26 | Ps3Eye::Ps3Eye(string name, int camera_index,
|
---|
[15] | 27 | uint8_t priority)
|
---|
[137] | 28 | : V4LCamera( name, camera_index, 320, 240,
|
---|
[157] | 29 | cvimage::Type::Format::YUYV, priority) {
|
---|
| 30 | SetIsReady(true);
|
---|
| 31 | }
|
---|
[3] | 32 |
|
---|
[15] | 33 | Ps3Eye::~Ps3Eye() {}
|
---|
[3] | 34 |
|
---|
| 35 | } // end namespace sensor
|
---|
| 36 | } // end namespace flair
|
---|
Note:
See
TracBrowser
for help on using the repository browser.