yahboom
HomeTutorialsProduct
Solution
Blog
Online Store
About Us
EN/中文
Store
Jetson Orin NX Developer Kit📖
01.Get started
  • 01.Learning route
  • 02.Quick start
  • 03.System Update Notes
  • 04.Disabling automatic updates and troubleshooting issues
02.Jetson basic course
  • 01.Jetson board introduction
  • 02.Write Jetson original system
  • 03.Installing Jetson environment
  • 04.Backup SSD system
  • 05.Restore initial image system
  • 06.Upgrade to SUPER version (Optional)
  • 07.Write SUPER boot (Must read)
  • 08.SSD expansion
  • 09.Jetpack old system upgraded to Yahboom SUPER factory system
  • 10.Write the system onto your own SSD
03.Basic setting course
  • 01.Basic knowledge
  • 02.Network configuration
  • 03.SSH remote login
  • 04.VNC remote control
  • 05.RDP remote control
  • 06.Remote file transfer
  • 07.Jtop tool
  • 08.Exchange space expansion
  • 09.Use VSCode
  • 10.Use VMware
  • 11.Modify screen resolution
04.GPIO control course
  • 01.GPIO description
  • 02.GPIO library installation
  • 03.GPIO reading
  • 04.GPIO output
  • 05.Serial communication
  • 06.I2C communication
05.Vision basic course
  • 01.CSI camera preview
  • 02.USB camera preview
  • 03.Use Jupyter Lab
  • 04.Use JetCam
06.OpenCV basic course
  • 01.Image reading
  • 02.Image saving
  • 03.Image modification
  • 04.Image scaling
  • 05.Image cropping
  • 06.Image translation
  • 07.Image mirroring
  • 08.Image grayscale conversion
  • 09.Image binarization
  • 10.Image edge detection
  • 11.Add line segments
  • 12.Add rectangles
  • 13.Add circular shape
  • 14.Add ellipses
  • 15.Add polygons
  • 16.Add Text
  • 17.Preview USB camera image
  • 18.Preview CSI camera image
07.Vision advanced course
01.Environment construction
  • 01.TensorFlow
  • 02.PyTorch
  • 03.Torchvision
02.DeepStream development
  • 01.DeepStream environment
  • 02.License plate detection and recognition
  • 03.Parallel multi-model inference
  • 04.Object embedding vector generation
  • 05.Pose recognition
  • 06.NV optical flow anomaly detection
  • 07.Single-view 3D tracking
  • 08.Multi-view 3D tracking
03.NVIDIA TAO toolkit application
  • 01.Traffic scene object detection
  • 02.Person object detection
  • 03.Vehicle brand classification
  • 04.Vehicle model classification
  • 05.License plate detection and recognition
  • 06.Person semantic segmentation
  • 07.Optical character detection and recognition
  • 08.Retail product detection and recognition
  • 09.Person feature extraction and matching (ReID)
  • 10.Person action and pose classification
  • 11.Transformer-based person detection
  • 12.3D human skeleton detection
  • 13.LiDAR 3D point cloud detection
04.YOLO11 development
  • 01.YOLO environment construction
  • 02.CLI use
  • 03.Object detection
  • 04.Instance segmentation
  • 05.Pose estimation
  • 06.Image classification
  • 07.Oriented object detection
  • 08.Model conversion
  • 09.Dataset annotation
  • 10.Model training conversion
  • 11.Model prediction
05.YOLO26 development
  • 01.YOLO environment construction
  • 02.CLI use
  • 03.Object detection
  • 04.Instance segmentation
  • 05.Pose estimation
  • 06.Image classification
  • 07.Oriented object detection
  • 08.Model conversion
  • 09.Dataset annotation
  • 10.Model training conversion
  • 11.Model prediction
06.Mediapipe development
  • 01.Mediapipe environment
  • 02.Hand detection
  • 03.Face detection
  • 04.Face effects
  • 05.3D object recognition
  • 06.Virtual brush
  • 07.Gesture recognition
  • 08.Finger control
  • 09.Posture estimation
  • 10.Face mask
  • 11.Overall detection
  • 12.Background removal(Human)
07.QR code recognition
  • QR code recognition
08.Docker basic course
  • 01.Docker introduction
  • 02.Docker installation
  • 03.Docker command
  • 04.Docker usage
  • 05.Docker interaction
