17.3. TB3 Automatic Parking 自動停車
[Remote PC 端] 以下列指令安裝 Numpy 套件, 如已安裝過則可以跳過
$ sudo apt-get install python-pip
$ sudo pip install -U numpy
$ sudo pip install --upgrade pip
[Remote PC 端] 執行 roscore
$ roscore
[TB3 SBC 端] 啟動基本套件來開始 TB3 應用展示
$ roslaunch turtlebot3_bringup turtlebot3_robot.launch
[Remote PC 端] 如果使用 TB3 Burger 漢堡款,用以下指令來設定 TB3 model
$ export TURTLEBOT3_MODEL=${TB3_MODEL}
[Remote PC 端] 執行 RViz 可視化工具
$ roslaunch turtlebot3_bringup turtlebot3_remote.launch
$ rosrun rviz rviz -d `rospack find turtlebot3_automatic_parking`/rviz/turtlebot3_automatic_parking.rviz
[Remote PC 端] 執行 automatic parking 自動停車擋
$ roslaunch turtlebot3_automatic_parking turtlebot3_automatic_parking.launch
你可在 RViz 中選擇 LaserScan topic
Topic /scan

Topic /scan_spot

Last updated
Was this helpful?