source: flair-src/trunk/lib/FlairSensorActuator/src/XBldc.cpp@ 10

Last change on this file since 10 was 3, checked in by Sanahuja Guillaume, 6 years ago

sensoractuator

File size: 912 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
18#include "XBldc.h"
19#include "XBldc_impl.h"
20
21using std::string;
22using namespace flair::core;
23using namespace flair::gui;
24
25namespace flair
26{
27namespace actuator
28{
29
30XBldc::XBldc(const IODevice* parent,Layout* layout,string name,I2cPort* i2cport) : Bldc(parent,layout,name,4) {
31 pimpl_=new XBldc_impl(this,i2cport);
32}
33
34XBldc::~XBldc() {
35 delete pimpl_;
36}
37
38void XBldc::SetMotors(float* value) {
39 pimpl_->SetMotors(value);
40}
41
42} // end namespace actuator
43} // end namespace flair
Note: See TracBrowser for help on using the repository browser.