source: flair-src/branches/sanscv/lib/FlairSensorActuator/src/XBldc.cpp@ 469

Last change on this file since 469 was 324, checked in by Sanahuja Guillaume, 5 years ago

removing opencv dependency

File size: 968 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: 2013/11/13
6// filename: XBldc.cpp
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: Class for Xufo Bldc
14//
15//
16/*********************************************************************/
17#ifdef ARMV7A
18
19#include "XBldc.h"
20#include "XBldc_impl.h"
21
22using std::string;
23using namespace flair::core;
24using namespace flair::gui;
25
26namespace flair {
27namespace actuator {
28
29XBldc::XBldc(const IODevice *parent, Layout *layout, string name,
30 I2cPort *i2cport)
31 : Bldc(parent, layout, name, 4) {
32 pimpl_ = new XBldc_impl(this, i2cport);
33
34 SetIsReady(true);
35}
36
37XBldc::~XBldc() { delete pimpl_; }
38
39void XBldc::SetMotors(float *value) { pimpl_->SetMotors(value); }
40
41} // end namespace actuator
42} // end namespace flair
43
44#endif
Note: See TracBrowser for help on using the repository browser.