Main Content

rosReadQuaternion

Display lidar scan or point cloud from ROS message structures

Description

q = rosReadQuaternion(quatMsg) creates a quaternion object from a Quaternion ROS message structure

Input Arguments

collapse all

ROS message with type geometry_msgs/Quaternion, specified as a message structure.

Outputs

collapse all

Quaternion, returned as a quaternion object.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

See Also

| (Navigation Toolbox)

Introduced in R2021a