Main Page
Namespaces
Classes
Files
File List
File Members
include
cob_tricycle_controller
TricycleCtrlTypes.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
18
#ifndef COB_TRICYCLE_CONTROLLER_TRICYCLECTRLTYPES_H
19
#define COB_TRICYCLE_CONTROLLER_TRICYCLECTRLTYPES_H
20
21
#include <
urdf/model.h
>
22
#include <
tf2/LinearMath/Quaternion.h
>
23
#include <
tf2/LinearMath/Transform.h
>
24
#include <
tf2/LinearMath/Vector3.h
>
25
26
27
struct
PlatformState
{
28
double
velX
;
29
double
velY
;
30
double
rotTheta
;
31
32
PlatformState
() : velX(0.0), velY(0.0), rotTheta(0.0) {}
33
};
34
35
struct
WheelState
{
36
std::string
steer_name
, drive_name;
37
38
double
steer_pos
;
39
double
steer_vel
;
40
double
drive_pos
;
41
double
drive_vel
;
42
43
double
pos_x
;
44
double
pos_y
;
45
46
double
radius
;
47
double
sign
;
48
49
WheelState
() : steer_pos(0.0), steer_vel(0.0), drive_pos(0.0), drive_vel(0.0),
50
pos_x(0.0), pos_y(0.0),
51
radius(0.0), sign(1.0)
52
{}
53
};
54
55
56
#endif
Quaternion.h
WheelState::drive_vel
double drive_vel
Definition:
TricycleCtrlTypes.h:41
WheelState
Definition:
TricycleCtrlTypes.h:35
WheelState::steer_vel
double steer_vel
Definition:
TricycleCtrlTypes.h:39
PlatformState::velX
double velX
Definition:
TricycleCtrlTypes.h:28
model.h
PlatformState::velY
double velY
Definition:
TricycleCtrlTypes.h:29
Transform.h
WheelState::steer_pos
double steer_pos
Definition:
TricycleCtrlTypes.h:38
WheelState::steer_name
std::string steer_name
Definition:
TricycleCtrlTypes.h:36
WheelState::pos_y
double pos_y
Definition:
TricycleCtrlTypes.h:44
WheelState::radius
double radius
Definition:
TricycleCtrlTypes.h:46
PlatformState
Definition:
TricycleCtrlTypes.h:27
PlatformState::rotTheta
double rotTheta
Definition:
TricycleCtrlTypes.h:30
WheelState::drive_pos
double drive_pos
Definition:
TricycleCtrlTypes.h:40
WheelState::pos_x
double pos_x
Definition:
TricycleCtrlTypes.h:43
WheelState::WheelState
WheelState()
Definition:
TricycleCtrlTypes.h:49
PlatformState::PlatformState
PlatformState()
Definition:
TricycleCtrlTypes.h:32
WheelState::sign
double sign
Definition:
TricycleCtrlTypes.h:47
Vector3.h
cob_tricycle_controller
Author(s): Felix Messmer
autogenerated on Thu Apr 8 2021 02:39:57