Last change
on this file since 409 was 378, checked in by Sanahuja Guillaume, 4 years ago |
up ugv
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
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 | /*!
|
---|
6 | * \file SumoUgvControls.h
|
---|
7 | * \brief Class for a parrot sumo ugv controls
|
---|
8 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
9 | * \date 2020/12/09
|
---|
10 | * \version 4.0
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef SUMOUGVCONTROLS_H
|
---|
14 | #define SUMOUGVCONTROLS_H
|
---|
15 |
|
---|
16 | #include <UgvControls.h>
|
---|
17 |
|
---|
18 | namespace sumo {
|
---|
19 | class Control;
|
---|
20 | }
|
---|
21 |
|
---|
22 | namespace flair {
|
---|
23 | namespace actuator {
|
---|
24 | /*! \class SumoUgvControls
|
---|
25 | *
|
---|
26 | * \brief Class for a parrot sumo ugv controls
|
---|
27 | */
|
---|
28 | class SumoUgvControls : public UgvControls {
|
---|
29 | public:
|
---|
30 | /*!
|
---|
31 | * \brief Constructor
|
---|
32 | *
|
---|
33 | * Construct a SumoUgvControls.
|
---|
34 | *
|
---|
35 | * \param name name
|
---|
36 | */
|
---|
37 | SumoUgvControls(std::string name);
|
---|
38 |
|
---|
39 | /*!
|
---|
40 | * \brief Destructor
|
---|
41 | *
|
---|
42 | */
|
---|
43 | ~SumoUgvControls();
|
---|
44 |
|
---|
45 | /*!
|
---|
46 | * \brief Set controls values
|
---|
47 | *
|
---|
48 | * Reimplemented from UgvControls. \n
|
---|
49 | *
|
---|
50 | * \param speed speed value
|
---|
51 | * \param turn turn value
|
---|
52 | */
|
---|
53 | void SetControls(float speed,float turn);
|
---|
54 | private:
|
---|
55 | sumo::Control *sumoControl;
|
---|
56 |
|
---|
57 | };
|
---|
58 | } // end namespace actuator
|
---|
59 | } // end namespace flair
|
---|
60 | #endif // SUMOUGVCONTROLS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.