09.ROS2-Jazzy
01.ROS2 basic course
  • 1.Introduction to ROS2
  • 2.ROS2 install Jazzy
  • 3.ROS2 development environment
  • 4.ROS2 workspace
  • 5.ROS2 function package
  • 6.ROS2 node
  • 7.ROS2 topic communication
  • 8.ROS2 service communication
  • 9.ROS2 action communication
  • 10.ROS2 custom interface message
  • 11.ROS2 parameter service case
  • 12.ROS2 meta-function package
  • 13.ROS2 distributed communication
  • 14.ROS2 DDS
  • 15.ROS2 time related API
  • 16.ROS2 common command tools
  • 17.ROS2 rviz2 use
  • 18.ROS2 rqt toolbox
  • 19.ROS2 Launch startup file configuration
  • 20.ROS2 recording and playback tool
  • 21.ROS2 URDF model
  • 22.ROS2 Gazebo simulation platform
  • 23.ROS2 TF2 coordinate transformation
02.ROS2 vision course
  • 01.Camera preview (USB)
  • 02.Camera preview (CSI)
  • 03.Camera calibration (USB)
  • 04.Camera calibration (CSI)
  • 05.AR vision (USB)
  • 06.AR vision (CSI)
10.Large model basic course
01.Offline large model
  • 01.AI large model environment deployment
  • 02.Install large model dialogue platform
  • 03.Meta AI - Llama model
  • 04.Alibaba Cloud - Qwen model
  • 05.Microsoft - Phi-4-mini model
  • 06.DeepSeek - DeepSeek model
  • 07.Alibaba Cloud - Qwen-VL visual multimodal large model
  • 08.Google - Gemma visual multimodal large model
  • 09.Llava visual multimodal large model
  • 10.MiniCPM-V visual multimodal large model
  • 11.High-quality vision-language grounding (LocateAnything)
02.Online large model
  • 01.Tongyi Qianwen large model
  • 02.OpenRouter large model API aggregation platform
11.Large model application practice
01.Voice interaction application
  • 0.Voice interaction hardware connection (Must read)
  • 1.Speech to text (ASR)
  • 2.Text to speech (TTS)
  • 3.AI large model voice interaction
  • 4.AI large model voice assistant
02.Multimodal large model application (Online_Offline large model + Text_Voice interaction)
  • 01.Multimodal visual understand application
  • 02.Multimodal text image application
  • 03.Multimodal video analysis application
  • 04.Multi module visual position application
  • 05.Multimodal table scanning application
  • 06.Multimodal autonomous agent application
12.NVIDIA Isaac ROS course
  • 01.Build Isaac ROS environment
  • 02.Deep segmentation
  • 03.DNN stereoscopic depth
  • 04.Free space segmentation
  • 05.Image distortion processing
  • 06.Image segmentation
  • 07.3D scene reconstruction and mapping
  • 08.Object detection
  • 09.3D attitude estimation
  • 10.Visual SLAM
13.OpenClaw deployment and basic usage
01.OpenClaw deployment and introduction
  • 01.Directly use the pre-configured environment (Recommended)
  • 02.OpenClaw Deployment
  • 03.OpenClaw WhatsApp Plugin Application
  • 04.OpenClaw WebChat Interaction
  • 05.OpenClaw TUI Interaction
  • 06.OpenClaw Tools Introduction
  • 07.OpenClawGate Gateway User Manual
  • 08.OpenClawHub Introduction (Skill Installation)
  • 09.OpenClaw Features Overview
02.OpenClaw basic application
  • 01.OpenClaw Application - File Management
  • 02.OpenClaw Application - Camera
  • 03.OpenClaw Application - Browser Control
  • 04.OpenClaw Application - Script Execution
  • 05.OpenClaw Application - AI Programming (Peripheral & GPIO Control)
  • 06.OpenClaw Application - Dedicated AI Assistant
  • 07.OpenClaw Web Search Capability Configuration
03.NVIDIA official Agent Skills application
  • 01.AI-assisted development with VS Code or Cursor
  • 02.Jetson device skills
  • 03.Jetson BSP custom agent skills
14.OpenClaw advanced development
01.Preparation Before Use
  • 01. Peripheral Hardware Configuration
  • 02. OpenClaw API-KEY Configuration
  • 03. OpenClaw Model Switching
  • 04. OpenClaw Prompts
  • 05. AI Voice Interaction Configuration
  • 06. Three Dialogue Configuration Tests
