"# ros2_humble_turtlesim_modified"
Environment: ROS2 Humble
Please open the terminal in the workspace folder, and write the following code to run the program:
colcon build
source install/setup.bash
ros2 launch turtle_battle turtle_battle_launch.py
Please use Ctrl-C to end the program.
https://github.com/fishros/turtle_battle/tree/master. turtle_spawner.py, the program for randomly generating new turtles, is mainly based on this reference, with some modifications.