当前位置:网站首页>【ROS】ROSmsg cakin_ Make compilation error
【ROS】ROSmsg cakin_ Make compilation error
2022-06-22 22:14: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
边栏推荐
- SPA项目开发之动态树+数据表格+分页
- June25,2022 PMP Exam clearance manual-6
- Self service library system Tkinter interface and openpyxl form comprehensive design case
- Lesson 029: Documents: a task? After class test questions and answers
- Jerry's music mode obtains the directory of playing files [chapter]
- Campus errand management app Shaanxi Gechuang
- In 2022, the "product innovation and achievement transformation" training camp of Chaoyang District Science and technology innovation class was successfully completed
- CYCA少儿形体礼仪 深圳市培训成果考核圆满落幕
- 【李沐】 如何读论文【论文精读】
- KDD'22 | 阿里: 基于EE探索的精排CTR预估
猜你喜欢

IDC发布中国数据治理报告 亿信华辰第一

Redis的使用场景分享(项目实战)

Leetcode daily question - 513 Find the value in the lower left corner of the tree

TC397 Flash

第018讲:函数:灵活即强大 | 课后测试题及答案
![Jerry's plug-in 4m flash to view the processing method with a size of only 1m on the PC [chapter]](/img/8a/49b23eb63ff7e8814d1d49282c9fa2.png)
Jerry's plug-in 4m flash to view the processing method with a size of only 1m on the PC [chapter]

SPA项目开发之首页导航+左侧菜单

6-7 图的深度遍历-邻接表实现

Système de bibliothèque libre - service - cas de conception complète de l'interface tkinter et du formulaire openpyxl

Implementation of depth traversal adjacency matrix of figure 6-5
随机推荐
What is a data asset? How should data asset management be implemented?
Système de bibliothèque libre - service - cas de conception complète de l'interface tkinter et du formulaire openpyxl
[icml2022] using virtual nodes to promote graph structure learning
微软 Edge 浏览器将支持网络测速,内置计算器和单位转换工具
科研热点|官宣!2022年JCR分区和影响因子发布时间确定!
6-3 non recursive traversal of binary tree
A hundred lines of code to realize reliable delay queue based on redis
【几何法视觉】4.2 分段线性变换
第026讲:字典:当索引不好用时2 | 课后测试题及答案
6-7 图的深度遍历-邻接表实现
Summary of differences between localstorage, sessionstorage and cookies
Redis核心技术与实战:学习总结目录
List of outstanding talents: no crystal vibration, one drag, eight burn and upgrade [chapter]
TC397 Flash
Registration of spa project development
7-1 creating a binary tree from a preorder sequence
How to operate redis on the IntelliJ idea database console
Redis-分布式锁
Implementation of breadth traversal adjacency matrix of 6-6 graph
6-5 图的深度遍历-邻接矩阵实现