tfentity = rosApplyTransform(tfmsg,entity)
applies the transformation represented by the 'TransformStamped'
ROS or ROS 2 message to the input message structure
entity.
This function determines the message type of entity and
applies the appropriate transformation method to it.
Note that the vertical direction in the point cloud is represented by the y-axis. You can transform the point cloud such that the z-axis represents the vertical direction. To accomplish this transformation, use the geometry_msgs/TransformStamped message, tfMsg, which contains a transform that rotates the points to a target frame that is 90 degrees in the clockwise direction along x-axis. Read the translation and rotation values from tfMsg using the rosReadTransform function.
Transformation message, specified as a TransformStamped
ROS or ROS 2 message handle. The tfmsg is a ROS or ROS
2 message of type:
'geometry_msgs/TransformStamped'.
ROS or ROS 2 message, specified as a message structure.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.