- 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
推薦閱讀
- 問學(xué):思勉青年學(xué)術(shù)集刊(第2輯)
- 大數(shù)據(jù)環(huán)境下圖書館文獻(xiàn)信息資源建設(shè)與利用
- 蒲城文獻(xiàn)征錄
- 醫(yī)學(xué)文獻(xiàn)管理
- 非物質(zhì)文化遺產(chǎn)數(shù)字化研究
- 檔案檢索: 理論與方法
- 地方政府?dāng)?shù)字檔案集中管理模式研究(國(guó)家社會(huì)科學(xué)基金項(xiàng)目成果)
- Swift Game Development(Third Edition)
- 中國(guó)古典文獻(xiàn)學(xué)(東北師范大學(xué)文學(xué)院學(xué)術(shù)史文庫(kù))
- 讓文明得到更好的傳承:公共文化服務(wù)體系中公共檔案館發(fā)展戰(zhàn)略
- 手機(jī)出版產(chǎn)業(yè)鏈博弈分析
- 梁思成林徽因影像與手稿珍集
- 數(shù)字信息環(huán)境下圖書館信息資源建設(shè)與共享
- 圖書館學(xué)研究法:學(xué)術(shù)論文寫作摭要
- 數(shù)字圖書館資源管理與建設(shè)