小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
安装Fast DDS依赖项的 repos 文件时出现404:Not Found
-
@小鱼
ros2@ros2-virtual-machine:~/d2lros2/fastdds_ws$ ls
build fastrtps.repos gradle-6.4-bin.zip log
Fast-CDR foonathan_memory_vendor IDL-Parser src
Fast-DDS gradle-6.4 install
这样下载下来的文件怎么编译呢 -
@99545598
pwd
/home/ros2/d2lros2/fastdds_ws
mv Fast-DDS foonathan_memory_vendor IDL-Parser ./src
colcon build -
@99545598
有出现这个问题的吗? -
-
@2817025981 不要放桌面
-
@小鱼 你好小鱼,这边还是不太行,能给个完整一些的代码吗?
以下是我改的,依然连接被拒绝:
repositories:
foonathan_memory_vendor:
type: git
url: https://github.fishros.org/https://github.com/eProsima/foonathan_memory_vendor.git
version: master
fastcdr:
type: git
url: https://github.fishros.org/https://github.com/eProsima/Fast-CDR.git
version: master
fastrtps:
type: git
url: https://github.fishros.org/https://github.com/eProsima/Fast-DDS.git
version: master
fastddsgen:
type: git
url: https://github.fishros.org/https://github.com/eProsima/Fast-DDS-Gen.git
version: master
fastddsgen/thirdparty/idl-parser:
type: git
url: https://github.fishros.org/https://github.com/eProsima/IDL-Parser.git
version: master -
@54997824
fastrtps.repos内容这么写试试repositories: foonathan_memory_vendor: type: git url: https://github.com/eProsima/foonathan_memory_vendor.git version: master fastcdr: type: git url: https://github.com/eProsima/Fast-CDR.git version: master fastrtps: type: git url: https://github.com/eProsima/Fast-DDS.git version: master fastddsgen: type: git url: https://github.com/eProsima/Fast-DDS-Gen.git version: master fastddsgen/thirdparty/idl-parser: type: git url: https://github.com/eProsima/IDL-Parser.git version: master
-
@1647546850 还是不太行
-
@小鱼 这个问题还是解决不了
-
-
@99545598 我按照你的方式分别下载了包,前面没有安装成功,但却生成了相关的目录。
我按照内容将下载的拷贝到对应目录下(注意:那个Fast_DDS拷贝到 fastrpts,IDL-Parser拷贝到 fastddsgen\thirdparty下),后面就按照操作即可编译成功。不过我安装完成后,在后一遍编译DDS示例程序时失败了,出错提示:
error: ‘DDS_CDR’ is not a member of ‘eprosima::fastcdr::Cdr’
我又晕了,暂时搁置。