This is a small tutorial on how to debug a ROS2 C++ node usign VSCode.
This implementation was done using:
import time | |
from threading import Event | |
from example_interfaces.srv import AddTwoInts | |
import rclpy | |
from rclpy.node import Node | |
from rclpy.callback_groups import ReentrantCallbackGroup | |
from rclpy.executors import MultiThreadedExecutor, SingleThreadedExecutor |