AGV, AMR, xe giao hàng – robot di động là nhóm được mô phỏng nhiều nhất. Isaac Sim có sẵn extension isaacsim.robot.wheeled_robots với lớp robot bánh xe và các bộ điều khiển động học phổ biến.
- Dùng WheeledRobot và DifferentialController điều khiển Jetbot.
- Hiểu công thức động học vi sai và chọn đúng tham số.
- Biết khi nào dùng bộ điều khiển đa hướng và Ackermann.
1. WheeledRobot
WheeledRobot là articulation biết khớp nào là bánh dẫn động. Hàm apply_wheel_actions() nhận một ArticulationAction chỉ chứa vận tốc các bánh đó – bạn không phải lo chỉ số khớp.
2. Động học vi sai

DifferentialController.forward(command=[v, ω]) nhận vận tốc thẳng v (m/s) và vận tốc góc ω (rad/s), trả về vận tốc góc của bánh trái/phải theo công thức trên (có giới hạn vận tốc bánh nếu bạn khai báo). Sai bán kính bánh hay khoảng cách bánh là xe đi sai quãng đường, quay sai góc – hãy lấy đúng thông số của robot.
3. Chương trình mẫu: Jetbot
from isaacsim import SimulationApp
simulation_app = SimulationApp({"headless": False})
import numpy as np
from isaacsim.core.api import World
from isaacsim.robot.wheeled_robots.robots import WheeledRobot
from isaacsim.robot.wheeled_robots.controllers.differential_controller import DifferentialController
from isaacsim.storage.native import get_assets_root_path
world = World(stage_units_in_meters=1.0)
world.scene.add_default_ground_plane()
jetbot = world.scene.add(WheeledRobot(
prim_path="/World/Jetbot", name="jetbot",
wheel_dof_names=["left_wheel_joint", "right_wheel_joint"],
create_robot=True,
usd_path=get_assets_root_path() + "/Isaac/Robots/NVIDIA/Jetbot/jetbot.usd",
position=np.array([0.0, 0.0, 0.05]),
))
ctrl = DifferentialController(name="diff", wheel_radius=0.03, wheel_base=0.1125)
world.reset()
i, reset_needed = 0, False
while simulation_app.is_running():
world.step(render=True)
if world.is_stopped() and not reset_needed:
reset_needed = True
if world.is_playing():
if reset_needed:
world.reset(); ctrl.reset(); reset_needed = False; i = 0
if i < 1000:
cmd = [0.1, 0.0] # đi thẳng 0,1 m/s
elif i < 1300:
cmd = [0.0, np.pi / 12] # quay tại chỗ 15°/s
else:
cmd = [0.1, 0.0]
jetbot.apply_wheel_actions(ctrl.forward(command=cmd))
i = (i + 1) % 2000
simulation_app.close()

Trên robot mô phỏng, quỹ đạo thật sẽ lệch dần so với hình 2 do trượt bánh, ma sát và quán tính – đúng như robot thật. Đọc vận tốc thật bằng jetbot.get_linear_velocity(), get_angular_velocity(), vị trí bằng get_world_pose() để so sánh.
4. Xe bánh đa hướng (holonomic)
Robot dùng bánh omni/mecanum (ví dụ Kaya ba bánh omni) đi ngang được. HolonomicController nhận lệnh [vx, vy, ω] và tính vận tốc từng bánh dựa trên vị trí, hướng, bán kính bánh và góc con lăn. Thông số này lấy tự động từ USD nhờ HolonomicRobotUsdSetup:
from isaacsim.robot.wheeled_robots.controllers.holonomic_controller import HolonomicController
from isaacsim.robot.wheeled_robots.robots.holonomic_robot_usd_setup import HolonomicRobotUsdSetup
setup = HolonomicRobotUsdSetup(robot_prim_path="/World/Kaya",
com_prim_path="/World/Kaya/base_link/control_offset")
(radius, positions, orientations, mecanum_angles, wheel_axis, up_axis) = setup.get_holonomic_controller_params()
holo = HolonomicController(name="holo", wheel_radius=radius, wheel_positions=positions,
wheel_orientations=orientations, mecanum_angles=mecanum_angles,
wheel_axis=wheel_axis, up_axis=up_axis)
kaya.apply_wheel_actions(holo.forward(command=[0.2, 0.1, 0.0])) # đi chéo
5. Xe kiểu ô tô (Ackermann)
Xe có bánh lái phía trước (xe tự hành mô hình, xe kéo) dùng AckermannController: nhận góc lái và tốc độ, tính góc cho hai bánh lái (khác nhau theo hình học Ackermann) và vận tốc bánh dẫn động. Phiên bản OmniGraph của nó được dùng trong tutorial ROS 2 Ackermann với xe Leatherback.
6. Mẹo thực tế
- Bánh dẫn động phải là drive vận tốc (stiffness = 0, damping lớn); bánh tự do (caster) không có drive.
- Xe bị lắc, nảy: kiểm tra collider bánh (dùng trụ/cầu), khối lượng thân xe, ma sát lốp.
- Xe trượt khi tăng tốc: thêm giới hạn gia tốc (DifferentialController bản OmniGraph có
maxAcceleration,maxDeceleration) hoặc tăng ma sát. - Muốn điều khiển từ ROS 2 bằng
cmd_vel: dùng đồ thị OmniGraph ở bài #20, không cần code Python.
Bài tiếp theo (#14): tay máy – SingleManipulator, tay kẹp và bài toán gắp – đặt.
Tài liệu tham khảo
- Mobile Robot Controllers
- Core API Tutorial: Adding a Controller
- Core API Tutorial: Hello Robot
- Ví dụ standalone đi kèm Isaac Sim 5.1 (GitHub isaac-sim/IsaacSim)
Loạt bài "Robot với Isaac Sim" viết theo tài liệu và mã nguồn NVIDIA Isaac Sim 5.1.0. Isaac Sim, Omniverse, PhysX, RTX là thương hiệu của NVIDIA.