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 <lanelet2_extension/projection/local_frame_projector.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2/LinearMath/Vector3.h>
#include <tuple>
#include <utility>
#include <rclcpp/time.hpp>
#include <carma_perception_msgs/msg/external_object.hpp>
#include <carma_perception_msgs/msg/predicted_state.hpp>
#include <geometry_msgs/msg/quaternion.hpp>
Go to the source code of this file.
Namespaces | |
namespace | motion_computation |
namespace | motion_computation::conversion |
namespace | motion_computation::conversion::impl |
Functions | |
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... | |