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::Heading Struct Reference

#include <j2735_types.hpp>

Collaboration diagram for carma_cooperative_perception::Heading:
Collaboration graph

Static Public Member Functions

static auto from_msg (const j2735_v2x_msgs::msg::Heading &heading) -> Heading
 
static auto from_msg (const carma_v2x_msgs::msg::Heading &heading) -> Heading
 

Public Attributes

units::angle::eighth_deci_degrees_t heading
 

Detailed Description

Definition at line 74 of file j2735_types.hpp.

Member Function Documentation

◆ from_msg() [1/2]

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

Definition at line 106 of file j2735_types.cpp.

107{
108 return {units::angle::degree_t{static_cast<double>(heading.heading)}};
109}
units::angle::eighth_deci_degrees_t heading
Definition: j2735_types.hpp:76

◆ from_msg() [2/2]

auto carma_cooperative_perception::Heading::from_msg ( const j2735_v2x_msgs::msg::Heading &  heading) -> Heading
static

Definition at line 101 of file j2735_types.cpp.

102{
103 return {units::angle::eighth_deci_degrees_t{static_cast<double>(heading.heading)}};
104}

Referenced by carma_cooperative_perception::to_detection_list_msg().

Here is the caller graph for this function:

Member Data Documentation

◆ heading

units::angle::eighth_deci_degrees_t carma_cooperative_perception::Heading::heading

Definition at line 76 of file j2735_types.hpp.


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