02.OpenClaw AI Programming Peripheral Control
  • 1. Servo Control
  • 2. RGB Strip
  • 3. OLED Display
  • 4. Temperature and Humidity Sensor
  • 5. Camera Application
  • 6. AI Script Peripheral Control
03.OpenClaw Peripheral Integration Applications
  • 1. Plant Care Assistant
  • 2. AI Calorie Estimation
  • 3.AI Rock Paper Scissors Game
  • 4.AI Pet
  • 5.AI Weather Station
  • 6.Temperature Humidity Dashboard
  • 7.Scheduled Tasks
Download
  • System_File
  • VMFile_BootFile
  • Code
  • 3D Model File
  • DataSheet
  • Manual
Download ZIP

Welcome to Jetson Orin NX Developer Kit repository

当製品の日本語版マニュアル資料は、こちらからご取得ください。

23.ROS2 TF2 coordinate transformation

23. ROS2 TF2 coordinate transformation

pip installation note: Under PEP 668, Ubuntu 24.04 marks the system Python as "externally managed", so installing directly with pip may report externally-managed-environment. --break-system-packages allows pip to install packages in that environment; a virtual environment usually does not need this parameter, but this tutorial keeps it so that the commands stay consistent.

1. Introduction to TF2

Coordinate systems are a concept we are very familiar with, and they are also an important foundation in robotics. In a complete robotic system there are many coordinate systems, and how should the positional relationships between these coordinate systems be managed? ROS provides us with a magic tool for managing coordinate systems: TF2

TF system reference: tf: The transform library | IEEE Conference Publication | IEEE Xplore

2. Coordinate systems in robotics

In a mobile robot system, coordinate systems are just as important. For example, the center point of a mobile robot is the base coordinate system Base Link, the position where the radar is located is called the radar coordinate system laser link, and when the robot moves, the odometry accumulates the position. The reference frame of this position is called the odometry coordinate system odom, and the odometry itself has accumulated errors and drift. The reference frame of the absolute position is called the map coordinate system map.

The relationships between the layers of coordinate systems are complex. Some of them are relatively fixed, while others keep changing. Even seemingly simple coordinate systems become complex within a spatial range, so a good coordinate system management system becomes extremely important.

image-20220528142112163

The basic theory of the coordinate system transformation relationship is explained in every robotics textbook. It can be broken down into two parts, translation and rotation, and it is described by a 4x4 matrix. When you draw a coordinate system in space, the transformation relationship between the two is actually the mathematical description of a vector.

The underlying principle of the TF function in ROS is the encapsulation of these mathematical transformations. For detailed theoretical knowledge you can refer to the robotics textbooks; we mainly explain how to use the TF coordinate management system.

3. TF command line operations

Let's first use the example of two little turtles to understand a robot following algorithm based on coordinate systems. For the convenience of the demonstration, it is best to perform this lesson in a virtual machine

3.1. Installing the relevant tools

This example requires us to install the corresponding function packages first: the tf turtle simulator example and the tf tree visualization tool

sudo apt install ros-${ROS_DISTRO}-turtle-tf2-py ros-${ROS_DISTRO}-tf2-tools
sudo pip3 install tf_transforms --break-system-packages
sudo apt install ros-${ROS_DISTRO}-rqt-tf-tree

image-20250905190746493

3.2. Starting up

Then you can start it with a launch file. Afterwards we can control one of the little turtles, and the other little turtle will automatically follow it.

xxxxxxxxxx
ros2 launch turtle_tf2_py turtle_tf2_demo.launch.py
ros2 run turtlesim turtle_teleop_key

When we control the movement of one turtle, the other turtle will follow it as well.

image-20231031174611320

3.3. Viewing the TF tree

xxxxxxxxxx
ros2 run rqt_tf_tree rqt_tf_tree

You can see the TF transformation tree in the rqt window

image-20231031174844745

3.4. Querying the coordinate transformation information

Just seeing the structure of the coordinate systems is not enough. If we want to know the specific relationship between two coordinate systems, we can check it with the tf2_echo tool:

xxxxxxxxxx
ros2 run tf2_ros tf2_echo turtle2 turtle1

After it runs successfully, the terminal keeps printing the transformation values of the coordinate systems

image-20231031174933242

3.5. Coordinate system visualization

  • Run rviz2 and then add the TF display plugin

xxxxxxxxxx
rviz2

