Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
carma_cooperative_perception::MeasurementTimeOffset Struct Reference

#include <j3224_types.hpp>

Collaboration diagram for carma_cooperative_perception::MeasurementTimeOffset:
Collaboration graph

Static Public Member Functions

static auto from_msg (const j3224_v2x_msgs::msg::MeasurementTimeOffset &msg) -> MeasurementTimeOffset
 
static auto from_msg (const carma_v2x_msgs::msg::MeasurementTimeOffset &msg) -> MeasurementTimeOffset
 

Public Attributes

units::time::millisecond_t measurement_time_offset
 

Detailed Description

Definition at line 41 of file j3224_types.hpp.

Member Function Documentation

◆ from_msg() [1/2]

auto carma_cooperative_perception::MeasurementTimeOffset::from_msg ( const carma_v2x_msgs::msg::MeasurementTimeOffset &  msg) -> MeasurementTimeOffset
static

Definition at line 53 of file j3224_types.cpp.

55{
56 return {units::time::second_t{static_cast<double>(msg.measurement_time_offset)}};
57}

◆ from_msg() [2/2]

auto carma_cooperative_perception::MeasurementTimeOffset::from_msg ( const j3224_v2x_msgs::msg::MeasurementTimeOffset &  msg) -> MeasurementTimeOffset
static

Definition at line 47 of file j3224_types.cpp.

49{
50 return {units::time::millisecond_t{static_cast<double>(msg.measurement_time_offset)}};
51}

Referenced by carma_cooperative_perception::to_detection_list_msg().

Here is the caller graph for this function:

Member Data Documentation

◆ measurement_time_offset

units::time::millisecond_t carma_cooperative_perception::MeasurementTimeOffset::measurement_time_offset

Definition at line 43 of file j3224_types.hpp.


The documentation for this struct was generated from the following files: