当前位置:网站首页>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/
边栏推荐
- Common fault analysis and Countermeasures of using MySQL in go language
- Probability distribution
- Leetcode notes No.21
- Chapter XI feature selection
- General configuration title
- 2022 high altitude installation, maintenance and demolition examination materials and high altitude installation, maintenance and demolition operation certificate examination
- Cs5261type-c to HDMI alternative ag9310 | ag9310 alternative
- The persistence mode of redis - RDB and AOF persistence mechanisms
- Chapter 16 intensive learning
- 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
猜你喜欢

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

Understanding of expectation, variance, covariance and correlation coefficient

COMSOL - Construction of micro resistance beam model - final temperature distribution and deformation - establishment of geometric model

2021-03-14 - play with generics

Basic realization of line graph

About how USRP sets the sampling frequency below the minimum sampling frequency reached by the hardware

Common effects of line chart

Redis master-slave replication
Common fault analysis and Countermeasures of using MySQL in go language

Two methods for full screen adaptation of background pictures, background size: cover; Or (background size: 100% 100%;)
随机推荐
About snake equation (1)
NPM Internal Split module
Smart agricultural technology framework
2、TD+Learning
LeetCode 练习——剑指 Offer 36. 二叉搜索树与双向链表
Chapter XI feature selection
The usage of rand function in MATLAB
Recommend a document management tool mendely Reference Manager
How to get the first and last days of a given month
COMSOL----微阻梁模型的搭建---最终的温度分布和变形情况---材料的添加
Write a pure handwritten QT Hello World
4. Strategic Learning
Redis master-slave replication
2021-03-14 - play with generics
2022 tea master (intermediate) examination questions and tea master (intermediate) examination skills
5. Contrôle discret et contrôle continu
2021 welder (primary) examination skills and welder (primary) operation examination question bank
General configuration title
Basic realization of line chart (II)
common commands