ROS2 Basic

Updated 4 Oct 2026

  • Topics connect two nodes together
    • publisher node
    • subscriber node
  • ROS Serivice
    • คล้าย ๆ กับ function เปล่านะ ไปเรียก spawn clear, สามารถ list ดูได้ว่ามี function อะไร available บ้างง
  • ROS Parameters
    • pass parameter to node เหมือน pass เข้า function นั่นแหละ แต่ function ของเราเป็น node เอง
    • get value ตอนนี้ได้
    • set value ให้เปลี่ยนได้
  • ROS Actions
    • lets you communicate between nodes with a goal, feedback, and result in a clinets-server fashion
    • What is that?

Create our own packages need to understand Workspace first

  • ROS Workspace
    • under src folder → นั่นแหละ contain เพียบ
  • Colcon build tool

Rviz เอาไว้ใช้ดู Map ได้เลย