Loading [MathJax]/extensions/tex2jax.js
ros2_control - rolling
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
c
d
g
h
i
l
m
p
r
s
w
Functions
c
d
g
h
i
l
m
p
s
w
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
~
Variables
a
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
Typedefs
Enumerations
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Pages
Loading...
Searching...
No Matches
ros2_control
hardware_interface
include
hardware_interface
types
hardware_interface_return_values.hpp
1
// Copyright 2017 Open Source Robotics Foundation, Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef HARDWARE_INTERFACE__TYPES__HARDWARE_INTERFACE_RETURN_VALUES_HPP_
16
#define HARDWARE_INTERFACE__TYPES__HARDWARE_INTERFACE_RETURN_VALUES_HPP_
17
18
#include <chrono>
19
#include <cstdint>
20
#include <optional>
21
22
namespace
hardware_interface
23
{
24
enum class
return_type : std::uint8_t
25
{
26
OK = 0,
27
ERROR = 1,
28
DEACTIVATE = 2,
29
};
30
40
struct
HardwareComponentCycleStatus
41
{
42
bool
successful =
true
;
43
return_type result = return_type::OK;
44
std::optional<std::chrono::nanoseconds> execution_time = std::nullopt;
45
};
40
struct
HardwareComponentCycleStatus
{
…
};
46
47
}
// namespace hardware_interface
48
49
#endif
// HARDWARE_INTERFACE__TYPES__HARDWARE_INTERFACE_RETURN_VALUES_HPP_
hardware_interface
Definition
actuator.hpp:33
hardware_interface::HardwareComponentCycleStatus
Definition
hardware_interface_return_values.hpp:41
Generated by
1.9.8