Add async callbacks and Kronos integration to API

Introduces async callback support for command execution in spawn methods, adds registration/unregistration for update and startup callbacks, and improves logging and signal handling. Adds a new Kronos module and main entry point for initializing and running the API with Kronos integration. Refactors example scripts and updates VSCode launch configurations for new entry points.
This commit is contained in:
Pax1601
2025-08-08 11:06:53 +02:00
parent 716b0dc48d
commit 5fa1a26843
6 changed files with 244 additions and 143 deletions

View File

@@ -5,7 +5,7 @@ from math import pi
# Setup a logger for the module
import logging
logger = logging.getLogger("TestBed")
logger = logging.getLogger("example_disembarked_infantry")
logger.setLevel(logging.INFO)
handler = logging.StreamHandler()
formatter = logging.Formatter('[%(asctime)s] %(name)s - %(levelname)s - %(message)s')