Which programming language is officially used to script robots in ROS2?

 title: 'Introduction to ROS 2 (Robot Operating System 2): Tutorial on ROS 2 Working, DDS, ROS 1 RMW, Topics, Nodes, Publisher, Subscriber in Python'

In ROS 2, developers primarily use Python to script robots, although it also supports other programming languages like C++. Python is chosen for its simplicity and the ability to demonstrate functionalities effectively within ROS 2 environments[2].

This distributed and modular framework facilitates the development of robot software, providing tools, libraries, and conventions essential for complex robotic systems[5].