当前位置:网站首页>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/
边栏推荐
- Kafka-connect将Kafka数据同步到Mysql
- 2022 new examination questions for crane driver (limited to bridge crane) and question bank for crane driver (limited to bridge crane) operation examination
- Chapter 5 neural network
- The solution of frame dropping problem in gnuradio OFDM operation
- Recommend a document management tool Zotero | with tutorials and learning paths
- Grey correlation analysis link (portal) matlab
- How to get the first and last days of a given month
- Basic realization of line graph
- Gnuradio 3.9 using OOT custom module problem record
- Smart agricultural technology framework
猜你喜欢
The communication clock (electronic time-frequency or electronic time-frequency auxiliary device) writes something casually
Transportation, new infrastructure and smart highway
Measure the voltage with analog input (taking Arduino as an example, the range is about 1KV)
4、策略學習
EDP to LVDS conversion design circuit | EDP to LVDS adapter board circuit | capstone/cs5211 chip circuit schematic reference
解决报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
Guojingxin center "APEC investment +": some things about the Internet sector today | observation on stabilizing strategic industrial funds
4. Apprentissage stratégique
2022 operation certificate examination for main principals of hazardous chemical business units and main principals of hazardous chemical business units
Understanding of prior probability, posterior probability and Bayesian formula
随机推荐
5、離散控制與連續控制
The solution of frame dropping problem in gnuradio OFDM operation
Ag9310 same function alternative | cs5261 replaces ag9310type-c to HDMI single switch screen alternative | low BOM replaces ag9310 design
Ag7120 and ag7220 explain the driving scheme of HDMI signal extension amplifier | ag7120 and ag7220 design HDMI signal extension amplifier circuit reference
Introduction to the types and repair methods of chip Eco
Capstone/cs5210 chip | cs5210 design scheme | cs5210 design data
2022 safety officer-c certificate examination summary and safety officer-c certificate reexamination examination
About how USRP sets the sampling frequency below the minimum sampling frequency reached by the hardware
Cs5212an design display to VGA HD adapter products | display to VGA Hd 1080p adapter products
Guojingxin center "APEC education +" Shanghai Jiaotong University Japan Cooperation Center x Fudan philosophy class "Zhe Yi" 2022 New Year greetings
Kaptcha generates verification code on Web page
Macro definition and multiple parameters
break net
AttributeError: ‘str‘ object has no attribute ‘strftime‘
2022 chemical automation control instrument examination summary and chemical automation control instrument simulation examination questions
A speed Limited large file transmission tool for every major network disk
Recommend a document management tool mendely Reference Manager
common commands
Kuntai ch7511b scheme design | ch7511b design EDP to LVDS data | pin to pin replaces ch7511b circuit design
About snake equation (5)