Skip to content

Struct nebula::HesaiInventory_AT128P

ClassList > nebula > HesaiInventory_AT128P

Inventory of the AT128P. Same as the AT128E2X one, but with a part number inserted after the serial number (216 bytes in total).

  • #include <hesai_cmd_response.hpp>

Inherits the following classes: nebula::HesaiInventoryBase

Classes

Type Name
struct Internal

Public Static Attributes

Type Name
uint8_t g_model_number = 48

Public Functions

Type Name
HesaiInventory_AT128P (Internal value)
virtual const HesaiInventoryBase::Internal & get () override const
virtual uint8_t model_number () override const
virtual ordered_json sensor_specifics_to_json () override const

Public Functions inherited from nebula::HesaiInventoryBase

See nebula::HesaiInventoryBase

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

Protected Functions inherited from nebula::HesaiInventoryBase

See nebula::HesaiInventoryBase

Type Name
virtual ordered_json sensor_specifics_to_json () const = 0

Protected Static Functions inherited from nebula::HesaiInventoryBase

See nebula::HesaiInventoryBase

Type Name
std::string get_motor_type (uint8_t motor_type)
std::string get_str_model (uint8_t model)

Public Static Attributes Documentation

variable g_model_number

uint8_t nebula::HesaiInventory_AT128P::g_model_number;

The AT128P reports 0 as its product model, which would be mistaken for a Pandar40P. Report the AT128 model number instead, so that the AT128P is handled like the AT128 (PTC only).


Public Functions Documentation

function HesaiInventory_AT128P

inline explicit nebula::HesaiInventory_AT128P::HesaiInventory_AT128P (
    Internal value
) 

function get

inline virtual const HesaiInventoryBase::Internal & nebula::HesaiInventory_AT128P::get () override const

Implements nebula::HesaiInventoryBase::get


function model_number

inline virtual uint8_t nebula::HesaiInventory_AT128P::model_number () override const

Implements nebula::HesaiInventoryBase::model_number


function sensor_specifics_to_json

inline virtual ordered_json nebula::HesaiInventory_AT128P::sensor_specifics_to_json () override const

Implements nebula::HesaiInventoryBase::sensor_specifics_to_json



The documentation for this class was generated from the following file src/nebula_hesai/nebula_hesai_hw_interfaces/include/nebula_hesai_hw_interfaces/hesai_cmd_response.hpp