Skip to content

RoboCupAtHome/CommandGenerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

Install

With Build Frontend of your choice. e.g. uv

# get uv if not installed
mkdir ~/generator && cd ~/generator
wget https://github.com/astral-sh/uv/releases/download/0.9.25/uv-x86_64-unknown-linux-gnu.tar.gz
tar -xvf uv-x86_64-unknown-linux-gnu.tar.gz
mv uv-x86_64-unknown-linux-gnu/uv .

# install command generator
uv venv --python 3.12
source .venv/bin/activate
uv pip install git+https://github.com/RoboCupAtHome/CommandGenerator
athome-generator --help

Commandline Generator

usage: athome-generator [-h] [-d DATA_DIR] [-p]

Generate Commands for Robocup@Home

options:
  -h, --help            show this help message and exit
  -d DATA_DIR, --data-dir DATA_DIR
                        directory where the data is read from
  -p, --print-config    print parsed data and exit

Run the generator for the given DATA_DIR

  • athome-generator -d DATA_DIR

For an example layout check out the: CompetitionTemplate

GPSR UI

nicegui UI for GPSR generator. Supports rephrasing via openai compatible llm apis over http://{host}:{port}/v1/chat/completions.

athome-generator-gpsr-ui --help
usage: athome-generator-gpsr-ui [-h] [-u URL] [--host HOST] [--port PORT] [-a API_KEY] [-d DATA_DIR]

robocupathome GPSR-UI for usage in competitions

options:
  -h, --help            show this help message and exit
  -u URL, --url URL     Full URL to OpenAI compatible Chat API
  --host HOST           LLM host
  --port PORT           LLM port
  -a API_KEY, --api-key API_KEY
                        LLM API Key
  -d DATA_DIR, --data-dir DATA_DIR
                        directory where the data is read from

Generate View

Display View

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%