Crate mecha10_nodes_llm_command

Crate mecha10_nodes_llm_command 

Source
Expand description

LLM Command Node

Natural language command parsing via LLM APIs (OpenAI, Claude, Ollama).

§Topic Interface

Input: /ai/command (CommandMessage) Output: /ai/response (ResponseMessage) Output: /nav/goal (NavigationGoal) Output: /motor/cmd_vel (MotorCommand) Output: /behavior/execute (BehaviorCommand)

§Provider Agnosticism

This node doesn’t care about the LLM provider:

  • OpenAI API → Uses OpenAIProvider
  • Claude API → Uses ClaudeProvider
  • Local Ollama → Uses LocalProvider

Same interface = same node works everywhere!

Structs§

BehaviorCommand
Behavior execution command
CommandMessage
Natural language command from user
Detection
Object detection (from object-detector node)
DetectionResult
Detection result from vision system
MotorCommand
Motor velocity command
NavigationGoal
Navigation goal
OpenAIReasoningConfig
LLM Command Node Configuration
OpenAIReasoningNode
ResponseMessage
Response from LLM
TopicConfig
Topic paths for the reasoning node

Functions§

run