Add run command for launching robot controller and Webots simulator

This commit is contained in:
Даниил Грабарь
2026-05-21 11:41:54 +10:00
parent 2903b8825d
commit e18ff53532
3 changed files with 498 additions and 1 deletions
+5
View File
@@ -6,6 +6,7 @@ from cobot.commands import docker_setup as cmd_docker_setup
from cobot.commands import doc_setup as cmd_doc_setup
from cobot.commands import local_setup as cmd_local_setup
from cobot.commands import robot_setup as cmd_robot_setup
from cobot.commands import run as cmd_run
from cobot.commands import setup as cmd_setup
from cobot.commands import update as cmd_update
@@ -19,6 +20,9 @@ _GROUPS = [
("doc-setup", "deploy or stop the MkDocs documentation server"),
("robot-setup", "configure cobot-setting.yaml interactively"),
]),
("Run", [
("run", "launch the robot controller or Webots simulator (local or Docker)"),
]),
("Management", [
("update", "pull latest changes from the remote git branch and reinstall cobot"),
("delete", "remove the project, Docker images, containers, and optionally ROS2"),
@@ -80,5 +84,6 @@ def _register_commands(subparsers):
cmd_docker_setup.register(subparsers)
cmd_doc_setup.register(subparsers)
cmd_robot_setup.register(subparsers)
cmd_run.register(subparsers)
cmd_update.register(subparsers)
cmd_delete.register(subparsers)