Last change
on this file since 382 was 268, checked in by Sanahuja Guillaume, 6 years ago |
add defines for architectures to speed up compile time
|
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 |
|
---|
22 | using std::string;
|
---|
23 | using namespace flair::core;
|
---|
24 | using namespace flair::gui;
|
---|
25 |
|
---|
26 | namespace flair {
|
---|
27 | namespace actuator {
|
---|
28 |
|
---|
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);
|
---|
33 |
|
---|
34 | SetIsReady(true);
|
---|
35 | }
|
---|
36 |
|
---|
37 | XBldc::~XBldc() { delete pimpl_; }
|
---|
38 |
|
---|
39 | void 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.