NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
ff_faults.h
Go to the documentation of this file.
1 /* Copyright (c) 2017, United States Government, as represented by the
2  * Administrator of the National Aeronautics and Space Administration.
3  *
4  * All rights reserved.
5  *
6  * The Astrobee platform is licensed under the Apache License, Version 2.0
7  * (the "License"); you may not use this file except in compliance with the
8  * License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15  * License for the specific language governing permissions and limitations
16  * under the License.
17  */
18 
19 // Autogenerated from FMECA! DO NOT CHANGE!
20 
21 #ifndef FF_UTIL_FF_FAULTS_H_
22 #define FF_UTIL_FF_FAULTS_H_
23 
24 #include <string>
25 
26 namespace ff_util {
27 
28 enum FaultKeys {
53 };
54 
55 constexpr int kFaultKeysSize = 24;
56 
57 static std::string fault_keys[] = {
58  "UNKNOWN_FAULT_KEY",
59  "LOAD_TOO_HIGH",
60  "NO_COMMUNICATION_SPEEDCAM",
61  "INITIALIZATION_FAILED",
62  "MEMORY_USAGE_TOO_HIGH",
63  "BAD_ACCEL_DATA",
64  "NO_IMU_DATA_PACKETS",
65  "TEMPERATURE_TOO_HIGH",
66  "HEARTBEAT_MISSING",
67  "VELOCITY_TOO_HIGH",
68  "TIME_DIFF_TOO_HIGH",
69  "LOCALIZATION_PIPELINE_UNSTABLE",
70  "ESTIMATE_CONFIDENCE_TOO_LOW",
71  "DISK_USAGE_TOO_HIGH",
72  "NO_COMMUNICATION_HAZCAM",
73  "KINETIC_ENERGY_INCREASING",
74  "SELF_TEST_FAULT_CODE",
75  "DISK_CONFIG_INVALID",
76  "POSE_ESTIMATE_NON_PHYSICAL",
77  "DISK_USAGE_HIGH",
78  "HARDWARE_ERROR_FAULT_CODE",
79  "BAD_GYRO_DATA",
80  "IMU_OVERTEMP",
81  "IMU_ACCEL_ABOVE_LIMITS"
82 };
83 
84 } // namespace ff_util
85 
86 #endif // FF_UTIL_FF_FAULTS_H_
ff_util::fault_keys
static std::string fault_keys[]
Definition: ff_faults.h:57
ff_util::IMU_ACCEL_ABOVE_LIMITS
@ IMU_ACCEL_ABOVE_LIMITS
Definition: ff_faults.h:52
ff_util::NO_IMU_DATA_PACKETS
@ NO_IMU_DATA_PACKETS
Definition: ff_faults.h:35
ff_util::IMU_OVERTEMP
@ IMU_OVERTEMP
Definition: ff_faults.h:51
ff_util::KINETIC_ENERGY_INCREASING
@ KINETIC_ENERGY_INCREASING
Definition: ff_faults.h:44
ff_util::ESTIMATE_CONFIDENCE_TOO_LOW
@ ESTIMATE_CONFIDENCE_TOO_LOW
Definition: ff_faults.h:41
ff_util::LOAD_TOO_HIGH
@ LOAD_TOO_HIGH
Definition: ff_faults.h:30
ff_util::NO_COMMUNICATION_HAZCAM
@ NO_COMMUNICATION_HAZCAM
Definition: ff_faults.h:43
ff_util::DISK_CONFIG_INVALID
@ DISK_CONFIG_INVALID
Definition: ff_faults.h:46
ff_util::NO_COMMUNICATION_SPEEDCAM
@ NO_COMMUNICATION_SPEEDCAM
Definition: ff_faults.h:31
ff_util::BAD_ACCEL_DATA
@ BAD_ACCEL_DATA
Definition: ff_faults.h:34
ff_util::TIME_DIFF_TOO_HIGH
@ TIME_DIFF_TOO_HIGH
Definition: ff_faults.h:39
ff_util::DISK_USAGE_TOO_HIGH
@ DISK_USAGE_TOO_HIGH
Definition: ff_faults.h:42
ff_util::DISK_USAGE_HIGH
@ DISK_USAGE_HIGH
Definition: ff_faults.h:48
ff_util::SELF_TEST_FAULT_CODE
@ SELF_TEST_FAULT_CODE
Definition: ff_faults.h:45
ff_util::LOCALIZATION_PIPELINE_UNSTABLE
@ LOCALIZATION_PIPELINE_UNSTABLE
Definition: ff_faults.h:40
ff_util::HEARTBEAT_MISSING
@ HEARTBEAT_MISSING
Definition: ff_faults.h:37
ff_util::kFaultKeysSize
constexpr int kFaultKeysSize
Definition: ff_faults.h:55
ff_util::UNKNOWN_FAULT_KEY
@ UNKNOWN_FAULT_KEY
Definition: ff_faults.h:29
ff_util::POSE_ESTIMATE_NON_PHYSICAL
@ POSE_ESTIMATE_NON_PHYSICAL
Definition: ff_faults.h:47
ff_util::VELOCITY_TOO_HIGH
@ VELOCITY_TOO_HIGH
Definition: ff_faults.h:38
ff_util::INITIALIZATION_FAILED
@ INITIALIZATION_FAILED
Definition: ff_faults.h:32
ff_util::TEMPERATURE_TOO_HIGH
@ TEMPERATURE_TOO_HIGH
Definition: ff_faults.h:36
ff_util
Definition: config_client.h:31
ff_util::MEMORY_USAGE_TOO_HIGH
@ MEMORY_USAGE_TOO_HIGH
Definition: ff_faults.h:33
ff_util::BAD_GYRO_DATA
@ BAD_GYRO_DATA
Definition: ff_faults.h:50
ff_util::HARDWARE_ERROR_FAULT_CODE
@ HARDWARE_ERROR_FAULT_CODE
Definition: ff_faults.h:49
ff_util::FaultKeys
FaultKeys
Definition: ff_faults.h:28