|
Voyant API 0.9.2
|
#include <cstdarg>#include <cstdint>#include <cstdlib>#include <ostream>#include <new>#include <sdl_types_generated.hpp>Go to the source code of this file.
Classes | |
| struct | SdlDeviceState |
| struct | HealthState |
| struct | CounterState |
| struct | DeviceInfo |
| struct | CalibrationState |
| struct | DspHeaderState |
| struct | SensorState |
Enumerations | |
| enum class | ProductId : uint8_t { Unknown = 0 , Lark = 1 , Meadowlark = 2 , CarbonBenchtop = 3 , Carbon30 = 4 , VivadoSimulator = 250 , VerilatorSimulator = 251 , XceliumSimulator = 252 , IsaacSim = 253 , SoftwareSimulator = 254 } |
| enum class | SdlStatus : uint8_t { Unknown = 0 , Idle = 1 , Pending = 2 , Applied = 3 , BadFovCenterCombo = 4 , InvalidParameter = 5 , InvalidStateTransition = 6 , MissingCalibration = 7 , UnableToCalibrate = 8 , ParseError = 9 , ApplicationError = 10 , FovFpsError = 11 , CommandBuildFailed = 12 , PreviousCommandPending = 13 , SendFailed = 14 , Timeout = 15 , MaxRetriesExceeded = 16 , StreamReset = 17 , MessageReadyForMcu = 18 , ValidMessageParsed = 19 } |
|
strong |
Hardware and simulation product identifiers.
Sent in the heartbeat product_id field. Values 250–253 are reserved for FPGA/RTL simulators; 254 is the basic software simulator; 255 is reserved.
Unknown or future variants are preserved as [ProductId::Unknown] so that the rest of the pipeline never panics on an unrecognised ID.
TODO: Define this in the interface contract and parse automatically from there
| Enumerator | |
|---|---|
| Unknown | |
| Lark | |
| Meadowlark | |
| CarbonBenchtop | |
| Carbon30 | |
| VivadoSimulator | |
| VerilatorSimulator | |
| XceliumSimulator | |
| IsaacSim | |
| SoftwareSimulator | Basic software simulator (lightweight, no physics/FPGA). |
|
strong |
Outcome of an SDL command, either from the sensor heartbeat or detected client-side.
Wire values from SdlMsgStatus are mapped in from_msg_status — the discriminants here are contiguous and have no relationship to the wire protocol values.