Skip to main content

Section 10.7 Glossary

Synchronous Communication
A communication style where a process sends a request and blocks, waiting for a response before continuing its own execution.
Asynchronous Communication
A communication style where a process broadcasts data or registers a listener, then immediately continues its own execution without waiting for a response.
Publisher
A node component that sends messages onto a topic.
Subscriber
A node component that receives messages from a topic and processes them through a callback.
Callback Function
Code that runs automatically in response to an event, such as a timer firing or a message arriving, rather than being called directly by the main program.
Timer Callback
A callback function invoked repeatedly at a fixed interval, commonly used to trigger periodic publishing.
Quality of Service (QoS)
Settings, such as a publisher’s queue size, that control how message delivery is handled between a publisher and its subscribers.
spin
The ROS2 call that keeps a node running and processing callbacks until it is shut down.
cmd_vel
A conventional topic name used to send velocity commands, typically as a Twist message, to a mobile robot.
Twist Message
A standard ROS2 message type describing linear and angular velocity.
sensor_msgs/LaserScan
A standard ROS2 message type describing a set of distance readings from a range sensor such as a LiDAR.
Decoupling
A design property where publishers and subscribers can be added, removed, or replaced without requiring changes to one another.
TurtleSim
A lightweight ROS2 simulator used to practice publishing and subscribing without physical robot hardware.
turtlesim/msg/Pose
The standard ROS2 message type published by TurtleSim on /turtle1/pose, describing the turtle’s current position \((x, y)\) and heading (\(\theta\)).
You have attempted of activities on this page.