EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ExampleSafetyProperties.hpp
Go to the documentation of this file.
1 #ifndef EXAMPLESAFETYPROPERTIES_HPP
2 #define EXAMPLESAFETYPROPERTIES_HPP
3 
7 
9 
10  // Define all possible events
11  enum {
12  doSwInit,
13  swShutDownDone,
14  swInitDone,
15  doOff,
16  doControlStart,
17  controlStoppingDone,
18  controlStartingDone,
19  doEmergencyReset,
20  emergencyResetDone,
21  doStopControl,
22  doPoweringUp,
23  poweringDownDone,
24  poweringUpDone,
25  doPoweringDown,
26  doStartingMotion,
27  motionStoppingDone,
28  motionStartingDone,
29  doMotionStopping,
30  doEmergency
31  };
32 
33  // Name all levels
34  enum {
35  off = 10,
36  swShutingDown = 11,
37  swInitializing = 12,
38  swInitialized = 20,
39  controlStopping = 21,
40  controlStarting = 22,
41  emergency = 28,
42  resetingEmergency = 29,
43  systemOn = 30,
44  poweringDown = 31,
45  poweringUp = 32,
46  powerOn = 40,
47  motionStopping = 41,
48  motionStarting = 42,
49  moving = 50
50  };
51 
52 public:
54  virtual ~ExampleSafetyProperties();
55 
56  // criticcal outputs
63 
64  // criticcal inputs
68 };
69 
70 #endif // EXAMPLESAFETYPROPERTIES_HPP
eeros::hal::PeripheralInput< bool > * emergencyStop
Definition: ExampleSafetyProperties.hpp:65
eeros::hal::PeripheralInput< double > * q1
Definition: ExampleSafetyProperties.hpp:67
eeros::hal::PeripheralOutput< bool > * brake0
Definition: ExampleSafetyProperties.hpp:61
eeros::hal::PeripheralOutput< bool > * power
Definition: ExampleSafetyProperties.hpp:57
ExampleSafetyProperties()
Definition: ExampleSafetyProperties.cpp:11
eeros::hal::PeripheralOutput< bool > * brake1
Definition: ExampleSafetyProperties.hpp:62
eeros::hal::PeripheralInput< double > * q0
Definition: ExampleSafetyProperties.hpp:66
eeros::hal::PeripheralOutput< bool > * enable1
Definition: ExampleSafetyProperties.hpp:60
Definition: ExampleSafetyProperties.hpp:8
eeros::hal::PeripheralOutput< bool > * enable0
Definition: ExampleSafetyProperties.hpp:59
Definition: SafetyProperties.hpp:15
eeros::hal::PeripheralOutput< bool > * wd
Definition: ExampleSafetyProperties.hpp:58
virtual ~ExampleSafetyProperties()
Definition: ExampleSafetyProperties.cpp:116