Skip to content

Class nebula::drivers::continental_srr520::ContinentalSRR520Decoder

ClassList > nebula > drivers > continental_srr520 > ContinentalSRR520Decoder

Continental Radar decoder (SRR520)

  • #include <continental_srr520_decoder.hpp>

Inherits the following classes: nebula::drivers::ContinentalPacketsDecoder

Public Functions

Type Name
ContinentalSRR520Decoder (const std::shared_ptr< const ContinentalSRR520SensorConfiguration > & sensor_configuration)
Constructor.
virtual Status GetStatus () override
Get current status of this driver.
virtual bool ProcessPacket (std::unique_ptr< nebula_msgs::msg::NebulaPacket > packet_msg) override
Function for parsing NebulaPackets.
Status RegisterHRRDetectionListCallback (std::function< void(std::unique_ptr< continental_msgs::msg::ContinentalSrr520DetectionList >)> detection_list_callback)
Register function to call whenever a new RDI HRR detection list is processed.
Status RegisterNearDetectionListCallback (std::function< void(std::unique_ptr< continental_msgs::msg::ContinentalSrr520DetectionList >)> detection_list_callback)
Register function to call whenever a new RDI near detection list is processed.
Status RegisterObjectListCallback (std::function< void(std::unique_ptr< continental_msgs::msg::ContinentalSrr520ObjectList >)> object_list_callback)
Register function to call whenever a new object list is processed.
Status RegisterPacketsCallback (std::function< void(std::unique_ptr< nebula_msgs::msg::NebulaPackets >)> nebula_packets_callback)
Register function to call whenever enough packets have been processed.
Status RegisterStatusCallback (std::function< void(std::unique_ptr< diagnostic_msgs::msg::DiagnosticArray >)> status_callback)
Register function to call whenever a new object list is processed.
Status RegisterSyncFollowUpCallback (std::function< void(builtin_interfaces::msg::Time)> sync_follow_up_callback)
Register function to call whenever a sync follow-up packet is processed.
void SetLogger (std::shared_ptr< rclcpp::Logger > node)
Setting rclcpp::Logger.

Public Functions inherited from nebula::drivers::ContinentalPacketsDecoder

See nebula::drivers::ContinentalPacketsDecoder

Type Name
ContinentalPacketsDecoder (ContinentalPacketsDecoder && c) = delete
ContinentalPacketsDecoder (const ContinentalPacketsDecoder & c) = delete
ContinentalPacketsDecoder () = default
virtual Status GetStatus () = 0
Get current status of this driver.
virtual bool ProcessPacket (std::unique_ptr< nebula_msgs::msg::NebulaPacket > packet_msg) = 0
Virtual function for parsing a NebulaPacket.
ContinentalPacketsDecoder & operator= (ContinentalPacketsDecoder && c) = delete
ContinentalPacketsDecoder & operator= (const ContinentalPacketsDecoder & c) = delete
virtual ~ContinentalPacketsDecoder () = default

Public Functions Documentation

function ContinentalSRR520Decoder

Constructor.

explicit nebula::drivers::continental_srr520::ContinentalSRR520Decoder::ContinentalSRR520Decoder (
    const std::shared_ptr< const ContinentalSRR520SensorConfiguration > & sensor_configuration
) 

Parameters:

  • sensor_configuration SensorConfiguration for this decoder

function GetStatus

Get current status of this driver.

virtual Status nebula::drivers::continental_srr520::ContinentalSRR520Decoder::GetStatus () override

Returns:

Current status

Implements nebula::drivers::ContinentalPacketsDecoder::GetStatus


function ProcessPacket

Function for parsing NebulaPackets.

virtual bool nebula::drivers::continental_srr520::ContinentalSRR520Decoder::ProcessPacket (
    std::unique_ptr< nebula_msgs::msg::NebulaPacket > packet_msg
) override

Parameters:

  • nebula_packets

Returns:

Resulting flag

Implements nebula::drivers::ContinentalPacketsDecoder::ProcessPacket


function RegisterHRRDetectionListCallback

Register function to call whenever a new RDI HRR detection list is processed.

Status nebula::drivers::continental_srr520::ContinentalSRR520Decoder::RegisterHRRDetectionListCallback (
    std::function< void(std::unique_ptr< continental_msgs::msg::ContinentalSrr520DetectionList >)> detection_list_callback
) 

Parameters:

  • detection_list_callback

Returns:

Resulting status


function RegisterNearDetectionListCallback

Register function to call whenever a new RDI near detection list is processed.

Status nebula::drivers::continental_srr520::ContinentalSRR520Decoder::RegisterNearDetectionListCallback (
    std::function< void(std::unique_ptr< continental_msgs::msg::ContinentalSrr520DetectionList >)> detection_list_callback
) 

Parameters:

  • detection_list_callback

Returns:

Resulting status


function RegisterObjectListCallback

Register function to call whenever a new object list is processed.

Status nebula::drivers::continental_srr520::ContinentalSRR520Decoder::RegisterObjectListCallback (
    std::function< void(std::unique_ptr< continental_msgs::msg::ContinentalSrr520ObjectList >)> object_list_callback
) 

Parameters:

  • object_list_callback

Returns:

Resulting status


function RegisterPacketsCallback

Register function to call whenever enough packets have been processed.

Status nebula::drivers::continental_srr520::ContinentalSRR520Decoder::RegisterPacketsCallback (
    std::function< void(std::unique_ptr< nebula_msgs::msg::NebulaPackets >)> nebula_packets_callback
) 

Parameters:

  • object_list_callback

Returns:

Resulting status


function RegisterStatusCallback

Register function to call whenever a new object list is processed.

Status nebula::drivers::continental_srr520::ContinentalSRR520Decoder::RegisterStatusCallback (
    std::function< void(std::unique_ptr< diagnostic_msgs::msg::DiagnosticArray >)> status_callback
) 

Parameters:

  • object_list_callback

Returns:

Resulting status


function RegisterSyncFollowUpCallback

Register function to call whenever a sync follow-up packet is processed.

Status nebula::drivers::continental_srr520::ContinentalSRR520Decoder::RegisterSyncFollowUpCallback (
    std::function< void(builtin_interfaces::msg::Time)> sync_follow_up_callback
) 

Parameters:

  • sync_follow_up_callback

Returns:

Resulting status


function SetLogger

Setting rclcpp::Logger.

void nebula::drivers::continental_srr520::ContinentalSRR520Decoder::SetLogger (
    std::shared_ptr< rclcpp::Logger > node
) 

Parameters:

  • node Logger


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