# ROS 機械檯燈工作坊講義 [toc] ## 專案介紹 [Documentation Assistant Robotic Lamp - Hackaday](https://hackaday.io/project/21637-documentation-assistant-robotic-lamp) [檯燈組裝手冊 & BOM 表](https://www.notion.so/DA-Lamp-101572f28e1c4d5a996a1bba201ef61d) ## ROS 簡介 ### 為什麼要 ROS? * 開源 * 輸入和輸出 * 不用重新造輪子,因為別人都做好了 ### 概念 * ROS - 廚房 * catkin - 料理區 * Node - 偷吃冰箱食物的小孩 * 發佈和接收 Publisher/Subscriber (C++/Python) * Service - 媽媽 * Topic - 冰箱 * msg/srv - 食材 * 模擬環境 ## 檯燈架構 ![](https://i.imgur.com/Wi22Klx.png) ![](https://i.imgur.com/k0J6olX.png) ## 基本工具和指令 ``` catkin_make ``` ``` roscore roslaunch rostopic ros ``` ``` rqt_image_view rqt_console ``` ## [ROS 實作共筆區](https://hackmd.io/jcuRRTBfStaQ3bBl-enb9Q) ## 視覺辨識 臉部辨識 ROS package [https://github.com/phil333/face_detection](https://github.com/phil333/face_detection)