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 get_status () override
Get current status of this driver.
virtual bool process_packet (std::unique_ptr< nebula_msgs::msg::NebulaPacket > packet_msg) override
Function for parsing NebulaPackets.
Status register_hrr_detection_list_callback (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 register_near_detection_list_callback (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 register_object_list_callback (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 register_packets_callback (std::function< void(std::unique_ptr< nebula_msgs::msg::NebulaPackets >)> nebula_packets_callback)
Register function to call whenever enough packets have been processed.
Status register_status_callback (std::function< void(std::unique_ptr< diagnostic_msgs::msg::DiagnosticArray >)> status_callback)
Register function to call whenever a new object list is processed.
Status register_sync_follow_up_callback (std::function< void(builtin_interfaces::msg::Time)> sync_follow_up_callback)
Register function to call whenever a sync follow-up packet is processed.
void set_logger (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 get_status () = 0
Get current status of this driver.
ContinentalPacketsDecoder & operator= (ContinentalPacketsDecoder && c) = delete
ContinentalPacketsDecoder & operator= (const ContinentalPacketsDecoder & c) = delete
virtual bool process_packet (std::unique_ptr< nebula_msgs::msg::NebulaPacket > packet_msg) = 0
Virtual function for parsing a NebulaPacket.
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 get_status

Get current status of this driver.

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

Returns:

Current status

Implements nebula::drivers::ContinentalPacketsDecoder::get_status


function process_packet

Function for parsing NebulaPackets.

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

Parameters:

  • nebula_packets

Returns:

Resulting flag

Implements nebula::drivers::ContinentalPacketsDecoder::process_packet


function register_hrr_detection_list_callback

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

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

Parameters:

  • detection_list_callback

Returns:

Resulting status


function register_near_detection_list_callback

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

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

Parameters:

  • detection_list_callback

Returns:

Resulting status


function register_object_list_callback

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

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

Parameters:

  • object_list_callback

Returns:

Resulting status


function register_packets_callback

Register function to call whenever enough packets have been processed.

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

Parameters:

  • object_list_callback

Returns:

Resulting status


function register_status_callback

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

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

Parameters:

  • object_list_callback

Returns:

Resulting status


function register_sync_follow_up_callback

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

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

Parameters:

  • sync_follow_up_callback

Returns:

Resulting status


function set_logger

Setting rclcpp::Logger.

void nebula::drivers::continental_srr520::ContinentalSRR520Decoder::set_logger (
    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