Autoware.Auto
lidar_integration.lidar_checker Namespace Reference

Functions

def make_lidar_checker (input_type, topic, size, period, period_tolerance=0.7, size_tolerance=0.1, runtime=10)
 
def make_pcl_checker (topic, size, period, period_tolerance=0.7, size_tolerance=0.1, runtime=10)
 
def make_box_checker (topic, size, period, period_tolerance=0.7, size_tolerance=0.1, runtime=10)
 

Function Documentation

◆ make_box_checker()

def lidar_integration.lidar_checker.make_box_checker (   topic,
  size,
  period,
  period_tolerance = 0.7,
  size_tolerance = 0.1,
  runtime = 10 
)
Make a lidar_integration_listener to check the specified topic.

This checker expects the topic to be of type BoundingBoxArray

:param size: The expected size of the bounding boxes
:param period: The expected period of the incoming messages
:param period_tolerance: A percentage expressed as a number from 0 to 1 that controls
how far off the period can be from the expected value.  Larger numbers = wider tolerance
:param size_tolerance: A percentage expressed as a number from 0 to 1 that controls
how far off the size can be from the expected value.  Larger numbers = wider tolerance
:param runtime: The amount of time to run the checker for

◆ make_lidar_checker()

def lidar_integration.lidar_checker.make_lidar_checker (   input_type,
  topic,
  size,
  period,
  period_tolerance = 0.7,
  size_tolerance = 0.1,
  runtime = 10 
)
Make a lidar_integration_listener to check the specified topic.

:param input_type: One of "cloud", "box", "track", or "block", specifying the listened topic
type
:param size: The expected size of the point cloud messages
:param period: The expected period of the incoming messages
:param period_tolerance: A percentage expressed as a number from 0 to 1 that controls
how far off the period can be from the expected value.  Larger numbers = wider tolerance
:param size_tolerance: A percentage expressed as a number from 0 to 1 that controls
how far off the size can be from the expected value.  Larger numbers = wider tolerance
:param runtime: The amount of time to run the checker for

◆ make_pcl_checker()

def lidar_integration.lidar_checker.make_pcl_checker (   topic,
  size,
  period,
  period_tolerance = 0.7,
  size_tolerance = 0.1,
  runtime = 10 
)
Make a lidar_integration_listener to check the specified topic.

This checker expects the topic to be of type sensor_msgs/PointCloud

:param size: The expected size of the point cloud messages
:param period: The expected period of the incoming messages
:param period_tolerance: A percentage expressed as a number from 0 to 1 that controls
how far off the period can be from the expected value.  Larger numbers = wider tolerance
:param size_tolerance: A percentage expressed as a number from 0 to 1 that controls
how far off the size can be from the expected value.  Larger numbers = wider tolerance
:param runtime: The amount of time to run the checker for