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.
|
#include <tf2/LinearMath/Transform.h>
#include <string>
#include <utility>
#include <motion_computation/impl/mobility_path_to_external_object_helpers.hpp>
#include <rclcpp/logger.hpp>
#include <rclcpp/logging.hpp>
#include <carma_perception_msgs/msg/external_object.hpp>
#include <carma_v2x_msgs/msg/mobility_path.hpp>
Go to the source code of this file.
Namespaces | |
namespace | motion_computation |
namespace | motion_computation::conversion |
namespace | motion_computation::conversion::impl |
Functions | |
void | motion_computation::conversion::convert (const carma_v2x_msgs::msg::MobilityPath &in_msg, carma_perception_msgs::msg::ExternalObject &out_msg, const lanelet::projection::LocalFrameProjector &map_projector) |
std::pair< carma_perception_msgs::msg::PredictedState, double > | motion_computation::conversion::impl::composePredictedState (const tf2::Vector3 &curr_pt, const tf2::Vector3 &prev_pt, const rclcpp::Time &prev_time_stamp, const rclcpp::Time &curr_time_stamp, double prev_yaw) |
Composes a PredictedState message form a provided current point and previous point. It calculates the speed from these points using mobility_path_time_step. More... | |
void | motion_computation::conversion::impl::calculateAngVelocityOfPredictedStates (carma_perception_msgs::msg::ExternalObject &object) |
Helper function to fill in the angular velocity of the external object. More... | |
double | motion_computation::conversion::impl::getYawFromQuaternionMsg (const geometry_msgs::msg::Quaternion &quaternion) |
Gets the yaw angle in degrees described by the provided quaternion. More... | |
tf2::Vector3 | motion_computation::conversion::impl::transform_to_map_frame (const tf2::Vector3 &ecef_point, const lanelet::projection::LocalFrameProjector &map_projector) |
Transforms ecef point to map frame using internally saved map transform. More... | |