ControllerConfiguration.h
Go to the documentation of this file.
1
#pragma once
2
3
4
// armarx
5
#include <
ArmarXCore/core/rapidxml/wrapper/DefaultRapidXmlReader.h
>
6
7
#include <
armarx/control/hardware_config/Config.h
>
8
9
namespace
armarx::control::joint_controller
10
{
11
12
class
PositionControllerConfiguration;
13
using
PositionControllerConfigurationPtr
= std::shared_ptr<PositionControllerConfiguration>;
14
15
class
PositionControllerConfiguration
16
{
17
public
:
18
PositionControllerConfiguration
()
19
{
20
}
21
22
static
PositionControllerConfigurationPtr
23
CreatePositionControllerConfigData
(
hardware_config::Config
& config);
24
float
maxVelocityRad
;
25
float
maxAccelerationRad
;
26
float
maxDecelerationRad
;
27
float
p
;
28
float
accuracy
;
29
bool
useElmoRelativePositionController
=
false
;
30
};
31
32
33
class
VelocityControllerConfiguration
;
34
using
VelocityControllerConfigurationPtr
= std::shared_ptr<VelocityControllerConfiguration>;
35
36
class
VelocityControllerConfiguration
37
{
38
public
:
39
VelocityControllerConfiguration
()
40
{
41
}
42
43
static
VelocityControllerConfigurationPtr
44
CreateVelocityControllerConfigData
(
hardware_config::Config
& config);
45
float
maxVelocityRad
;
46
float
maxAccelerationRad
;
47
float
maxDecelerationRad
;
48
};
49
50
51
class
HolonomicPlatformControllerConfiguration
;
52
using
HolonomicPlatformControllerConfigurationPtr
=
53
std::shared_ptr<HolonomicPlatformControllerConfiguration>;
54
55
class
HolonomicPlatformControllerConfiguration
56
{
57
public
:
58
HolonomicPlatformControllerConfiguration
()
59
{
60
}
61
62
static
HolonomicPlatformControllerConfigurationPtr
63
CreateHolonomicPlatformControllerConfigData
(
hardware_config::Config
& config);
64
float
maxVelocity
;
65
float
maxAcceleration
;
66
float
maxDeceleration
;
67
float
maxAngularVelocity
;
68
float
maxAngularAcceleration
;
69
float
maxAngularDeceleration
;
70
};
71
72
}
// namespace armarx::control::joint_controller
armarx::control::joint_controller::PositionControllerConfiguration::maxDecelerationRad
float maxDecelerationRad
Definition:
ControllerConfiguration.h:26
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration::CreateHolonomicPlatformControllerConfigData
static HolonomicPlatformControllerConfigurationPtr CreateHolonomicPlatformControllerConfigData(hardware_config::Config &config)
Definition:
ControllerConfiguration.cpp:37
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration::maxAngularAcceleration
float maxAngularAcceleration
Definition:
ControllerConfiguration.h:68
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration::maxAngularVelocity
float maxAngularVelocity
Definition:
ControllerConfiguration.h:67
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration::maxAcceleration
float maxAcceleration
Definition:
ControllerConfiguration.h:65
armarx::control::joint_controller::VelocityControllerConfiguration::maxDecelerationRad
float maxDecelerationRad
Definition:
ControllerConfiguration.h:47
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration::maxDeceleration
float maxDeceleration
Definition:
ControllerConfiguration.h:66
armarx::control::joint_controller::VelocityControllerConfiguration::maxAccelerationRad
float maxAccelerationRad
Definition:
ControllerConfiguration.h:46
armarx::control::joint_controller::PositionControllerConfiguration
Definition:
ControllerConfiguration.h:15
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration::maxAngularDeceleration
float maxAngularDeceleration
Definition:
ControllerConfiguration.h:69
armarx::control::joint_controller::VelocityControllerConfiguration::maxVelocityRad
float maxVelocityRad
Definition:
ControllerConfiguration.h:45
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration::HolonomicPlatformControllerConfiguration
HolonomicPlatformControllerConfiguration()
Definition:
ControllerConfiguration.h:58
armarx::control::joint_controller::PositionControllerConfiguration::useElmoRelativePositionController
bool useElmoRelativePositionController
Definition:
ControllerConfiguration.h:29
armarx::control::joint_controller::VelocityControllerConfigurationPtr
std::shared_ptr< VelocityControllerConfiguration > VelocityControllerConfigurationPtr
Definition:
ControllerConfiguration.h:34
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration::maxVelocity
float maxVelocity
Definition:
ControllerConfiguration.h:64
armarx::control::joint_controller::PositionControllerConfiguration::accuracy
float accuracy
Definition:
ControllerConfiguration.h:28
armarx::control::joint_controller::PositionControllerConfiguration::p
float p
Definition:
ControllerConfiguration.h:27
armarx::control::joint_controller::PositionControllerConfiguration::maxVelocityRad
float maxVelocityRad
Definition:
ControllerConfiguration.h:24
armarx::control::joint_controller::HolonomicPlatformControllerConfigurationPtr
std::shared_ptr< HolonomicPlatformControllerConfiguration > HolonomicPlatformControllerConfigurationPtr
Definition:
ControllerConfiguration.h:53
DefaultRapidXmlReader.h
armarx::control::joint_controller::HolonomicPlatformControllerConfiguration
Definition:
ControllerConfiguration.h:55
armarx::control::joint_controller::VelocityControllerConfiguration::CreateVelocityControllerConfigData
static VelocityControllerConfigurationPtr CreateVelocityControllerConfigData(hardware_config::Config &config)
Definition:
ControllerConfiguration.cpp:24
armarx::control::joint_controller::PositionControllerConfiguration::PositionControllerConfiguration
PositionControllerConfiguration()
Definition:
ControllerConfiguration.h:18
Config.h
armarx::control::joint_controller::VelocityControllerConfiguration
Definition:
ControllerConfiguration.h:36
armarx::control::joint_controller::VelocityControllerConfiguration::VelocityControllerConfiguration
VelocityControllerConfiguration()
Definition:
ControllerConfiguration.h:39
armarx::control::joint_controller
Definition:
ControllerConfiguration.cpp:3
armarx::control::hardware_config::Config
The Config class is the base class of all specialized configurations that have a direct key -> value ...
Definition:
Config.h:91
armarx::control::joint_controller::PositionControllerConfiguration::maxAccelerationRad
float maxAccelerationRad
Definition:
ControllerConfiguration.h:25
armarx::control::joint_controller::PositionControllerConfiguration::CreatePositionControllerConfigData
static PositionControllerConfigurationPtr CreatePositionControllerConfigData(hardware_config::Config &config)
Definition:
ControllerConfiguration.cpp:7
armarx::control::joint_controller::PositionControllerConfigurationPtr
std::shared_ptr< PositionControllerConfiguration > PositionControllerConfigurationPtr
Definition:
ControllerConfiguration.h:13
armarx
control
joint_controller
ControllerConfiguration.h
Generated on Sat Oct 12 2024 09:14:14 for armarx_documentation by
1.8.17