Set the reference coordinate system in rivz2 to: world, add the TF display, and then make the little turtle move. The coordinate axes in Rviz will start to move; isn't this more intuitive!

image-20231031175440027

4. Static coordinate transformation

A static coordinate transformation means that the relative position between two coordinate systems is fixed. For example, the position between the radar and base_link is fixed.

Example: For the convenience of the demonstration, it is best to perform this lesson in a virtual machine

4.1. Publishing the pose from A to B

xxxxxxxxxx
ros2 run tf2_ros static_transform_publisher 0 0 3 0 0 3.14 A B

image-20250905190855196

4.2. Monitoring/getting the TF relationship

xxxxxxxxxx
ros2 run tf2_ros tf2_echo A B

4.3. rivz visualization

  • Run rviz2 and then add the TF display plugin

xxxxxxxxxx
rviz2

image-20231031180746331

5. Case introduction

In the previous lesson we explained the TF relationship in the little turtle following example provided by the system. In this lesson we implement this function ourselves.

Course content:

  • Implement the little turtle following case through programming

  • Master the implementation of a dynamic broadcaster through programming

  • Master the implementation of the coordinate transformation between the monitored coordinate systems through programming

  • Master the use of PID control to convert physical quantities (distance, angle) into speed control variables

Advanced content:

  • Understand the ability of the TF system to transform coordinate systems across the time dimension

6. Analysis of the implementation principle of the turtle following case

image-20220528143750881

In the simulator with two turtles, we can define three coordinate systems. For example, the global reference frame of the simulator is called world, and the turtle1 and turtle2 coordinate systems are located at the center points of the two turtles. In this way, the relative position of turtle1 and the world coordinate system represents the position of turtle 1, and turtle 2 works in the same way.

To make turtle 2 move toward turtle 1, we draw a connecting line between the two and add an arrow. Does it remind you of the vector calculation you learned in high school? The way we describe a coordinate transformation is with vectors, so in this following example TF can solve the problem perfectly.

The length of a vector represents the distance and the direction represents the angle. With the distance and the angle, we can set an arbitrary time and then calculate the speed. Then we encapsulate and publish the speed topic, and turtle 2 can start to move.

So the core of this example is to perform the vector calculation through the coordinate system. Since the two turtles keep moving, the vector must also be calculated at a certain period, and this requires the dynamic broadcast and monitoring of TF.

7. Creating a new function package

  1. Create a new function package in the src directory of the workspace to store our files

xxxxxxxxxx
ros2 pkg create pkg_tf --build-type ament_python --dependencies rclpy --node-name turtle_tf_broadcaster

After running the command above, the pkg_tf function package is created, and a turtle_tf_broadcaster node is created at the same time, with the relevant configuration files already configured. Add the following code to the [turtle_tf_broadcaster.py] file:

​x
import rclpy                                       # ROS2 Python interface library
from rclpy.node import Node                        # ROS2 node class
from geometry_msgs.msg import TransformStamped     # Coordinate transformation message
import tf_transformations                          # TF coordinate transformation library
from tf2_ros import TransformBroadcaster           # TF coordinate transformation broadcaster
from turtlesim.msg import Pose                     # turtlesim little turtle position message

class TurtleTFBroadcaster(Node):

    def __init__(self, name):
        super().__init__(name)                                # Initialize the parent class of the ROS2 node

        self.declare_parameter('turtlename', 'turtle')        # Create a parameter for the turtle name
        self.turtlename = self.get_parameter(                 # The externally set parameter value takes precedence, otherwise the default value is used
            'turtlename').get_parameter_value().string_value

        self.tf_broadcaster = TransformBroadcaster(self)      # Create and initialize a TF coordinate transformation broadcast object

        self.subscription = self.create_subscription(         # Create a subscriber to subscribe to the turtle position messages
            Pose,
            f'/{self.turtlename}/pose',                       # Use the turtle name obtained from the parameter
            self.turtle_pose_callback, 1)

    def turtle_pose_callback(self, msg):                              # Create a callback function that handles the turtle position messages and converts the position messages into coordinate transformations
        transform = TransformStamped()                                # Create a coordinate transformation message object

        transform.header.stamp = self.get_clock().now().to_msg()      # Set the timestamp of the coordinate transformation message
        transform.header.frame_id = 'world'                           # Set the source coordinate system of the coordinate transformation
        transform.child_frame_id = self.turtlename                    # Set the target coordinate system of the coordinate transformation
        transform.transform.translation.x = msg.x                     # Set the translation along the X, Y and Z directions in the coordinate transformation
        transform.transform.translation.y = msg.y
        transform.transform.translation.z = 0.0
        q = tf_transformations.quaternion_from_euler(0, 0, msg.theta) # Convert the Euler angles to quaternions (roll, pitch, yaw)
        transform.transform.rotation.x = q[0]                         # Set the rotation along the X, Y and Z directions (quaternions) in the coordinate transformation
        transform.transform.rotation.y = q[1]
        transform.transform.rotation.z = q[2]
        transform.transform.rotation.w = q[3]

        # Send the transformation
        self.tf_broadcaster.sendTransform(transform)     # Broadcast the coordinate transformation; after the turtle position changes, the coordinate transformation information will be updated in time

