Last change
on this file since 463 was 435, checked in by Sanahuja Guillaume, 3 years ago |
add logs to ugv
|
-
Property svn:eol-style
set to
native
|
File size:
983 bytes
|
Rev | Line | |
---|
[377] | 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: 2020/12/16
|
---|
| 6 | // filename: SimuUgv.cpp
|
---|
| 7 | //
|
---|
| 8 | // author: Guillaume Sanahuja
|
---|
| 9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
| 10 | //
|
---|
| 11 | // version: $Id: $
|
---|
| 12 | //
|
---|
| 13 | // purpose: Class defining a simulation ugv
|
---|
| 14 | //
|
---|
| 15 | //
|
---|
| 16 | /*********************************************************************/
|
---|
| 17 | #ifdef CORE2_64
|
---|
| 18 |
|
---|
| 19 | #include "SimuUgv.h"
|
---|
| 20 | #include <SimulatedUgvControls.h>
|
---|
[435] | 21 | #include <FrameworkManager.h>
|
---|
[377] | 22 |
|
---|
| 23 | using std::string;
|
---|
| 24 | using namespace flair::core;
|
---|
| 25 | using namespace flair::actuator;
|
---|
| 26 |
|
---|
| 27 | namespace flair {
|
---|
| 28 | namespace meta {
|
---|
| 29 |
|
---|
| 30 | SimuUgv::SimuUgv(string name, uint32_t simu_id)
|
---|
| 31 | : Ugv(name) {
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | SetUgvControls(new SimulatedUgvControls("controls", simu_id,0));
|
---|
[435] | 35 | getFrameworkManager()->AddDeviceToLog(GetUgvControls());
|
---|
[377] | 36 |
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | SimuUgv::~SimuUgv() {}
|
---|
| 40 |
|
---|
| 41 | void SimuUgv::StartSensors(void) {
|
---|
| 42 |
|
---|
| 43 | }
|
---|
| 44 |
|
---|
| 45 |
|
---|
| 46 |
|
---|
| 47 | } // end namespace meta
|
---|
| 48 | } // end namespace flair
|
---|
| 49 |
|
---|
| 50 | #endif |
---|
Note:
See
TracBrowser
for help on using the repository browser.