ros2_canopen master
C++ ROS CANopen Library
Loading...
Searching...
No Matches
state.hpp
Go to the documentation of this file.
1// Copyright 2023 Christoph Hellmann Santos
2// Copyright 2014-2022 Authors of ros_canopen
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with this program. If not, see <https://www.gnu.org/licenses/>.
16//
17
18#ifndef CANOPEN_402_DRIVER_STATE_HPP
19#define CANOPEN_402_DRIVER_STATE_HPP
20
21#include <chrono>
22#include <condition_variable>
23#include <mutex>
24
25namespace ros2_canopen
26{
73} // namespace ros2_canopen
74
75#endif // CANOPEN_402_DRIVER_STATE_HPP
Definition state.hpp:28
bool waitForNewState(const std::chrono::steady_clock::time_point &abstime, InternalState &state)
State402()
Definition state.hpp:66
InternalState getState()
StatusWord
Definition state.hpp:31
@ SW_Warning
Definition state.hpp:39
@ SW_Switch_on_disabled
Definition state.hpp:38
@ SW_Target_reached
Definition state.hpp:42
@ SW_Operation_enabled
Definition state.hpp:34
@ SW_Manufacturer_specific0
Definition state.hpp:40
@ SW_Manufacturer_specific2
Definition state.hpp:47
@ SW_Quick_stop
Definition state.hpp:37
@ SW_Voltage_enabled
Definition state.hpp:36
@ SW_Manufacturer_specific1
Definition state.hpp:46
@ SW_Internal_limit
Definition state.hpp:43
@ SW_Operation_mode_specific0
Definition state.hpp:44
@ SW_Switched_On
Definition state.hpp:33
@ SW_Remote
Definition state.hpp:41
@ SW_Operation_mode_specific1
Definition state.hpp:45
@ SW_Ready_To_Switch_On
Definition state.hpp:32
@ SW_Fault
Definition state.hpp:35
InternalState read(uint16_t sw)
InternalState
Definition state.hpp:50
@ Start
Definition state.hpp:52
@ Ready_To_Switch_On
Definition state.hpp:55
@ Operation_Enable
Definition state.hpp:57
@ Fault_Reaction_Active
Definition state.hpp:59
@ Fault
Definition state.hpp:60
@ Unknown
Definition state.hpp:51
@ Quick_Stop_Active
Definition state.hpp:58
@ Switched_On
Definition state.hpp:56
@ Switch_On_Disabled
Definition state.hpp:54
@ Not_Ready_To_Switch_On
Definition state.hpp:53
Definition configuration_manager.hpp:28