Imported target “dart“ includes non-existent path 笔记

详细问题:

关联功能包,源码编译

Failed <<< gazebo_ros2_control [11.8s, exited with code 1]

网上查了很多资料,都是比较旧版,这里注意由于ROS2系统发展很快,功能包在快速集成。

使用源码编译可能会遇到环境配置问题,如果遇到,首先到系统中直接安装对应功能包。

foxy、humble均可。

sudo apt install ros-foxy-gazebo-ros2-control

如果要直接解决这类问题,需要配置环境,较为繁琐不推荐。

--- stderr: gazebo_ros2_control                                                                                                       
CMake Error in CMakeLists.txt:Imported target "dart" includes non-existent path"/include"in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:* The path was deleted, renamed, or moved to another location.* An install or uninstall procedure did not complete successfully.* The installation package was faulty and references files it does notprovide.CMake Error in CMakeLists.txt:Imported target "dart" includes non-existent path"/include"in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:* The path was deleted, renamed, or moved to another location.* An install or uninstall procedure did not complete successfully.* The installation package was faulty and references files it does notprovide.CMake Error in CMakeLists.txt:Imported target "dart" includes non-existent path"/include"in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:* The path was deleted, renamed, or moved to another location.* An install or uninstall procedure did not complete successfully.* The installation package was faulty and references files it does notprovide.CMake Error in CMakeLists.txt:Imported target "dart" includes non-existent path"/include"in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:* The path was deleted, renamed, or moved to another location.* An install or uninstall procedure did not complete successfully.* The installation package was faulty and references files it does notprovide.CMake Generate step failed.  Build files cannot be regenerated correctly.
---
Failed   <<< gazebo_ros2_control [11.8s, exited with code 1]
Aborted  <<< pmb2_robot [5.74s]                                                                                                            
Aborted  <<< tiago_robot [5.62s]                                                                                 
Aborted  <<< gripper_controllers [21.4s]                                    Summary: 50 packages finished [38.9s]1 package failed: gazebo_ros2_control3 packages aborted: gripper_controllers pmb2_robot tiago_robot1 package had stderr output: gazebo_ros2_control3 packages not processed

chatgpt回答不知道!!!

修复重新编译:

然后就可以继续看书跑代码了。

foxy、humble均支持。

