当前位置:网站首页>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 .
边栏推荐
- What kind of experience is it to realize real-time collaboration in jupyter
- How to evaluate load balancing performance parameters?
- NEON优化:性能优化常见问题QA
- A brief history of deep learning (I)
- Let's see through the network i/o model from beginning to end
- Openjudge noi 1.7 10: simple password
- 736. Lisp 语法解析 : DFS 模拟题
- Informatics Orsay Ibn YBT 1172: find the factorial of n within 10000 | 1.6 14: find the factorial of n within 10000
- UI控件Telerik UI for WinForms新主题——VS2022启发式主题
- NEON优化:log10函数的优化案例
猜你喜欢
界面控件DevExpress WinForms皮肤编辑器的这个补丁,你了解了吗?
Activereportsjs 3.1 Chinese version | | | activereportsjs 3.1 English version
字节P7专业级讲解:接口测试常用工具及测试方法,福利文
Maidong Internet won the bid of Beijing life insurance to boost customers' brand value
Dynamic planning idea "from getting started to giving up"
Boot - Prometheus push gateway use
HMM notes
筑梦数字时代,城链科技战略峰会西安站顺利落幕
Make a simple graphical interface with Tkinter
Part V: STM32 system timer and general timer programming
随机推荐
THREE.AxesHelper is not a constructor
Link sharing of STM32 development materials
【js】获取当前时间的前后n天或前后n个月(时分秒年月日都可)
Oracle: Practice of CDB restricting PDB resources
Grc: personal information protection law, personal privacy, corporate risk compliance governance
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
线段树(SegmentTree)
Taro 小程序开启wxml代码压缩
树莓派/arm设备上安装火狐Firefox浏览器
pytorch之数据类型tensor
Mongodb client operation (mongorepository)
Neon Optimization: an instruction optimization case of matrix transpose
Failed to successfully launch or connect to a child MSBuild. exe process. Verify that the MSBuild. exe
UI控件Telerik UI for WinForms新主题——VS2022启发式主题
Meet in the middle
Provincial and urban level three coordinate boundary data CSV to JSON
筑梦数字时代,城链科技战略峰会西安站顺利落幕
Explain in detail the matrix normalization function normalize() of OpenCV [norm or value range of the scoped matrix (normalization)], and attach norm_ Example code in the case of minmax
go-zero微服务实战系列(九、极致优化秒杀性能)
系统休眠文件可以删除吗 系统休眠文件怎么删除