Skip to content

AI 코딩 지원

이 문서에서는 AI 지원 도구(예: CodeBuddy, Codex, Cursor 등)를 사용하여 로봇 프로그램을 빠르게 개발하는 방법을 설명합니다.

준비

AI 코딩을 사용하기 전에 참조 문서를 준비해야 합니다.

: AI 에이전트가 URL을 잘 읽을 수 없는 경우 위의 txt 문서를 로컬 프로젝트 디렉터리에 다운로드하고 프롬프트에서 로컬 파일 경로를 참조하세요.

예제 프롬프트

다음은 로봇 상태를 읽는 Python 프로그램을 생성하는 완전한 예입니다.

Read the following documentation and write a Python program that reads the robot's current position, coordinate system number, servo status, and other information.

Reference materials:
SDK Documentation: https://dev.sh-agilebot.com/docs/sdk/knowledge/docs.txt

로컬 문서에 의존하는 경우 다음과 같이 수정할 수 있습니다.

Read the following documentation and write a Python program that reads the robot's current position, coordinate system number, servo status, and other information.

Reference materials:
SDK Documentation: ./docs/sdk_docs.txt

사용 팁

  1. 명확한 요구사항: 구현하려는 기능을 명확하게 설명하세요.
  2. 컨텍스트 제공: 관련 문서 및 예시 참조
  3. 단계적 구현: AI를 사용하여 복잡한 기능을 단계별로 생성할 수 있습니다.

메모

  1. AI가 생성한 코드는 검증과 테스트가 필요함
  2. 코드가 프로젝트 코딩 표준을 준수하는지 확인하세요.
  3. 로봇 제어와 관련된 코드는 보안 검토를 받아야 합니다.