Velodyne

前言大綱

此示例演示如何使用 Velodyne 服務查詢點雲。 它與機器人進行身份驗證並設置 PointCloudClient。 設置客戶端后,它會輪詢服務以獲取更新的點雲並使用  Pyplot  顯示它們。

設置相依性

此示例需要使用 python3 運行並安裝 Spot SDK。 它還需要 PyQt5。 在 Linux 上,建議不要通過 pip 安裝它,以便系統主題正常工作。 為了在虛擬環境中使用系統 PyQt 包,請使用 --system-site-packages 創建 virtualenv。 有關相依性列表,請參閱 requirements.txt 文件。 使用以下命令通過 pip 安裝依賴項:

Linux:

python -m pip install -r requirements.txt
sudo apt install python3-pyqt5 python3-pyqt5.qtopengl qt5-style-plugins

Windows:

py.exe -3 -m pip install -r requirements.txt
py.exe -3 -m pip install PyOpenGL pyqt5

運行範例:

python client.py --username USER --password PASSWORD ROBOT_HOSTNAME

參考資料

特色、摘要,Feature、Summary:

關鍵字、標籤,Keyword、Tag:

留言

這個網誌中的熱門文章

Ubuntu 常用指令、分類與簡介

iptables的觀念與使用

網路設定必要參數IP、netmask(遮罩)、Gateway(閘道)、DNS

了解、分析登錄檔 - log

Python 與SQLite 資料庫

Blogger文章排版範本

Pandas 模組

如何撰寫Shell Script

查詢指令或設定 -Linux 線上手冊 - man

下載網頁使用 requests 模組