文章總覽
一、核心區別:一句話概括
? ??SDO(服務數據對象)??:像 ??“問詢/設置”??。用于??點對點、非周期??的參數配置和讀取。例如,設置電機增益、讀取當前位置等。??速度慢,但確保數據準確無誤。??
? ??PDO(過程數據對象)??:像 ??“廣播/心跳”??。用于??周期、廣播式??的實時數據交換。例如,控制器每1ms發送目標位置,驅動器同時返回實際位置和狀態。??速度快,是實時控制的生命線。?
sudo apt-get install ros-humble-canopen
sudo apt-get install ros-humble-canopen-base-driver
添加 ROS Industrial 倉庫
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ros-industrial/ppa
sudo apt-get update