当前位置: 首页> 文旅> 艺术 > o2o商业模式_seo积分优化_公司宣传网站制作_品牌营销策划方案

o2o商业模式_seo积分优化_公司宣传网站制作_品牌营销策划方案

时间:2025/7/11 17:39:24来源:https://blog.csdn.net/ashcn2001/article/details/147142230 浏览次数:0次
o2o商业模式_seo积分优化_公司宣传网站制作_品牌营销策划方案

公司要兼容ros1还需要ros2 这个时候不得不使用ubuntu20.04 安装 humble 但实际上在20.04上安装humble是需要在源码编译的。
根据这个帖子 https://blog.csdn.net/m0_62353836/article/details/129730981 重写一份,以应对无法下载的问题
系统配置

#检查是否为UTF-8编码,是则跳过!
locale  #非UTF-8 执行下列命令
sudo apt update && sudo apt install locales
sudo locale-gen en_US en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8#验证是否设置成功
locale  

增加带有apt 的ros2 gpg秘钥

sudo apt update && sudo apt install curl
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg

这里由于无法通过githubusercontent下载,所以这么改

sudo curl -sSL https://raw.gitmirror.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg

将存储库添加到源码

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null

安装开发工具和ROS工具
安装通用软件包

sudo apt update && sudo apt install -y \python3-flake8-docstrings \python3-pip \python3-pytest-cov \ros-dev-tools

安装Ubuntu20.04所需软件包

python3 -m pip install -U \flake8-blind-except \flake8-builtins \flake8-class-newline \flake8-comprehensions \flake8-deprecated \flake8-import-order \flake8-quotes \"pytest>=5.3" \pytest-repeat \pytest-rerunfailures

获取ros2源码

mkdir -p ~/ros2_humble/src
cd ~/ros2_humble
vcs import --input https://raw.githubusercontent.com/ros2/ros2/humble/ros2.repos src

这里还是无法下载需要手动下载https://raw.githubusercontent.com/ros2/ros2/humble/ros2.repos这个文件,我们可以通过在镜像网站上下载此文件然后把github.com 改成bgithub.xyz。即可首先我们下载这个文件

wget https://raw.gitmirror.com/ros2/ros2/humble/ros2.repos

其内容为

repositories:ament/ament_cmake:type: giturl: https://github.com/ament/ament_cmake.gitversion: humbleament/ament_index:type: giturl: https://github.com/ament/ament_index.gitversion: humbleament/ament_lint:type: giturl: https://github.com/ament/ament_lint.gitversion: humbleament/ament_package:type: giturl: https://github.com/ament/ament_package.gitversion: humbleament/google_benchmark_vendor:type: giturl: https://github.com/ament/google_benchmark_vendor.gitversion: humbleament/googletest:type: giturl: https://github.com/ament/googletest.gitversion: humbleament/uncrustify_vendor:type: giturl: https://github.com/ament/uncrustify_vendor.gitversion: humbleeProsima/Fast-CDR:type: giturl: https://github.com/eProsima/Fast-CDR.gitversion: v1.0.24eProsima/Fast-DDS:type: giturl: https://github.com/eProsima/Fast-DDS.gitversion: 2.6.xeProsima/foonathan_memory_vendor:type: giturl: https://github.com/eProsima/foonathan_memory_vendor.gitversion: mastereclipse-cyclonedds/cyclonedds:type: giturl: https://github.com/eclipse-cyclonedds/cyclonedds.gitversion: releases/0.10.xeclipse-iceoryx/iceoryx:type: giturl: https://github.com/eclipse-iceoryx/iceoryx.gitversion: release_2.0ignition/ignition_cmake2_vendor:type: giturl: https://github.com/ignition-release/ignition_cmake2_vendor.gitversion: humbleignition/ignition_math6_vendor:type: giturl: https://github.com/ignition-release/ignition_math6_vendor.gitversion: humbleosrf/osrf_pycommon:type: giturl: https://github.com/osrf/osrf_pycommon.gitversion: masterosrf/osrf_testing_tools_cpp:type: giturl: https://github.com/osrf/osrf_testing_tools_cpp.gitversion: humbleros-perception/image_common:type: giturl: https://github.com/ros-perception/image_common.gitversion: humbleros-perception/laser_geometry:type: giturl: https://github.com/ros-perception/laser_geometry.gitversion: humbleros-planning/navigation_msgs:type: giturl: https://github.com/ros-planning/navigation_msgs.gitversion: humbleros-tooling/keyboard_handler:type: giturl: https://github.com/ros-tooling/keyboard_handler.gitversion: humbleros-tooling/libstatistics_collector:type: giturl: https://github.com/ros-tooling/libstatistics_collector.gitversion: humbleros-visualization/interactive_markers
关键字:o2o商业模式_seo积分优化_公司宣传网站制作_品牌营销策划方案

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: