Struct HesaiInventoryBase

Nested Relationships

Nested Types

Inheritance Relationships

Derived Types

Struct Documentation

struct HesaiInventoryBase

struct of PTC_COMMAND_GET_INVENTORY_INFO

Subclassed by nebula::HesaiInventory_AT128, nebula::HesaiInventory_OT128, nebula::HesaiInventory_QT128, nebula::HesaiInventory_XT16_32_40P

Public Functions

virtual ~HesaiInventoryBase() = default
inline ordered_json to_json() const
virtual uint8_t model_number() const = 0
virtual const Internal &get() const = 0

Protected Functions

virtual ordered_json sensor_specifics_to_json() const = 0

Protected Static Functions

static inline std::string get_str_model(uint8_t model)
static inline std::string get_motor_type(uint8_t motor_type)

Friends

inline friend std::ostream &operator<<(std::ostream &os, const HesaiInventoryBase &arg)
struct Internal

Subclassed by nebula::HesaiInventory_AT128::Internal, nebula::HesaiInventory_OT128::Internal, nebula::HesaiInventory_QT128::Internal, nebula::HesaiInventory_XT16_32_40P::Internal

Public Members

char sn[18]
char date_of_manufacture[16]
uint8_t mac[6]
char sw_ver[16]
char hw_ver[16]
char control_fw_ver[16]
char sensor_fw_ver[16]