Main Content


Display lidar scan or point cloud from ROS message structures


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.


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