Main Page
+
Namespaces
Namespace List
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
a
c
e
g
h
i
j
l
m
n
p
r
s
~
Functions
Variables
+
Files
File List
+
File Members
All
Functions
include
sr_movements
partial_movement.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2019 Shadow Robot Company Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation version 2 of the License.
7
*
8
* This program is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License along
14
* with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
28
#ifndef _PARTIAL_MOVEMENT_HPP_
29
#define _PARTIAL_MOVEMENT_HPP_
30
31
#include <vector>
32
33
namespace
shadowrobot
34
{
35
class
PartialMovement
36
{
37
public
:
38
PartialMovement
();
39
virtual
~PartialMovement
();
40
48
double
get_target
(
double
percentage);
49
50
protected
:
55
std::vector<double>
steps
;
56
};
57
}
// namespace shadowrobot
58
59
/* For the emacs weenies in the crowd.
60
Local Variables:
61
c-basic-offset: 2
62
End:
63
*/
64
65
#endif
shadowrobot::PartialMovement
Definition:
partial_movement.hpp:35
shadowrobot
Definition:
movement_from_image.hpp:36
shadowrobot::PartialMovement::get_target
double get_target(double percentage)
Definition:
partial_movement.cpp:37
shadowrobot::PartialMovement::~PartialMovement
virtual ~PartialMovement()
Definition:
partial_movement.cpp:34
shadowrobot::PartialMovement::steps
std::vector< double > steps
Definition:
partial_movement.hpp:55
shadowrobot::PartialMovement::PartialMovement
PartialMovement()
Definition:
partial_movement.cpp:31
sr_movements
Author(s): Ugo Cupcic
autogenerated on Fri Mar 11 2022 03:29:39