当前位置:网站首页>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 .
边栏推荐
- 实现mysql与ES的增量数据同步
- Neon Optimization: performance optimization FAQ QA
- 《安富莱嵌入式周报》第272期:2022.06.27--2022.07.03
- 自旋与sleep的区别
- 迈动互联中标北京人寿保险,助推客户提升品牌价值
- A brief history of deep learning (II)
- Spark TPCDS Data Gen
- Taro2.* 小程序配置分享微信朋友圈
- gnet: 一个轻量级且高性能的 Go 网络框架 使用笔记
- Neon Optimization: an instruction optimization case of matrix transpose
猜你喜欢
Asset security issues or constraints on the development of the encryption industry, risk control + compliance has become the key to breaking the platform
ARM裸板调试之JTAG原理
微信公众号发送模板消息
HMM notes
UI control telerik UI for WinForms new theme - vs2022 heuristic theme
重上吹麻滩——段芝堂创始人翟立冬游记
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
Let's see through the network i/o model from beginning to end
Dell笔记本周期性闪屏故障
Building a dream in the digital era, the Xi'an station of the city chain science and Technology Strategy Summit ended smoothly
随机推荐
[JS] obtain the N days before and after the current time or the n months before and after the current time (hour, minute, second, year, month, day)
A brief history of deep learning (I)
Return to blowing marshland -- travel notes of zhailidong, founder of duanzhitang
身体质量指数程序,入门写死的小程序项目
Do you understand this patch of the interface control devaxpress WinForms skin editor?
tensorflow 1.14指定gpu运行设置
自旋与sleep的区别
Neon Optimization: an optimization case of log10 function
[牛客] B-完全平方数
The cost of returning tables in MySQL
Part IV: STM32 interrupt control programming
Taro 小程序开启wxml代码压缩
HMM notes
Maidong Internet won the bid of Beijing life insurance to boost customers' brand value
What are the differences between Oracle Linux and CentOS?
「精致店主理人」青年创业孵化营·首期顺德场圆满结束!
In rails, when the resource creation operation fails and render: new is called, why must the URL be changed to the index URL of the resource?
golang中的Mutex原理解析
Gazebo的安装&与ROS的连接
Data type of pytorch tensor