![]() |
WarpTwin
Documentation for WarpTwin models and classes.
|
Go to the source code of this file.
Macros | |
| #define | ERROR_INVALID_COMMAND 500 |
| #define | WARN_INVALID_CRC -501 |
| Warning in the case where a CRC checksum is invalid. | |
| #define | ERROR_PKT_NOT_REGISTERED 502 |
| Error in the case where a packet type is not registered. | |
| #define | WARN_PKT_ALREADY_REGISTERED -503 |
| Warning in the case where a packet type is registered (and isn't expected to be). | |
| #define | ERROR_PKT_TABLE_FULL 504 |
| Warning in the case where a packet type is registered but the packet type table is full. | |
| #define | WARN_PKT_INVALID_SIZE -505 |
| Warning in the case where a packet has invalid size. | |
| #define | ERROR_CMD_EXECUTION_FAIL 506 |
| Error in case command execution fails. | |
| #define | WARN_INVALID_HEADER -507 |
| Warning in case of invalid data header. | |
| #define | WARN_INVALID_FOOTER -508 |
| Warning in case of invalid data footer. | |
| #define | WARN_STALE_DATA -509 |
| Warning in case of stale data. | |
| #define | WARN_OUTLIER_DATA -510 |
| Warning in case of outlier data. | |
| #define | ERROR_INVALID_PKT_TIME 511 |
| Error in case time is beyond a valid boundary for telemetry or commands. | |
| #define | WARN_INVALID_FLETCH_CHKSUM -512 |
| Warning in the case where a fletch 8 checksum is invalid. | |
| #define | ERROR_INVALID_PRIORITY 513 |
| Error in case of an invalid priority level for telemetry. | |
| #define | ERROR_FAILED_HW_READ 600 |
| #define | ERROR_FAILED_HW_WRITE 601 |
| Error on failed write to a hardware interface. | |
| #define | WARN_SENSOR_READ_FAIL -602 |
| Warning in case sensor read fails. | |
| #define | WARN_INCORRECT_SENSOR_ID -603 |
| Warning in case sensor ID is incorrect. | |
| #define | WARN_SELF_TEST_FAIL -604 |
| Warning in case self-test check fails. | |
| #define | WARN_CMD_RESPONSE_FAIL -605 |
| Warning in case sensor command response fails. | |
| #define | WARN_CMD_ACK_ERROR -606 |
| Warning in case command acknowledgement returns an error code. | |
| #define | WARN_INVALID_RANGE -607 |
| Warning in case of invalid sensor range. | |
| #define | ERROR_SENS_PWR_MD_FAIL 608 |
| Error in case of Sensor powermode failure. | |
| #define | ERROR_ODR_SET_FAIL 609 |
| Error in case of ODR Set failure. | |
| #define | ERROR_SENS_INIT_FAIL 610 |
| Error in case of Sensor Init Set failure. | |
| #define | WARN_INCORRECT_RESPONSE_LEN -611 |
| Warning in case of incorrect response length. | |
| #define | ERROR_FAILED_HW_INIT 612 |
| Error on trying to open the hardware interface. | |
| #define | WARN_SENS_INV_INPUT -613 |
| Warning on invalid sensor input. | |
| #define | WARN_INCOMPLETE_READ -614 |
| Warning on an incomplete read. | |
| #define | WARN_STALE_MEASUREMENT -700 |
| #define | WARN_INERTIAL_NAV_INVALID_MEAS -701 |
| #define | WARN_PARAM_INVALID_RANGE -702 |
| Warning in case parameter is outside a valid range. | |
| #define | ERROR_NO_MEASUREMENT_UPDATE 703 |
| Error in case EKF cannot perform measurement update. | |
| #define | WARN_APP_ALREADY_REGISTERED -575 |
| #define | ERROR_APPS_FULL 576 |
| Error in case we are registering more apps that we have space for. | |
| #define | ERROR_APP_NOT_FOUND 577 |
| Error in case we are looking for an app that does not exist. | |
| #define | WARN_SCH_WAIT_FOR_INIT -578 |
| Warning in case where sim scheduler is waiting for initialization time. | |
Enumerations | |
| enum | log_level_e { LOG_NONE = 0 , LOG_ERROR = 1 , LOG_WARNING = 2 , LOG_INFO = 3 , LOG_DEBUG = 4 } |
| Log level enumerations. More... | |
| #define ERROR_APP_NOT_FOUND 577 |
Error in case we are looking for an app that does not exist.
| #define ERROR_APPS_FULL 576 |
Error in case we are registering more apps that we have space for.
| #define ERROR_CMD_EXECUTION_FAIL 506 |
Error in case command execution fails.
| #define ERROR_FAILED_HW_INIT 612 |
Error on trying to open the hardware interface.
| #define ERROR_FAILED_HW_READ 600 |
| #define ERROR_FAILED_HW_WRITE 601 |
Error on failed write to a hardware interface.
| #define ERROR_INVALID_COMMAND 500 |
| #define ERROR_INVALID_PKT_TIME 511 |
Error in case time is beyond a valid boundary for telemetry or commands.
| #define ERROR_INVALID_PRIORITY 513 |
Error in case of an invalid priority level for telemetry.
| #define ERROR_NO_MEASUREMENT_UPDATE 703 |
Error in case EKF cannot perform measurement update.
| #define ERROR_ODR_SET_FAIL 609 |
Error in case of ODR Set failure.
| #define ERROR_PKT_NOT_REGISTERED 502 |
Error in the case where a packet type is not registered.
| #define ERROR_PKT_TABLE_FULL 504 |
Warning in the case where a packet type is registered but the packet type table is full.
| #define ERROR_SENS_INIT_FAIL 610 |
Error in case of Sensor Init Set failure.
| #define ERROR_SENS_PWR_MD_FAIL 608 |
Error in case of Sensor powermode failure.
| #define WARN_APP_ALREADY_REGISTERED -575 |
| #define WARN_CMD_ACK_ERROR -606 |
Warning in case command acknowledgement returns an error code.
| #define WARN_CMD_RESPONSE_FAIL -605 |
Warning in case sensor command response fails.
| #define WARN_INCOMPLETE_READ -614 |
Warning on an incomplete read.
| #define WARN_INCORRECT_RESPONSE_LEN -611 |
Warning in case of incorrect response length.
| #define WARN_INCORRECT_SENSOR_ID -603 |
Warning in case sensor ID is incorrect.
| #define WARN_INERTIAL_NAV_INVALID_MEAS -701 |
Warning when inertial navigation dead reckoning propagation cannot perform due to no valid measurements in input or storage App passes inputs into outputs regardless (this should only be an issue for very short durations on app startup and reactivation)
| #define WARN_INVALID_CRC -501 |
Warning in the case where a CRC checksum is invalid.
| #define WARN_INVALID_FLETCH_CHKSUM -512 |
Warning in the case where a fletch 8 checksum is invalid.
| #define WARN_INVALID_FOOTER -508 |
Warning in case of invalid data footer.
| #define WARN_INVALID_HEADER -507 |
Warning in case of invalid data header.
| #define WARN_INVALID_RANGE -607 |
Warning in case of invalid sensor range.
| #define WARN_OUTLIER_DATA -510 |
Warning in case of outlier data.
| #define WARN_PARAM_INVALID_RANGE -702 |
Warning in case parameter is outside a valid range.
| #define WARN_PKT_ALREADY_REGISTERED -503 |
Warning in the case where a packet type is registered (and isn't expected to be).
| #define WARN_PKT_INVALID_SIZE -505 |
Warning in the case where a packet has invalid size.
| #define WARN_SCH_WAIT_FOR_INIT -578 |
Warning in case where sim scheduler is waiting for initialization time.
| #define WARN_SELF_TEST_FAIL -604 |
Warning in case self-test check fails.
| #define WARN_SENS_INV_INPUT -613 |
Warning on invalid sensor input.
| #define WARN_SENSOR_READ_FAIL -602 |
Warning in case sensor read fails.
| #define WARN_STALE_DATA -509 |
Warning in case of stale data.
| #define WARN_STALE_MEASUREMENT -700 |
| enum log_level_e |
Log level enumerations.
These enumerations indicate the log level at which the event loger should log. ERROR is the lowest bar for output, and is output in almost every case. Debug is the most restrictive and typically will be output only when set.
| Enumerator | |
|---|---|
| LOG_NONE | |
| LOG_ERROR | No output at all. |
| LOG_WARNING | Output in almost all cases. |
| LOG_INFO | |
| LOG_DEBUG | |