8.4.1. Bumper 保險桿 – 觸碰感測器
Last updated
Was this helpful?
Last updated
Was this helpful?
新增設備:
預設 PIN 腳
Device
PIN
前感測器
ROBOTIS_5-PIN 3
後感測器
ROBOTIS_5-PIN 4
於 Turtlebot3 使用操作
[Remote PC端]:執行 bumper launch 檔
於 Arduino IDE 使用操作
Remote PC 端: 執行 ros serial_node 套件
Tip:如要使用其他 PIN 腳,請參考 。
此範例可用 開啟。選擇 File -> Examples -> ROS -> 2. Sensors -> a_Bumper。上傳到 OpenCR。
警示:如果用 Arduino IDE 上傳了範例到 OpenCR,你必須重新再上傳 。