Function nav2_util::geometry_utils::orientationAroundZAxis

Function Documentation

inline geometry_msgs::msg::Quaternion nav2_util::geometry_utils::orientationAroundZAxis(double angle)

Get a geometry_msgs Quaternion from a yaw angle.

Parameters:

angle – Yaw angle to generate a quaternion from

Returns:

geometry_msgs Quaternion