如何安裝編舞(How to install choreographer)
主旨
本文概述瞭如何安裝 Spot 的 Choreographer 應用程序。
前言大綱
設置 Choreographer 應用程序以編寫例程並在機器人上執行它們的系統要求和安裝說明指南。
系統要求
Choreographer 支持在 64 位 Microsoft Windows 10 機器和 Ubuntu 18.04 Linux 機器上作為可執行文件運行。運行 Choreographer 應用程序不需要其他系統依賴項。Choreographer 應用程序和編舞服務需要機器人的特殊許可證。
要獨立於 Choreographer 使用 Choreography SDK,必須安裝 python 3 和 bosdyn-choreography-protos 和 bosdyn-choreography-client wheels。
按照 https://dev.bostondynamics.com/docs/python/quickstart 上的說明安裝 Choreography SDK。
安裝和運行編舞
- 從支持中心的下載頁面下載 Choreographer。
- 要在沒有連接任何機器人的情況下運行 Choroeographer,只需雙擊可執行文件將其打開。
- 要使用機器人運行 Choreographer,請從命令行啟動 Choreographer,在下載可執行文件的目錄中,使用以下選項:
- On windows:
- choreographer.exe --hostname {ROBOT_IP} --user {USERNAME} --password {PASSWORD}
- On Linux:
- ./choreographer --hostname {ROBOT_IP} --user {USERNAME} --password {PASSWORD}
“--hostname”是機器人的 IP 地址或將連接到 Choreographer 的 Spot 機器人的主機名。“--username”和“--password”是機器人所需的憑據。
請注意,與許多 API 示例不同,ROBOT_IP 參數現在需要命令行標誌“--hostname”在它之前。
多個機器人可以一次連接到 Choreographer。需要為每個要連接的機器人提供命令行參數“--hostname”、“--username”、“--password”。
留言
張貼留言
Aron阿龍,謝謝您的留言互動!