Last change
on this file since 378 was 268, checked in by Sanahuja Guillaume, 6 years ago |
add defines for architectures to speed up compile time
|
File size:
968 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 | /*********************************************************************/
|
---|
[268] | 17 | #ifdef ARMV7A
|
---|
[3] | 18 |
|
---|
| 19 | #include "XBldc.h"
|
---|
| 20 | #include "XBldc_impl.h"
|
---|
| 21 |
|
---|
| 22 | using std::string;
|
---|
| 23 | using namespace flair::core;
|
---|
| 24 | using namespace flair::gui;
|
---|
| 25 |
|
---|
[15] | 26 | namespace flair {
|
---|
| 27 | namespace actuator {
|
---|
[3] | 28 |
|
---|
[15] | 29 | XBldc::XBldc(const IODevice *parent, Layout *layout, string name,
|
---|
| 30 | I2cPort *i2cport)
|
---|
| 31 | : Bldc(parent, layout, name, 4) {
|
---|
| 32 | pimpl_ = new XBldc_impl(this, i2cport);
|
---|
[157] | 33 |
|
---|
| 34 | SetIsReady(true);
|
---|
[3] | 35 | }
|
---|
| 36 |
|
---|
[15] | 37 | XBldc::~XBldc() { delete pimpl_; }
|
---|
[3] | 38 |
|
---|
[15] | 39 | void XBldc::SetMotors(float *value) { pimpl_->SetMotors(value); }
|
---|
[3] | 40 |
|
---|
| 41 | } // end namespace actuator
|
---|
| 42 | } // end namespace flair
|
---|
[268] | 43 |
|
---|
| 44 | #endif |
---|
Note:
See
TracBrowser
for help on using the repository browser.