当前位置:网站首页>【ROS】ROSmsg cakin_make编译错误
【ROS】ROSmsg cakin_make编译错误
2022-06-22 20:30:00 【AMOV-ANUU】
【msg 文件里面有重复定义的字段 】删除就好了
– 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
边栏推荐
- How to carry out encryption protection for equipment under extortion virus rampant
- 第019讲:函数:我的地盘听我的 | 课后测试题及答案
- 第028讲:文件:因为懂你,所以永恒 | 课后测试题及答案【无标题】
- 自助圖書館系統-Tkinter界面和openpyxl錶格綜合設計案例
- How to use the data dictionary function in the low code platform of the Internet of things?
- The machine that lies in the 52nd monthly race of Niuke (the complexity of interval assignment operation from O (n^2) to o (n))
- Oracle数据库中文字符串和英文字符串的截取不同
- RealNetworks vs. Microsoft: the battle in the early streaming media industry
- SPA项目开发之首页导航+左侧菜单
- June 25 PMI certification examination site epidemic prevention requirements and examination room arrangement
猜你喜欢

Optimization solver | gurobi's Mvar class: a sharp tool for matrix modeling and an alternative solution to dual problems (with detailed cases and codes attached)

考生必读篇 | PMP6月25日考试临近,需要注意什么?

SPA项目开发之动态树+数据表格+分页

Lesson 033: exception handling: you can't always be right 2 | after class test questions and answers

6-5 图的深度遍历-邻接矩阵实现

Lesson 029: Documents: a task? After class test questions and answers

Implementation of breadth traversal adjacency matrix of 6-6 graph

Cvpr2022 𞓜 Heidelberg University's course "deep visual similarity and measurement learning"

鸿蒙第三次培训

IDC releases China Data Governance Report Yixin Huachen No. 1
随机推荐
CVPR2022 | 用于重采图像的特征解耦学习与动态融合
Implementation of breadth traversal adjacency matrix of 6-6 graph
大不列颠泰迪熊加入PUBG 手游
June25,2022 PMP Exam clearance manual-6
如何在物联网低代码平台中使用数据字典功能?
Lesson 022: function: recursion is god horse after class test questions and answers
Summary of differences between localstorage, sessionstorage and cookies
RealNetworks vs. Microsoft: the battle in the early streaming media industry
Jerry's near end tone change problem of opening four channel call [chapter]
Lesson 028: Documents: because I know you, I will never forget the after-school test questions and answers [no title]
第027讲:集合:在我的世界里,你就是唯一 | 课后测试题及答案
Research hotspot - Official publicity! The release time of JCR zoning and impact factors will be determined in 2022!
Lesson 019: function: my site listen to my after-school test questions and answers
The third training of Hongmeng
IDC发布中国数据治理报告 亿信华辰第一
LeetCode#20. Valid parentheses
Lesson 021: functions: lambda expressions | after class test questions and answers
Lesson 018: function: flexible is powerful after class test questions and answers
Icml2022 | using virtual nodes to promote graph structure learning
RuntimeError: CUDA error: CUBLAS_ STATUS_ EXECUTION_ FAILED when calling `cublasSgemmStridedBatched( ha