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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.