当前位置:网站首页>ROS problems (topic types do not match, topic datatype/md5sum not match, MSG XXX have changed. rerun cmake)
ROS problems (topic types do not match, topic datatype/md5sum not match, MSG XXX have changed. rerun cmake)
2022-07-08 01:30:00 【wohu1104】
1. topic types Mismatch
Use roslaunch command
roslaunch carla_ros_bridge carla_ros_bridge_with_example_ego_vehicle.launch
Start the official demo after , Attempt to write by hand Python Script to control the vehicle , But there are errors reported below :
Could not process inbound connection: topic types do not match:
[carla_msgs/CarlaEgoVehicleControl] vs. [topic_demo/CarlaEgoVehicleControl]
Obviously topic Type mismatch , We need to give carla_msgs/CarlaEgoVehicleControl Send control command , So our topic Should also be carla_msgs .
resolvent :
- stay
~/catkin_wsCreate a new directorycarla_msgsFolder and then re executecatkin_makecommand
2. topic datatype/md5sum atypism
problem 1 After the solution, the following errors are reported
Could not process inbound connection: Client [/carla_ros_bridge]
wants topic [/carla/ego_vehicle/vehicle_control_cmd] to have datatype/md5sum
[carla_msgs/CarlaEgoVehicleControl/e5b57fc698c12ff4c20a5fc71fba832f],
but our version has [carla_msgs/CarlaEgoVehicleControl/919d1c0732720a839958ff82b9ba0dcd]
Dropping connection.
Because we modified the topic Corresponding msg perhaps srv file , Leading to both MD5 Inconsistent values .
resolvent :
- Will be original
msgperhapssrvCopy the file and put it in your currentPythonProjectpackageUnder the table of contents , Then execute againcatkin_make.
3. message/service xxx have changed. Please rerun cmake.
problem 1 and 2 After solving, proceed to catkin_make An error is reported when ordering :
The dependencies of the message/service 'carla_msgs/CarlaEgoVehicleControl' have changed. Please rerun cmake.
carla_msgs/CMakeFiles/_carla_msgs_generate_messages_check_deps_CarlaEgoVehicleControl.dir/build.make:57:
recipe for target 'carla_msgs/CMakeFiles/_carla_msgs_generate_messages_check_deps_CarlaEgoVehicleControl' failed
Obviously because of CarlaEgoVehicleControl.msg After the document is changed, it needs to be re cmake.
resolvent :
- Delete workspace
~/catkin_wsindevelandbuildThe corresponding project directory file under the directory , Like my catalogcarla_msgs.(buildThe directory containsincludeandlibCatalog )
Reference resources :https://answers.ros.org/question/138731/catkin_make-clean/
边栏推荐
- Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
- QT--创建QT程序
- 2022 refrigeration and air conditioning equipment operation examination questions and refrigeration and air conditioning equipment operation examination skills
- About snake equation (5)
- Frrouting BGP protocol learning
- Multi purpose signal modulation generation system based on environmental optical signal detection and user-defined signal rules
- Kindle operation: transfer downloaded books and change book cover
- FIR filter of IQ signal after AD phase discrimination
- Solve the error: NPM warn config global ` --global`, `--local` are deprecated Use `--location=global` instead.
- Recommend a document management tool Zotero | with tutorials and learning paths
猜你喜欢

2022 chemical automation control instrument examination summary and chemical automation control instrument simulation examination questions

qt-使用自带的应用框架建立--hello world--使用min GW 32bit

Scheme selection and scheme design of multifunctional docking station for type C to VGA HDMI audio and video launched by ange in Taiwan | scheme selection and scheme explanation of usb-c to VGA HDMI c

Application of state mode in JSF source code

Kindle operation: transfer downloaded books and change book cover

写一个纯手写的qt的hello world

General configuration toolbox

Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference

Chapter 7 Bayesian classifier

redis的持久化方式-RDB和AOF 两种持久化机制
随机推荐
2021 Shanghai safety officer C certificate examination registration and analysis of Shanghai safety officer C certificate search
Cs5212an design display to VGA HD adapter products | display to VGA Hd 1080p adapter products
Content of one frame
Understanding of maximum likelihood estimation
Common effects of line chart
FIR filter of IQ signal after AD phase discrimination
The beauty of Mathematics -- the principle of fine Fourier transform
Understanding of prior probability, posterior probability and Bayesian formula
Know how to get the traffic password
2022 free test questions of fusion welding and thermal cutting and summary of fusion welding and thermal cutting examination
COMSOL----微阻梁模型的搭建---最终的温度分布和变形情况---材料的添加
LaTeX 中 xcolor 颜色的用法
Redis cluster
2022 chemical automation control instrument examination summary and chemical automation control instrument simulation examination questions
Understanding of expectation, variance, covariance and correlation coefficient
High quality USB sound card / audio chip sss1700 | sss1700 design 96 kHz 24 bit sampling rate USB headset microphone scheme | sss1700 Chinese design scheme explanation
Leetcode notes No.21
Parade ps8625 | replace ps8625 | EDP to LVDS screen adapter or screen drive board
On the concept and application of filtering in radar signal processing
QT -- package the program -- don't install qt- you can run it directly