- Learning Robotics using Python
- Lentin Joseph
- 146字
- 2021-06-25 21:04:07
Testing Gazebo with the ROS interface
Assuming that the ROS environment is properly set up, we can start roscore before starting Gazebo using the following command:
$ roscore
The following command will run Gazebo using ROS:
$ rosrun gazebo_ros gazebo
Gazebo runs two executables-the Gazebo server and the Gazebo client. The Gazebo server will execute the simulation process and the Gazebo client can be the Gazebo GUI. Using the previous command, the Gazebo client and server will run in parallel.
The Gazebo GUI is shown in the following screenshot:

The Gazebo simulator
After starting Gazebo, the following topics will be generated:
$ rostopic list /gazebo/link_states /gazebo/model_states /gazebo/parameter_descriptions /gazebo/parameter_updates /gazebo/set_link_state /gazebo/set_model_state
We can run the server and client separately using the following commands:
- Run the Gazebo server using the following command:
$ rosrun gazebo_ros gzserver
- Run the Gazebo client using the following command:
$ rosrun gazebo_ros gzclient
推薦閱讀
- 肖鷹文集初編·批評卷
- 一本書讀懂檔案管理
- 民國文獻(xiàn)辨?zhèn)螌W(xué)研究
- 非物質(zhì)文化遺產(chǎn)數(shù)字化研究
- Mobile Artificial Intelligence Projects
- Rust Programming By Example
- 國際集郵聯(lián)合會(FIP)集郵展覽評審規(guī)則
- 大學(xué)圖書館信息服務(wù)與信息素養(yǎng)教育理論與實踐研究
- 檔案修復(fù)與歷史資料的數(shù)字化:第六屆東亞史料研究編纂機(jī)構(gòu)聯(lián)席會議論文集
- 文獻(xiàn)學(xué)與歷史研究
- 近代中國的學(xué)術(shù)與藏書
- 李一氓文存(第一卷):存在集·存在集續(xù)編
- 黨校圖書館轉(zhuǎn)型發(fā)展實踐研究
- 圖書館保障弱勢群體公共信息獲取權(quán)益的對策研究
- 中國人民大學(xué)復(fù)印報刊資料轉(zhuǎn)載指數(shù)排名研究報告2017