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.
lci_strategic_plugin.cpp File Reference
#include "lci_strategic_plugin/lci_strategic_plugin.hpp"
#include "lci_strategic_plugin/lci_states.hpp"
#include "rclcpp_components/register_node_macro.hpp"
Include dependency graph for lci_strategic_plugin.cpp:

Go to the source code of this file.

Namespaces

namespace  lci_strategic_plugin
 

Macros

#define EPSILON   0.01
 
#define GET_MANEUVER_PROPERTY(mvr, property)
 

Macro Definition Documentation

◆ EPSILON

#define EPSILON   0.01

Definition at line 19 of file lci_strategic_plugin.cpp.

◆ GET_MANEUVER_PROPERTY

#define GET_MANEUVER_PROPERTY (   mvr,
  property 
)
Value:
(((mvr).type == carma_planning_msgs::msg::Maneuver::INTERSECTION_TRANSIT_LEFT_TURN ? \
(mvr).intersection_transit_left_turn_maneuver.property : \
((mvr).type == carma_planning_msgs::msg::Maneuver::INTERSECTION_TRANSIT_RIGHT_TURN ? \
(mvr).intersection_transit_right_turn_maneuver.property : \
((mvr).type == carma_planning_msgs::msg::Maneuver::INTERSECTION_TRANSIT_STRAIGHT ? \
(mvr).intersection_transit_straight_maneuver.property : \
((mvr).type == carma_planning_msgs::msg::Maneuver::LANE_CHANGE ? (mvr).lane_change_maneuver.property : \
(mvr).type == carma_planning_msgs::msg::Maneuver::LANE_FOLLOWING ? (mvr).lane_following_maneuver.property : \
throw new std::invalid_argument("GET_MANEUVER_" \
"PROPERTY " \
"(property) " \
"called on " \
"maneuver with " \
"invalid type " \
"id"))))))

Definition at line 21 of file lci_strategic_plugin.cpp.