Last change
on this file since 38 was 15, checked in by Bayard Gildas, 9 years ago |
sources reformatted with flair-format-dir script
|
File size:
924 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: 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 |
|
---|
| 21 | using std::string;
|
---|
| 22 | using namespace flair::core;
|
---|
| 23 | using namespace flair::gui;
|
---|
| 24 |
|
---|
[15] | 25 | namespace flair {
|
---|
| 26 | namespace actuator {
|
---|
[3] | 27 |
|
---|
[15] | 28 | XBldc::XBldc(const IODevice *parent, Layout *layout, string name,
|
---|
| 29 | I2cPort *i2cport)
|
---|
| 30 | : Bldc(parent, layout, name, 4) {
|
---|
| 31 | pimpl_ = new XBldc_impl(this, i2cport);
|
---|
[3] | 32 | }
|
---|
| 33 |
|
---|
[15] | 34 | XBldc::~XBldc() { delete pimpl_; }
|
---|
[3] | 35 |
|
---|
[15] | 36 | void XBldc::SetMotors(float *value) { pimpl_->SetMotors(value); }
|
---|
[3] | 37 |
|
---|
| 38 | } // end namespace actuator
|
---|
| 39 | } // end namespace flair
|
---|
Note:
See
TracBrowser
for help on using the repository browser.