当前位置:网站首页>Installation of gazebo & connection with ROS
Installation of gazebo & connection with ROS
2022-07-07 01:16:00 【Serinus】
One 、 install
1. Add source
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'

2. add to key
wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -

3. install Gazebo
sudo apt-get update
sudo apt-get install gazebo9
sudo apt-get install libgazebo9-dev

The following error occurred , Then re-enter the command sudo apt-get install gazebo9, Until the download is successful ( There may be multiple errors ).
4. open Gazebo
# Enter the command
gazebo
If the following interface appears, the installation is successful .
If an error :
VMware: vmw_ioctl_command error Invalid parameter .
Enter the following command :
echo "export SVGA_VGPU10=0" >> ~/.bashrc
Then restart the virtual machine .
Two 、 And ROS Connect
1. install ROS-Gazebo Interface
sudo apt install ros-melodic-gazebo-ros-pkgs ros-melodic-gazebo-msgs ros-melodic-gazebo-plugins ros-melodic-gazebo-ros-control
2. Terminal input command
roscore
# Open a new terminal
rosrun gazebo_ros gazebo

The following interface will explain and ROS Successful connection .
conversely , Then enter the following command :
cd ~/.gazebo/
mkdir -p models
cd ~/.gazebo/models/
wget http://file.ncnynl.com/ros/gazebo_models.txt
wget -i gazebo_models.txt
ls model.tar.g* | xargs -n1 tar xzvf
killall gzserver
killall gzclient
Then type :
roscore
# Open a new terminal
rosrun gazebo_ros gazebo
appear Gazebo Open the interface and the connection succeeds .
边栏推荐
- Implementation principle of waitgroup in golang
- Neon Optimization: About Cross access and reverse cross access
- 【JVM调优实战100例】05——方法区调优实战(下)
- Openjudge noi 1.7 10: simple password
- Gnet: notes on the use of a lightweight and high-performance go network framework
- boot - prometheus-push gateway 使用
- [100 cases of JVM tuning practice] 04 - Method area tuning practice (Part 1)
- from .cv2 import * ImportError: libGL.so.1: cannot open shared object file: No such file or direc
- Building a dream in the digital era, the Xi'an station of the city chain science and Technology Strategy Summit ended smoothly
- 2022 Google CTF SEGFAULT LABYRINTH wp
猜你喜欢

UI控件Telerik UI for WinForms新主题——VS2022启发式主题
![[牛客] [NOIP2015]跳石头](/img/9f/b48f3c504e511e79935a481b15045e.png)
[牛客] [NOIP2015]跳石头
![[HFCTF2020]BabyUpload session解析引擎](/img/db/6003129bc16f943ad9868561a2d5dc.png)
[HFCTF2020]BabyUpload session解析引擎

Anfulai embedded weekly report no. 272: 2022.06.27--2022.07.03

Gazebo的安装&与ROS的连接

ARM裸板调试之JTAG原理

Tensorflow GPU installation

系统休眠文件可以删除吗 系统休眠文件怎么删除

「精致店主理人」青年创业孵化营·首期顺德场圆满结束!

Body mass index program, entry to write dead applet project
随机推荐
【案例分享】网络环路检测基本功能配置
There is an error in the paddehub application
Come on, don't spread it out. Fashion cloud secretly takes you to collect "cloud" wool, and then secretly builds a personal website to be the king of scrolls, hehe
pytorch之数据类型tensor
A brief history of deep learning (II)
Neon Optimization: an optimization case of log10 function
Dynamic planning idea "from getting started to giving up"
"Exquisite store manager" youth entrepreneurship incubation camp - the first phase of Shunde market has been successfully completed!
字节P7专业级讲解:接口测试常用工具及测试方法,福利文
[hfctf2020]babyupload session parsing engine
Tensorflow GPU installation
Oracle:CDB限制PDB资源实战
系统休眠文件可以删除吗 系统休眠文件怎么删除
Realize incremental data synchronization between MySQL and ES
Can the system hibernation file be deleted? How to delete the system hibernation file
[100 cases of JVM tuning practice] 05 - Method area tuning practice (Part 2)
[Niuke] b-complete square
Summary of being a microservice R & D Engineer in the past year
tensorflow 1.14指定gpu运行设置
第五篇,STM32系统定时器和通用定时器编程