source: flair-src/trunk/lib/FlairMeta/src/SimuUgv.cpp@ 451

Last change on this file since 451 was 435, checked in by Sanahuja Guillaume, 6 months ago

add logs to ugv

  • Property svn:eol-style set to native
File size: 983 bytes
RevLine 
[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
23using std::string;
24using namespace flair::core;
25using namespace flair::actuator;
26
27namespace flair {
28namespace meta {
29
30SimuUgv::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
39SimuUgv::~SimuUgv() {}
40
41void 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.