def main(args=None):
    rclpy.init(args=args)                                # Initialize the ROS2 Python interface
    node = TurtleTFBroadcaster("turtle_tf_broadcaster")  # Create and initialize the ROS2 node object
    rclpy.spin(node)                                     # Loop and wait for ROS2 to exit
    node.destroy_node()                                  # Destroy the node object
    rclpy.shutdown()                                     # Shut down the ROS2 Python interface
  1. Next, create a file named [turtle_following.py] in the same directory as turtle_tf_broadcaster.py, and add the following code:

xxxxxxxxxx
import math
import rclpy                                              # ROS2 Python interface library
from rclpy.node import Node                               # ROS2 node class
import tf_transformations                                 # TF coordinate transformation library
from tf2_ros import TransformException                    # TF coordinate transformation exception class
from tf2_ros.buffer import Buffer                         # Buffer class for storing the coordinate transformation information
from tf2_ros.transform_listener import TransformListener  # Listener class for monitoring the coordinate transformations
from geometry_msgs.msg import Twist                       # ROS2 speed control message
from turtlesim.srv import Spawn                           # Turtle spawning service interface
class TurtleFollowing(Node):

    def __init__(self, name):
        super().__init__(name)                                      # Initialize the parent class of the ROS2 node

        self.declare_parameter('source_frame', 'turtle1')           # Create a parameter for the source coordinate frame name
        self.source_frame = self.get_parameter(                     # The externally set parameter value takes precedence, otherwise the default value is used
            'source_frame').get_parameter_value().string_value

        self.tf_buffer = Buffer()                                   # Create a buffer to save the coordinate transformation information
        self.tf_listener = TransformListener(self.tf_buffer, self)  # Create the listener of the coordinate transformation

        self.spawner = self.create_client(Spawn, 'spawn')           # Create a client that requests the turtle spawning
        self.turtle_spawning_service_ready = False                  # Flag indicating whether the turtle spawning service has been requested
        self.turtle_spawned = False                                 # Flag indicating whether the turtle has been spawned successfully

        self.publisher = self.create_publisher(Twist, 'turtle2/cmd_vel', 1) # Create the speed topic for the turtle that follows the movement

        self.timer = self.create_timer(1.0, self.on_timer)         # Create a fixed-period timer to control the movement of the following turtle

    def on_timer(self):
        from_frame_rel = self.source_frame                         # Source coordinate system
        to_frame_rel   = 'turtle2'                                 # Target coordinate system

        if self.turtle_spawning_service_ready:                     # If the turtle spawning service has already been requested
            if self.turtle_spawned:                                # If the following turtle has already been spawned
                try:
                    now = rclpy.time.Time()                        # Get the current time of the ROS system
                    trans = self.tf_buffer.lookup_transform(       # Monitor the coordinate transformation from the source coordinate system to the target coordinate system at the current moment
                        to_frame_rel,
                        from_frame_rel,
                        now)
                except TransformException as ex:                   # If the coordinate transformation acquisition fails, enter the exception report
                    self.get_logger().info(
                        f'Could not transform {to_frame_rel} to {from_frame_rel}: {ex}')
                    return

                msg = Twist()                                      # Create the speed control message
                scale_rotation_rate = 1.0                          # Calculate the angular velocity according to the turtle angle
                msg.angular.z = scale_rotation_rate * math.atan2(
                    trans.transform.translation.y,
                    trans.transform.translation.x)

                scale_forward_speed = 0.5                          # Calculate the linear velocity according to the turtle distance
                msg.linear.x = scale_forward_speed * math.sqrt(
                    trans.transform.translation.x ** 2 +
                    trans.transform.translation.y ** 2)

                self.publisher.publish(msg)                        # Publish the speed command, and the turtle follows the movement
            else:                                                  # If the following turtle has not been spawned
                if self.result.done():                             # Check whether the turtle has been spawned
                    self.get_logger().info(
                        f'Successfully spawned {self.result.result().name}')
                    self.turtle_spawned = True                     
                else:                                              # The following turtle is still not spawned
                    self.get_logger().info('Spawn is not finished')
        else:                                                      # If the turtle spawning service has not been requested
            if self.spawner.service_is_ready():                    # If the turtle spawning server is already ready
                request = Spawn.Request()                          # Create the request data
                request.name = 'turtle2'                           # Set the content of the request data, including the turtle name, the xy position and the posture
                request.x = float(4)
                request.y = float(2)
                request.theta = float(0)

                self.result = self.spawner.call_async(request)     # Send the service request
                self.turtle_spawning_service_ready = True          # Set the flag to indicate that the request has been sent
            else:
                self.get_logger().info('Service is not ready')     # Prompt that the turtle spawning server is not ready yet


