chrono::ros::core::ValidateResultPayload Struct Reference
Description
node -> sim: validation verdict.
On mismatch, carries the first differing offset and a window of both byte streams around it for diagnostics.
#include <ChROSControl.h>
Public Member Functions | |
| void | Encode (std::vector< uint8_t > &out) const |
Static Public Member Functions | |
| static ValidateResultPayload | Decode (const uint8_t *data, size_t size) |
Public Attributes | |
| std::string | type_name |
| bool | ok = false |
| std::string | error |
| set when the round trip itself failed | |
| uint64_t | first_diff_offset = 0 |
| std::vector< uint8_t > | expected_window |
| node's re-serialization around the diff | |
| std::vector< uint8_t > | actual_window |
| sim's bytes around the diff | |
The documentation for this struct was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_ros/core/ChROSControl.h
- /builds/uwsbel/chrono/src/chrono_ros/core/ChROSControl.cpp