TurtleBot3에서 Google Cloud Text-to-Speech를 사용하기 위한 Google Cloud 설정 방법

ROS 2 Humble이 설치된 TurtleBot3 Burger에서 Google Cloud Text-to-Speech API를 사용하려면 먼저 Google Cloud 프로젝트, 결제 계정, API, 서비스 계정, 인증 키를 설정해야 합니다. 이번 설정의 최종 목표는 다음과 같습니다. 이 글에서는 Python 코드에서 다음 방식으로 인증하는 것을 기준으로 설명합니다. TextToSpeechClient()는 Application Default Credentials, ADC 방식을 사용하여 인증 정보를 자동으로 찾습니다. TurtleBot3에서는 서비스 계정 JSON … TurtleBot3에서 Google Cloud Text-to-Speech를 사용하기 위한 Google Cloud 설정 방법 계속 읽기