Skip to content

Class nebula::drivers::FunctionalSafetyDecoder

template <typename PacketT>

ClassList > nebula > drivers > FunctionalSafetyDecoder

Interprets the functional safety part of Hesai pointcloud packets for supported sensor models. More...

  • #include <functional_safety.hpp>

Inherits the following classes: nebula::drivers::FunctionalSafetyDecoderTypedBase

Public Types inherited from nebula::drivers::FunctionalSafetyDecoderBase

See nebula::drivers::FunctionalSafetyDecoderBase

Type Name
typedef std::function< void()> alive_cb_t
typedef std::function< void(FunctionalSafetySeverity, FunctionalSafetyErrorCodes)> status_cb_t
typedef std::function< void()> stuck_cb_t

Public Functions

Type Name
virtual void set_alive_callback (alive_cb_t on_alive) override
virtual void set_status_callback (status_cb_t on_status) override
virtual void set_stuck_callback (stuck_cb_t on_stuck) override
virtual void update (const PacketT & packet) override

Public Functions inherited from nebula::drivers::FunctionalSafetyDecoderTypedBase

See nebula::drivers::FunctionalSafetyDecoderTypedBase

Type Name
virtual void set_alive_callback (alive_cb_t)
virtual void set_status_callback (status_cb_t)
virtual void set_stuck_callback (stuck_cb_t)
virtual void update (const PacketT &)
virtual ~FunctionalSafetyDecoderTypedBase () = default

Public Functions inherited from nebula::drivers::FunctionalSafetyDecoderBase

See nebula::drivers::FunctionalSafetyDecoderBase

Type Name
virtual ~FunctionalSafetyDecoderBase () = default

Detailed Description

Template parameters:

  • PacketT A packet definition that has a supported functional safety section.

Public Functions Documentation

function set_alive_callback

inline virtual void nebula::drivers::FunctionalSafetyDecoder::set_alive_callback (
    alive_cb_t on_alive
) override

Implements nebula::drivers::FunctionalSafetyDecoderTypedBase::set_alive_callback


function set_status_callback

inline virtual void nebula::drivers::FunctionalSafetyDecoder::set_status_callback (
    status_cb_t on_status
) override

Implements nebula::drivers::FunctionalSafetyDecoderTypedBase::set_status_callback


function set_stuck_callback

inline virtual void nebula::drivers::FunctionalSafetyDecoder::set_stuck_callback (
    stuck_cb_t on_stuck
) override

Implements nebula::drivers::FunctionalSafetyDecoderTypedBase::set_stuck_callback


function update

inline virtual void nebula::drivers::FunctionalSafetyDecoder::update (
    const PacketT & packet
) override

Implements nebula::drivers::FunctionalSafetyDecoderTypedBase::update



The documentation for this class was generated from the following file nebula_decoders/include/nebula_decoders/nebula_decoders_hesai/decoders/functional_safety.hpp