def main(args=None):
    rclpy.init(args=args)                       # Initialize the ROS2 Python interface
    node = TurtleFollowing("turtle_following")  # Create and initialize the ROS2 node object
    rclpy.spin(node)                            # Loop and wait for ROS2 to exit
    node.destroy_node()                         # Destroy the node object
    rclpy.shutdown()                            # Shut down the ROS2 Python interface
  1. Create a new launch folder under the pkg_tf function package, create a file named [turtle_following.launch.py] inside the launch folder, and add the following content:

xxxxxxxxxx
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch.substitutions import LaunchConfiguration
from launch_ros.actions import Node

def generate_launch_description():
    
    return LaunchDescription([
        DeclareLaunchArgument('source_frame', default_value='turtle1', description='Target frame name.'),
        Node(
            package='turtlesim',
            executable='turtlesim_node',
        ),
        Node(
            package='pkg_tf',
            executable='turtle_tf_broadcaster',
            name='broadcaster1',
            parameters=[
                {'turtlename': 'turtle1'}
            ]
        ),
        Node(
            package='pkg_tf',
            executable='turtle_tf_broadcaster',
            name='broadcaster2',
            parameters=[
                {'turtlename': 'turtle2'}
            ]
        ),
        Node(
            package='pkg_tf',
            executable='turtle_following',
            name='listener',
            parameters=[
                {'source_frame': LaunchConfiguration('source_frame')}
            ]
        ), 
    ])

8. Editing the configuration file

8.1. Configuration in setup.py

  • Import the relevant libraries

xxxxxxxxxx
import os
from glob import glob
  • Add the turtle_following node information, and add the following command to copy the launch file into the shared directory in install

xxxxxxxxxx
(os.path.join('share',package_name,'launch'),glob('launch/*')),

image-20250905192526237

9. Compiling the function package

xxxxxxxxxx
colcon build --packages-select pkg_tf

image-20250905192624459

10. Running the program

  • Refresh the terminal environment variables, then run

xxxxxxxxxx
ros2 launch pkg_tf turtle_following.launch.py

image-20250905192745346

  • Start the turtle keyboard control node to control the movement of the first little turtle; the second turtle will automatically follow

xxxxxxxxxx
ros2 run turtlesim turtle_teleop_key

image-20250905192830965

In this terminal, press the up, down, left and right keys on the keyboard to control the movement of one of the little turtles, and then the other little turtle will follow it until they overlap.

11. Advanced content

  • Understanding the cross-time dimension transformation capability of TF

    Buffer can automatically cache all the TF transformation relationships in the TF system over the past 10s through the buffer (you can set any cache duration yourself with the Buffer constructor parameter). All the transformations in the buffer are based on timestamps, and all of them are continuous and traceable. Even if the two coordinate systems are at different points in time, the coordinate transformation relationship between them can still be found. For this point you can refer to the references of designing the TF system, where the principle is explained in detail (the documents are in the folder of this lesson, or you can use the link at the beginning of this lesson)

image-20250905193230441

  • The following is a supplement to the turtle following case above. The red arrow indicates that the transformation between two coordinate systems at different points in time can be found across time

image-20250905193837592

ROS2 Gazebo simulation platform
Camera preview (USB)

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文