We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5dd1ef commit b94e44aCopy full SHA for b94e44a
src/kevinbotlib_deploytool_example/__init__.py
@@ -1,3 +1,8 @@
1
# SPDX-FileCopyrightText: 2025-present meowmeowahr <meowmeowahr@gmail.com>
2
#
3
# SPDX-License-Identifier: LGPL-3.0-or-later
4
+
5
+from kevinbotlib_deploytool_example.main import ExampleRobot
6
7
+if __name__ == "__main__":
8
+ ExampleRobot().run()
src/kevinbotlib_deploytool_example/main.py
@@ -0,0 +1,13 @@
+from typing import override
+from kevinbotlib.robot import BaseRobot
+class ExampleRobot(BaseRobot):
+ def __init__(self):
+ super().__init__(["DeployedRobotOpMode"])
9
10
+ @override
11
+ def opmode_init(self, opmode: str, enabled: bool) -> None:
12
+ super().opmode_init(opmode, enabled)
13
+ print("Example robot started up...") # noqa: T201
0 commit comments