colcon build
[1.096s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:'diff_drive_controller' is in: /opt/ros/foxy'ros2_controllers' is in: /opt/ros/foxy'pmb2_bringup' is in: /opt/ros/foxy'controller_manager' is in: /opt/ros/foxy'pmb2_controller_configuration' is in: /opt/ros/foxy'joint_trajectory_controller' is in: /opt/ros/foxy'ros2_control' is in: /opt/ros/foxy'pmb2_2dnav' is in: /opt/ros/foxy'twist_mux' is in: /opt/ros/foxy'hardware_interface' is in: /opt/ros/foxy'velocity_controllers' is in: /opt/ros/foxy'pal_gazebo_worlds' is in: /opt/ros/foxy'joint_state_controller' is in: /opt/ros/foxy'launch_pal' is in: /opt/ros/foxy'effort_controllers' is in: /opt/ros/foxy'pmb2_description' is in: /opt/ros/foxy'joint_state_broadcaster' is in: /opt/ros/foxy
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.If you understand the risks and want to override a package anyways, add the following to the command line:--allow-overriding controller_manager diff_drive_controller effort_controllers hardware_interface joint_state_broadcaster joint_state_controller joint_trajectory_controller launch_pal pal_gazebo_worlds pmb2_2dnav pmb2_bringup pmb2_controller_configuration pmb2_description ros2_control ros2_controllers twist_mux velocity_controllersThis may be promoted to an error in a future release of colcon-override-check.
Starting >>> controller_manager_msgs
Starting >>> ros2_control_test_assets
Starting >>> launch_pal
Starting >>> twist_mux
Finished <<< ros2_control_test_assets [1.10s]                                                                                            
Starting >>> hardware_interface
Finished <<< twist_mux [1.44s]                                                                                                   
Starting >>> hey5_description
Finished <<< hey5_description [0.64s]                                                                                                     
Starting >>> tiago_description_calibration
Finished <<< hardware_interface [1.41s]                                                                                                   
Starting >>> controller_interface
Finished <<< tiago_description_calibration [0.49s]                                                 
Starting >>> pal_gazebo_worlds
Finished <<< controller_manager_msgs [3.50s]                                                                                               
Starting >>> urdf_test
Finished <<< pal_gazebo_worlds [0.90s]                                                                                             
Starting >>> pmb2_maps
Finished <<< launch_pal [3.52s]
Starting >>> br2_tracking_msgs
Finished <<< controller_interface [1.06s]
Starting >>> controller_manager
Finished <<< urdf_test [0.69s]                                                                                                       
Starting >>> pal_gripper_description
Finished <<< pmb2_maps [0.74s]                                                                         
Starting >>> pmb2_2dnav
Finished <<< pmb2_2dnav [0.51s]                                                                                     
Starting >>> br2_basics
Finished <<< pal_gripper_description [0.73s]                                                                  
Starting >>> br2_bt_bumpgo
Finished <<< controller_manager [1.96s]                                                                                                 
Starting >>> forward_command_controller
Finished <<< br2_tracking_msgs [2.07s]                                                                                                     
Starting >>> joint_state_broadcaster
Finished <<< br2_basics [1.24s]                                                                                                          
Starting >>> diff_drive_controller
Finished <<< br2_bt_bumpgo [1.27s]                                                                                   
Starting >>> imu_sensor_broadcaster
Finished <<< forward_command_controller [1.18s]                                                                                   
Starting >>> joint_trajectory_controller
Finished <<< joint_state_broadcaster [1.20s]                                                                              
Starting >>> joint_state_controller
Finished <<< diff_drive_controller [1.28s]                                                                               
Starting >>> position_controllers
Finished <<< imu_sensor_broadcaster [1.24s]                                                                                    
Starting >>> force_torque_sensor_broadcaster
Finished <<< joint_state_controller [1.00s]                                                                                       
Starting >>> pmb2_controller_configuration
Finished <<< joint_trajectory_controller [1.35s]                                                                             
Starting >>> ros2controlcli
Finished <<< position_controllers [1.53s]                                                                                        
Starting >>> pal_gripper_controller_configuration
Finished <<< force_torque_sensor_broadcaster [1.53s]                                                                                   
Starting >>> effort_controllers
Finished <<< pmb2_controller_configuration [1.28s]                                                            
Starting >>> pmb2_description                                                                                       
Finished <<< pal_gripper_controller_configuration [0.74s]                                                             
Starting >>> tiago_controller_configuration
Finished <<< pmb2_description [0.81s]                                                                                                    
Starting >>> pmb2_bringup
Finished <<< effort_controllers [1.04s]                                                             
Starting >>> velocity_controllers
Finished <<< tiago_controller_configuration [0.76s]                                                                                 
Starting >>> tiago_description
Finished <<< pmb2_bringup [0.69s]                                                                                                     
Starting >>> tiago_bringup
Finished <<< velocity_controllers [1.01s]                                                                                                 
Starting >>> br2_bt_patrolling
Finished <<< tiago_description [0.98s]                                                                                            
Starting >>> br2_fsm_bumpgo_cpp
Finished <<< ros2controlcli [3.42s]                                                                                             
Starting >>> br2_fsm_bumpgo_py                                                                                                      
Finished <<< tiago_bringup [0.98s]                                                                                                      
Starting >>> tiago_gazebo
Finished <<< br2_fsm_bumpgo_cpp [1.30s]                                                                                                    
Starting >>> br2_navigation
Finished <<< br2_bt_patrolling [1.73s]                                                                                              
Starting >>> br2_tf2_detector                                                                                        
Finished <<< tiago_gazebo [1.24s]
Starting >>> br2_tiago                                                                                                       
Finished <<< br2_navigation [0.69s]                                                                                                     
Starting >>> br2_vff_avoidance
Finished <<< br2_tiago [0.51s]                                                                                                     
Starting >>> groot
Finished <<< br2_tf2_detector [1.01s]                                                                                                     
Starting >>> br2_tracking
Finished <<< br2_vff_avoidance [0.90s]                                                                                            
Starting >>> pmb2_navigation
Finished <<< pmb2_navigation [0.64s]                                                                                         
Starting >>> transmission_interface
Finished <<< br2_tracking [1.16s]                                                                                          
Starting >>> gripper_controllers
Finished <<< br2_fsm_bumpgo_py [3.56s]
Starting >>> ros2_control                                                                                                  
Finished <<< groot [2.15s]                                                                                                              
Starting >>> ros2_controllers
Finished <<< ros2_control [0.58s]
Starting >>> pal_gripper                                                                                                                   
Finished <<< transmission_interface [1.00s]                                                                          
Starting >>> pmb2_robot
Finished <<< gripper_controllers [1.01s]                                                                                                
Starting >>> tiago_robot
Finished <<< pal_gripper [0.64s]                                                                                                        
Starting >>> tiago_2dnav_gazebo
Finished <<< ros2_controllers [0.82s]                                                                                          
Starting >>> tiago_simulation
Finished <<< pmb2_robot [0.75s]                                                                                                    
Finished <<< tiago_robot [0.70s]                                                                                                   
Finished <<< tiago_2dnav_gazebo [0.59s]                                                                   
Finished <<< tiago_simulation [0.60s]                     Summary: 55 packages finished [17.9s]

chatgpt:

如果需要源码编译可以安装dart。

可以参考以下步骤:

1. 下载最新版本的Dart SDK;

2. 解压缩文件;

3. 运行“sudo apt-get install apt-transport-https”;

4. 添加Dart的APT存储库;5. 运行“sudo apt-get update”;

6. 运行“sudo apt-get install dart”。

ROS2支持使用Dart作为其中一种可用的调度器。

要使用Dart,

需要在ROS2的launch文件中添加一行,指定你要使用的调度器:

<launch> <arg name="scheduler" value="dart" /> </launch>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/30341.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Spring Boot 3.1.0 发布,添加大量新功能和改进

来源&#xff1a;JAVA架构日记 Spring Boot 3.1.0 现已发布&#xff0c;此版本添加了大量新功能和改进。 <parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>3.1.0</v…

拒绝白嫖!马斯克将起诉微软,称其使用 Twitter 数据“非法”训练GPT

来源&#xff1a;InfoQ、整理&#xff1a;Tina 北京时间 4 月 20 日早间消息&#xff0c;埃隆马斯克表示将对微软提起“诉讼”&#xff0c;理由是微软使用 Twitter 数据“非法”训练其产品。 今天早些时候微软宣布将停止在其智能广告平台上支持 Twitter&#xff0c;马斯克此举…

【GPT4技术揭秘】GPT-4 Architecture,Infrastructure,Training Dataset,Costs,Vision,MoE

本文是对《GPT-4 Architecture,Infrastructure,Training Dataset, Costs, Vision, MoE 》的中文翻译。介绍了GPT-4使用的相关技术&#xff0c;希望对大家有一些帮助。群友分享了总结内容如下&#xff1a; 13T tokens预训练语料 &#xff08;llama和palm是1.4T&#xff09;MoE&…

3 分钟为英语学习神器 Anki 部署一个专属同步服务器

原文链接&#xff1a;https://icloudnative.io/posts/anki-sync-server/ Anki 介绍 Anki 是一个辅助记忆软件&#xff0c;其本质是一个卡片排序工具--即依据使用者对卡片上的自定义内容进行主动测试、自我评判后&#xff0c;其内部算法根据评判结果更改每张卡片下次测试时间的…

chatgpt赋能python:Python中的{:>8}

Python中的 {:>8} 介绍 在Python中&#xff0c;{:>8}是一个字符串格式化的方法&#xff0c;它的作用是将字符串向右对齐&#xff0c;并在字符串左侧填充指定字符。这个方法非常有用&#xff0c;尤其是在需要对齐输出结果或者生成格式化的文本时。 这个方法在Python中非…

Heartbeat安装

安装Heartbeat前的准备 Heartbeat集群必须的硬件 从下图看出&#xff0c;构建一个Heartbeat集群系统必须的硬件设备有&#xff1a; 节点服务器&#xff1b; 网络和网卡&#xff1b; 共享磁盘。 节点服务器 安装Heartbeat至少需要两台主机&#xff0c;并且对主机的要求不高&…

ansible企业级实战(Markdown)

ansible经典实战 一、配置文件解释二、实战2.1 脚本分发 && 使用copy生成新文件2.2 列出所有被管理主机list2.3 基于key验证来避免每次输入密码2.3.1 机器密码不一样的解决方案 2.4 fetch 抓取被控制端的文件2.4.1 fetch 如何抓取多个文件&#xff1f; 2.5 file 模块设…

【Python】词云之 wordcloud库 全解析

有用的话&#xff0c;欢迎姗莲✨✨✨✨✨✨✨✨✨✨✨✨✨ 目录 一基础用法二、WordCloud类 形参说明2.1 常用参数2.11 字体 font_path2.12 画布尺寸 width、hight2.13 比例&#xff08;缩放&#xff09;scale2.14 颜色(表) colormap2.15 颜色函数 color_func2.16 词语组合频率…

【云炬COMSOL模型】自己做的激光超声的COSMOL模型

模拟结果 表面温度 等值线 表面应力 模型设置 全局定义 几何 材料 固体传热物理场 固体力学物理场 多物理场 网格 研究&计算日志 2e-06 - out- 1.43e-06 - out- 1.44e-06 - out- 1.45e-06 - out- 1.46e-06 …

uniapp生成商品分享海报

uniapp用canvas生成一个分享商品的海报 文章目录 前言一、展示效果二、使用步骤1.HTML部分2.CSS部分3.JS部分 总结 前言 uniapp用canvas生成一个分享商品的海报&#xff0c;因为用到了uni.downloadFile这个API&#xff0c;所以要注意图片在H5端跨域的问题。 以下是本篇文章正…

postman错误提示“Current request is not a multipart request”

今天在写业务进行批量上传文件时&#xff0c;用postman测试发现报500错误----Current request is not a multipart request&#xff0c;翻译了一下大概意思是 当前请求不是多部分请求&#xff0c;所以就很纳闷。今天特意记录一下 首先我们上传文件时&#xff0c;在postman里面…

如何为豆瓣FM写一个chrome的歌词插件

对于喜欢豆瓣FM的同学来说&#xff0c;没有歌词是件令人苦恼的事&#xff0c;下面我就来总结下怎样为豆瓣FM写一个chrome的歌词插件。 --------------------------------- 1.需要的技能 首先&#xff0c;你要会javascript&#xff0c;其次你要掌握一点chrome的hack&#xff…

设计师解放双手之作!3秒生成风景园林效果图,AIGC赋能景观设计

项目简介 在过去几十年&#xff0c;风景园林经历了从“刀耕火种”的完全手绘设计时代到当下比较流行的参数化设计时代&#xff0c;过去的每一轮技术革新都让风景园林作品的表现形式产生了巨大的改变。随着计算机图像技术的发展&#xff0c;我们有更多的建模和渲染软件辅助提升图…

有哪些中西合璧的建筑设计?

所谓中西合璧&#xff0c;中即中华文化&#xff0c;体系繁多&#xff0c;源远流长&#xff0c;浩如烟海&#xff0c;是世界三大文化体系之一&#xff0c;在历史上曾是东亚文化的中心&#xff0c;一度影响欧洲&#xff1b;西即西方文化&#xff0c;西方物质文明和精神文明&#…

独家 | ChatGPT可以解决分级和分类这样的简单机器学习任务

作者&#xff1a;Damir Yalalov 翻译&#xff1a;陈超 校对&#xff1a;赵茹萱本文约1100字&#xff0c;建议阅读5分钟 本文介绍了ChatGPT如何解决简单的机器学习任务并给出了鸢尾花分类和城市预测两个案例。 一句话概括&#xff1a; ChatGPT可以帮助你完成简单的机器学习任务…

决定AI大模型胜负的关键:解读数据在未来竞争中的角色

随着人工智能的迅猛发展&#xff0c;高质量数据的重要性已愈发明显。以大型语言模型为例&#xff0c;近年来的飞跃式进展在很大程度上依赖于高质量和丰富的训练数据集。相比于GPT-2&#xff0c;GPT-3在模型架构上的改变微乎其微&#xff0c;更大的精力是投入到了收集更大、更高…

RWKV 语言模型:具有 Transformer 优点的 RNN

RWKV 语言模型&#xff0c;这是一个具有巨大潜力的开源大型语言模型。由于 ChatGPT 和一般的大型语言模型最近受到了很多关注。在这篇文章中&#xff0c;我将尝试解释与大多数语言模型&#xff08;transformer&#xff09;相比&#xff0c;RWKV 有何特别之处。 RWKV 可视化 浅谈…

重磅活动!线下报名 | 大模型为什么是AI领域的“兵家必争之地”?

点击蓝字 关注我们 AI TIME欢迎每一位AI爱好者的加入&#xff01; 离我们自己的“ChatGPT”还有多远&#xff1f; GPT-4 , game changer OR game over&#xff1f; Copilot究竟是打工人的福音还是噩梦&#xff1f; AI TIME今年将持续推出AIGC大咖思辨的线下活动&#xff01;AIG…

火爆首发 | 微软工程师解密全球火出圈的AI科技ChatGPT

首期“支点加速营前沿技术研习社”线上直播课开启报名啦&#xff01; 本次课程由苏州人工智能产业创新中心、图灵社区联合主办&#xff0c;苏州国际科技园和蒲公英孵化器协办&#xff0c;微软&#xff08;亚洲&#xff09;互联网工程院提供技术支持。 与此同时&#xff0c;课程…

百度文心大模型 3.5 斩获7个满分、三个第一;苹果正在测试 AppleGPT 产品;谷歌给员工断网,降低网络攻击风险|极客头条...

「极客头条」—— 技术人员的新闻圈&#xff01; CSDN 的读者朋友们早上好哇&#xff0c;「极客头条」来啦&#xff0c;快来看今天都有哪些值得我们技术人关注的重要新闻吧。 整理 | 梦依丹 出品 | CSDN&#xff08;ID&#xff1a;CSDNnews&#xff09; 一分钟速览新闻点&#…