8.1.2.7. 其他設定

設定 web_setting_tool

1. 將檔案從 ROBOTIS-OP3-Tools 文件夾複製到 Web 服務器文件夾:github

 $ cd ~/catkin_ws/src/ROBOTIS-OP3-Tools/op3_web_setting_tool
 $ sudo cp -r ./html /var/www

2. 從 Web 瀏覽器中檢查預設頁面

3. 如何使用 web setting tool

設定 Shutdown Sound 關機聲音

1. 新增 /etc/init.d/shutdown-snd 檔

  • 使用文字編輯器來新增

2. 將以下訊息附加到檔案中並保存。

3. 向檔案添加執行權限。

4. 將關機的 mp3 檔複製到 /usr/share/sounds/ 文件夾。

5. 為關機聲音新增一個服務。

  • 新增 /etc/systemd/system/shutdown_sound.service 檔

    • 使用文字編輯器來新增檔案

  • 將以下訊息附加到文件並保存。

  • 註冊服務並執行

設定用於關機的 Power 按鈕

  • 轉到Start Button -> Settings -> Power Manager.

  • 轉到 General -> Buttons -> 當按住電源按鈕時,更改選項為 “Shutdown”

Last updated

Was this helpful?