Skip to content

Ported the KitBot Classes example to MagicBot - #2

Open
virtuald wants to merge 1 commit into
mainfrom
magicbot
Open

virtuald wants to merge 1 commit into
mainfrom
magicbot

Conversation

@virtuald

@virtuald virtuald commented Jan 10, 2026 •

Copy link
Copy Markdown
Member

Introduced MagicBot components/state machines for drive and fuel control, a MagicBot autonomous routine, and a new MagicBot project config without commands2. The new project lives under 2026KitBotMagicbot/ and mirrors the original behavior while using MagicBot patterns (component injection, tunables, state machines).

Details and locations:

  • MagicBot robot entrypoint and control logic in 2026KitBotMagicbot/robot.py
  • Drive component configuration/execution in 2026KitBotMagicbot/components/drivetrain.py
  • Fuel component with tunables and actions in 2026KitBotMagicbot/components/fuel.py
  • Launch sequence state machine in 2026KitBotMagicbot/components/launch_sequence.py
  • Autonomous mode in 2026KitBotMagicbot/autonomous/exampleauto.py
  • MagicBot dependencies in 2026KitBotMagicbot/pyproject.toml
  • Test list update in run_tests.sh

I did this with OpenAI Codex and it did it in 5 minutes. It... looks right, but I haven't tested it.

I'm inclined to not merge this unless someone else tries it on a kitbot and reports that it works.

Introduced MagicBot components/state machines for drive and fuel control, a MagicBot autonomous routine, and a new MagicBot project config without commands2. The new project lives under 2026KitBotMagicbot/ and mirrors the original behavior while using MagicBot patterns (component injection, tunables, state machines).

  Details and locations:

  - MagicBot robot entrypoint and control logic in 2026KitBotMagicbot/robot.py
  - Drive component configuration/execution in 2026KitBotMagicbot/components/drivetrain.py
  - Fuel component with tunables and actions in 2026KitBotMagicbot/components/fuel.py
  - Launch sequence state machine in 2026KitBotMagicbot/components/launch_sequence.py
  - Autonomous mode in 2026KitBotMagicbot/autonomous/exampleauto.py
  - MagicBot dependencies in 2026KitBotMagicbot/pyproject.toml
  - Test list update in run_tests.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant