当前位置:网站首页>【ROS】ROSmsg cakin_ Make compilation error
【ROS】ROSmsg cakin_ Make compilation error
2022-06-11 01:32:00 【AMOV-ANUU】
【msg There are repeatedly defined fields in the file 】 Just delete it
– Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
– Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
/opt/ros/melodic/share/genmsg/cmake/pkg-genmsg.cmake.em:56: error: <class ‘genmsg.base.InvalidMsgSpec’>: /home/tao/Desktop/TelloGo_WS/src/tellogo/msg/Mytellostate.msg: Duplicate field names in message: [‘get_response’, ‘get_height’, ‘get_speed’, ‘get_battery’, ‘get_flight_time’, ‘get_response’, ‘get_acceleration’, ‘set_speed_x’, ‘set_speed_y’, ‘set_speed_z’, ‘set_rotate_cw’, ‘set_rotate_ccw’, ‘set_flip_l’, ‘set_flip_r’, ‘set_flip_f’, ‘set_flip_b’, ‘set_move_backward’, ‘set_move_down’, ‘set_move_forward’, ‘set_move_left’, ‘set_move_right’, ‘set_move_up’, ‘get_temp’, ‘get_attitude’, ‘get_baro’, ‘get_tof’, ‘get_wifi’]
Traceback (most recent call last):
File “/opt/ros/melodic/lib/python2.7/dist-packages/genmsg/msg_loader.py”, line 287, in load_msg_from_file
return load_msg_from_string(msg_context, text, full_name)
File “/opt/ros/melodic/lib/python2.7/dist-packages/genmsg/msg_loader.py”, line 269, in load_msg_from_string
spec = MsgSpec(types, names, constants, text, full_name, package_name)
File “/opt/ros/melodic/lib/python2.7/dist-packages/genmsg/msgs.py”, line 251, in init
raise InvalidMsgSpec(“Duplicate field names in message: %s”%names)
genmsg.base.InvalidMsgSpec: Duplicate field names in message: [‘get_response’, ‘get_height’, ‘get_speed’, ‘get_battery’, ‘get_flight_time’, ‘get_response’, ‘get_acceleration’, ‘set_speed_x’, ‘set_speed_y’, ‘set_speed_z’, ‘set_rotate_cw’, ‘set_rotate_ccw’, ‘set_flip_l’, ‘set_flip_r’, ‘set_flip_f’, ‘set_flip_b’, ‘set_move_backward’, ‘set_move_down’, ‘set_move_forward’, ‘set_move_left’, ‘set_move_right’, ‘set_move_up’, ‘get_temp’, ‘get_attitude’, ‘get_baro’, ‘get_tof’, ‘get_wifi’]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/bin/empy”, line 3302, in
if name == ‘main’: main()
File “/usr/bin/empy”, line 3300, in main
invoke(sys.argv[1:])
File “/usr/bin/empy”, line 3283, in invoke
interpreter.wrap(interpreter.file, (file, name))
File “/usr/bin/empy”, line 2295, in wrap
self.fail(e)
File “/usr/bin/empy”, line 2284, in wrap
callable(*args)
File “/usr/bin/empy”, line 2359, in file
self.safe(scanner, done, locals)
File “/usr/bin/empy”, line 2401, in safe
self.parse(scanner, locals)
File “/usr/bin/empy”, line 2421, in parse
token.run(self, locals)
File “/usr/bin/empy”, line 1425, in run
interpreter.execute(self.code, locals)
File “/usr/bin/empy”, line 2595, in execute
_exec(statements, self.globals, locals)
File “”, line 38, in
File “/opt/ros/melodic/lib/python2.7/dist-packages/genmsg/deps.py”, line 45, in find_msg_dependencies_with_type
spec = genmsg.msg_loader.load_msg_from_file(msg_context, msg_file, full_type_name)
File “/opt/ros/melodic/lib/python2.7/dist-packages/genmsg/msg_loader.py”, line 289, in load_msg_from_file
raise InvalidMsgSpec(’%s: %s’%(file_path, e))
genmsg.base.InvalidMsgSpec: /home/tao/Desktop/TelloGo_WS/src/tellogo/msg/Mytellostate.msg: Duplicate field names in message: [‘get_response’, ‘get_height’, ‘get_speed’, ‘get_battery’, ‘get_flight_time’, ‘get_response’, ‘get_acceleration’, ‘set_speed_x’, ‘set_speed_y’, ‘set_speed_z’, ‘set_rotate_cw’, ‘set_rotate_ccw’, ‘set_flip_l’, ‘set_flip_r’, ‘set_flip_f’, ‘set_flip_b’, ‘set_move_backward’, ‘set_move_down’, ‘set_move_forward’, ‘set_move_left’, ‘set_move_right’, ‘set_move_up’, ‘get_temp’, ‘get_attitude’, ‘get_baro’, ‘get_tof’, ‘get_wifi’]
CMake Error at /opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/home/tao/Desktop/TelloGo_WS/build/catkin_generated/env_cached.sh
“/usr/bin/python3” “/usr/bin/empy” “–raw-errors” “-F”
“/home/tao/Desktop/TelloGo_WS/build/tellogo/cmake/tellogo-genmsg-context.py”
“-o”
“/home/tao/Desktop/TelloGo_WS/build/tellogo/cmake/tellogo-genmsg.cmake”
“/opt/ros/melodic/share/genmsg/cmake/pkg-genmsg.cmake.em”) returned error
code 1
Call Stack (most recent call first):
/opt/ros/melodic/share/catkin/cmake/em_expand.cmake:25 (safe_execute_process)
/opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake:303 (em_expand)
tellogo/CMakeLists.txt:76 (generate_messages)
– Configuring incomplete, errors occurred!
See also “/home/tao/Desktop/TelloGo_WS/build/CMakeFiles/CMakeOutput.log”.
See also “/home/tao/Desktop/TelloGo_WS/build/CMakeFiles/CMakeError.log”.
Makefile:838: recipe for target ‘cmake_check_build_system’ failed
make: *** [cmake_check_build_system] Error 1
Invoking “make cmake_check_build_system” failed
边栏推荐
- Summary of SAS final review knowledge points (notes on Application of multivariate statistics experiment)
- IRS application release 16: H5 application design guide
- SAS聚类分析(系统聚类cluster,动态聚类fastclus,变量聚类varclus)
- [VBA Script] extract the information and pending status of all annotations in the word document
- Network foundation (1) -- understanding the network
- Multi interest recall model practice | acquisition technology
- 深圳市南山区专精特新企业申报条件,补贴10-50万
- How about compound interest insurance and financial products? Can I buy it?
- SAS principal component analysis (finding correlation matrix, eigenvalue, unit eigenvector, principal component expression, contribution rate and cumulative contribution rate, and data interpretation)
- Record the packaging of the googlechrome browser plug-in
猜你喜欢
![[paper reading] tganet: text guided attention for improved polyp segmentation](/img/e4/a80615e78b819a50886410cc69146d.png)
[paper reading] tganet: text guided attention for improved polyp segmentation

