- 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
推薦閱讀
- 專業(yè)圖書館發(fā)展之道
- Hands-On Concurrency with Rust
- 清代地方檔案的保存、整理與研究
- 人文通識(shí)講演錄:人文教育卷
- 山東圖書館學(xué)史研究
- 檔案庫房技術(shù)管理
- 李一氓文存(第二卷):存在集三編下冊(cè)
- 知中16·西南聯(lián)大的遺產(chǎn)
- 邂逅法學(xué)圖書館:浙江大學(xué)光華法學(xué)院師生原創(chuàng)文集
- 守望與思索:人文清華講壇實(shí)錄III
- 文獻(xiàn)價(jià)值:理論文獻(xiàn)學(xué)的價(jià)值論解讀
- 北疆博物院的故事
- 計(jì)算社會(huì)學(xué)
- 陜西古代文獻(xiàn)研究(第一輯)
- 讓文明得到更好的傳承:公共文化服務(wù)體系中公共檔案館發(fā)展戰(zhàn)略