当前位置:网站首页>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_ws
Create a new directorycarla_msgs
Folder and then re executecatkin_make
command
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
msg
perhapssrv
Copy the file and put it in your currentPython
Projectpackage
Under 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_ws
indevel
andbuild
The corresponding project directory file under the directory , Like my catalogcarla_msgs
.(build
The directory containsinclude
andlib
Catalog )
Reference resources :https://answers.ros.org/question/138731/catkin_make-clean/
边栏推荐
- Generic configuration legend
- Matlab code about cosine similarity
- Common effects of line chart
- Chapter 16 intensive learning
- Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data
- 解决报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
- The solution of frame dropping problem in gnuradio OFDM operation
- Connect to the previous chapter of the circuit to improve the material draft
- Grey correlation analysis link (portal) matlab
- qt--將程序打包--不要安裝qt-可以直接運行
猜你喜欢
2、TD+Learning
Qt - - Packaging Programs - - Don't install Qt - can run directly
Design method and application of ag9311maq and ag9311mcq in USB type-C docking station or converter
Understanding of expectation, variance, covariance and correlation coefficient
2022 examination for safety production management personnel of hazardous chemical production units and new version of examination questions for safety production management personnel of hazardous chem
5. Contrôle discret et contrôle continu
Generic configuration legend
2022 low voltage electrician examination content and low voltage electrician simulation examination question bank
Write a pure handwritten QT Hello World
Ag9310 same function alternative | cs5261 replaces ag9310type-c to HDMI single switch screen alternative | low BOM replaces ag9310 design
随机推荐
2022 safety officer-a certificate free examination questions and safety officer-a certificate mock examination
Matlab code about cosine similarity
About snake equation (2)
General configuration title
2、TD+Learning
Kafka-connect将Kafka数据同步到Mysql
Apt get error
2022 high altitude installation, maintenance and demolition examination materials and high altitude installation, maintenance and demolition operation certificate examination
Kaptcha generates verification code on Web page
Ag9310 same function alternative | cs5261 replaces ag9310type-c to HDMI single switch screen alternative | low BOM replaces ag9310 design
Cs5212an design display to VGA HD adapter products | display to VGA Hd 1080p adapter products
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
Frequency probability and Bayesian probability
Study notes of single chip microcomputer and embedded system
On the concept and application of filtering in radar signal processing
npm 內部拆分模塊
qt-使用自带的应用框架建立--hello world--使用min GW 32bit
How does Matplotlib and PIL image integrate and save multiple pictures into one picture
Connect to the previous chapter of the circuit to improve the material draft
Arm bare metal