OCR文字识别经典论文详解

Understanding of multithreading

如何使用自定义注解进行参数校验

SAS判别分析(Bayes准则和proc discrim过程)

限流与下载接口请求数控制

Basic introduction of graph and depth first traversal and breadth first traversal

Recruitment | Nanjing | triostudio Sanli Agency - Interior Designer / construction drawing deepening Designer / device / Product Designer / Intern, etc

The emperors of the Ming Dynasty

Yanrong looks at how to realize the optimal storage solution of data Lake in a hybrid cloud environment
随机推荐
Yunna provincial administrative unit fixed assets management system
Implementing MySQL fuzzy search with node and express
如何使用自定义注解进行参数校验
Bad RequestThis combination of host and port requires TLS.
Docking of express bird system
Current limiting and download interface request number control
简述自定义注解
2022年高考加油 那年我的高考如此兴奋
深圳中国专利奖政策支持介绍,补贴100万
NVIDIA Jetson's PWM Fan custom control
立个flag--重构promise
Record the packaging of the googlechrome browser plug-in
Bubble sort and quick sort
Recruitment | Nanjing | triostudio Sanli Agency - Interior Designer / construction drawing deepening Designer / device / Product Designer / Intern, etc
Understanding of multithreading
Clean up the broken artifacts data (.lastUpdated files) and reload the project.问题解决办法
关于mobx
北京密云区高新技术企业培育支持标准,补贴10万
Multi interest recall model practice | acquisition technology
node和express实现mySql模糊搜索