source: flair-src/trunk/lib/FlairSimulator/src/TwoWheelRobot.h@ 375

Last change on this file since 375 was 375, checked in by Sanahuja Guillaume, 3 years ago

update ugv

File size: 1.4 KB
RevLine 
[372]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/11/20
6// filename: TwoWheelRobot.h
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: classe definissant un TwoWheelRobot
14//
15/*********************************************************************/
16
17#ifndef TWOWHEELROBOT_H
18#define TWOWHEELROBOT_H
19
20#include <Model.h>
21
22namespace flair {
23namespace core {
24class Mutex;
25}
26namespace gui {
27class DoubleSpinBox;
28class SpinBox;
29}
30namespace actuator {
[375]31class SimuUgvControls;
[372]32}
33}
34
35#ifdef GL
36namespace irr {
37namespace scene {
38class IMesh;
39}
40}
41#endif
42
43namespace flair {
44namespace simulator {
45class Blade;
46
47class TwoWheelRobot : public Model {
48public:
49 TwoWheelRobot(std::string name, uint32_t modelId);
50 ~TwoWheelRobot();
51#ifdef GL
52 virtual void Draw(void);
53 virtual void ExtraDraw(void){};
54#endif
55
56private:
57 void CalcModel(void);
58#ifdef GL
59 void AnimateModel(void);
60 size_t dbtSize(void) const;
61 void WritedbtBuf(char *dbtbuf);
62 void ReaddbtBuf(char *dbtbuf);
63 irr::scene::IMesh *colored_body;
64#endif
65 gui::SpinBox *bodyColorR,*bodyColorG,*bodyColorB;
66 gui::DoubleSpinBox *size,*m;
[375]67 actuator::SimuUgvControls *controls;
[372]68
69
70};
71} // end namespace simulator
72} // end namespace flair
73#endif // TWOWHEELROBOT_H
Note: See TracBrowser for help on using the repository browser.