当前位置:网站首页>Exploration of webots and ROS joint simulation (I): software installation
Exploration of webots and ROS joint simulation (I): software installation
2022-06-26 08:38:00 【Yu Getou】
Environmental Science :ubuntu18.04
Installed version :webots2020b
Statement : Because my use is webots And ROS Co simulation , While writing this blog ,webots The latest version webots2021b Not yet ROS( Personal test , Or maybe I opened it in the wrong way ?), So I chose this stable version . If later versions support ROS 了 , Will also consider updating to the latest version .
The installation process
1. Download from the official website
(1) choice webots_2021b-rev1_amd64.deb Download .
(2) After downloading , Go to the specified folder and install with the following instructions
sudo dpkg -i webots_2020b-rev1_amd64.deb
(2) install webots_ros
sudo apt install ros-melodic-webots-ros
(4) Add a path
vim ~/.bashrc
# Add... In the last line
export WEBOTS_HOME=/usr/local/webots
Possible problems in installation
- The dependency library reports an error
Reference resources Repair Webots stay ubuntu There are some dependency problems in the installation of - libssh-dev Not configured
Reference resources Solve the problem of dependent library version
An error is reported during operation
- Cannot mix incompatible Qt library (version1) with this library (version2)
Solution : The cause of this problem is that there are multiple Qt route , Just comment it out bashrc Medium Qt Just query the path
vim ~/.bashrc
# Comment out QT_PLUGIN_PATH and LD_LIBRARY_PATH
#export QT_PLUGIN_PATH=/home/jozenlee/Qt/Tools/QtCreator/lib/Qt/plugins
#export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib64"
(5) Moving files
- take /usr/local/webots/projects/languages The next path webots_ros Copied to the catkin_make/src Under the path .
- take /usr/local/webots/projects/default/controllers/ros/include/ Under the folder srv and msg Copy the folder to the folder just placed in catkin_ws Working space webots_ros In the function package .

(6) function demo
# To compile the first
cd ~/catkin_ws/
catkin_make
# Run routines
roslaunch webots_ros pioneer3at.launch
When this screen appears, it means success , The robot is moving , The upper left corner is the camera image on the robot .
边栏推荐
- Learning signal integrity from scratch (SIPI) -- 3 challenges faced by Si and Si based design methods
- Embedded Software Engineer (6-15k) written examination interview experience sharing (fresh graduates)
- Application of wireless charging receiving chip xs016 coffee mixing cup
- xxl-job配置告警邮件通知
- How to Use Instruments in Xcode
- 三菱PLC若想实现以太网无线通讯,需要具备哪些条件?
- CodeBlocks integrated Objective-C development
- Zlmediakit push pull flow test
- Deploy wiki system Wiki in kubesphere JS and enable Chinese full-text retrieval
- static const与static constexpr的类内数据成员初始化
猜你喜欢

leetcode2022年度刷题分类型总结(十二)并查集

Discrete device ~ diode triode

利用无线技术实现分散传感器信号远程集中控制
![[unity mirror] use of networkteam](/img/b8/93f55d11ea4ce2c86df01a9b03b7e7.png)
[unity mirror] use of networkteam

Whale conference provides digital upgrade scheme for the event site

Necessary protection ring for weak current detection

鲸会务为活动现场提供数字化升级方案

What are the conditions for Mitsubishi PLC to realize Ethernet wireless communication?

2020-10-17

Esp8266wifi module tutorial: punctual atom atk-esp8266 for network communication, single chip microcomputer and computer, single chip microcomputer and mobile phone to send data
随机推荐
KNN resolution
optee中支持的时间函数
Batch execute SQL file
Convex optimization of quadruped
Timer code guide in optee
Using transformers of hugging face to realize text classification
Design based on STM32 works: multi-functional atmosphere lamp, wireless control ws2812 of mobile app, MCU wireless upgrade program
Discrete device ~ resistance capacitance
Method of measuring ripple of switching power supply
golang json unsupported value: NaN 处理
VS2005 project call free() compiled with static libcurl library reported heap error
(2) Buzzer
Fabrication of modulation and demodulation circuit
MySQL insert Chinese error
Implementation of ffmpeg audio and video player
加密的JS代码,变量名能破解还原吗?
Analysis of Yolo series principle
STM32 based d18s20 (one wire)
Interpretation of x-vlm multimodal model
ZLMediaKit推流拉流测试
