鱼香社区

    • 登录
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    1. 主页
    2. 246942710

    重要提示

    社区建设靠大家,欢迎参与社区建设赞助计划
    提问前必看的发帖注意事项—— 提问的智慧
    社区使用指南—如何添加标签修改密码
    2
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 2
    • 帖子 5
    • 最佳 0
    • 有争议的 0
    • 群组 0

    246942710

    @246942710

    0
    声望
    1
    资料浏览
    5
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    246942710 取消关注 关注

    246942710 发布的最新帖子

    • xacro

      <robot name="my_base" xmlns:xacro="http://www.ros.org/wiki/xacro">

      <xacro:property name="PI" value="3.141"/>
      
      <material name="black">
          <color rgba="0 0 0 1.0" />
      </material>
      
      <xacro:property name="base_footprint_radius" value="0.001" /> 
      <xacro:property name="base_link_radius" value="0.1" /> 
      <xacro:property name="base_link_length" value="0.08" /> 
      <xacro:property name="earth_space" value="0.015" /> 
      
      
      <link name="base_footprint">
        <visual>
          <geometry>
            <sphere radius="${base_footprint_radius}" />
          </geometry>
        </visual>
      </link>
      
      <link name="base_link">
        <visual>
          <geometry>
            <cylinder radius="${base_link_radius}" length="${base_link_length}" />
          </geometry>
          <origin xyz="0 0 0" rpy="0 0 0" />
          <material name="yellow">
            <color rgba="0.5 0.3 0.0 0.5" />
          </material>
        </visual>
      </link>
      
      <joint name="base_link2base_footprint" type="fixed">
        <parent link="base_footprint" />
        <child link="base_link" />
        <origin xyz="0 0 ${earth_space + base_link_length / 2 }" />
      </joint>
      

      launch文件
      <launch>
      <param name="robot_description" command="$(find xacro)/xacro $(find urdf01_rviz)/urdf/xacro/demo02_test.xacro" />
      <node pkg="rviz" name="rviz" type="rviz" args="-d $(find urdf01_rviz)/config/show_mycar.rviz" />
      <node pkg="joint_state_publisher" name="joint_state_publisher" type="joint_state_publisher" />
      <node pkg="robot_state_publisher" name="robot_state_publisher" type="robot_state_publisher" />
      <node pkg="joint_state_publisher_gui" name="joint_state_publisher_gui" type="joint_state_publisher_gui" />
      </launch>

      ~/catkin_ws$ roslaunch urdf01_rviz demo01_test_xacro.launch
      ... logging to /home/amov/.ros/log/501cc910-c8a7-11ed-9417-1cc10cb8638e/roslaunch-amov-21757.log
      Checking log directory for disk usage. This may take a while.
      Press Ctrl-C to interrupt
      Done checking log file disk usage. Usage is <1GB.

      XML parsing error: mismatched tag: line 74, column 10
      when processing file: /home/amov/catkin_ws/src/urdf01_rviz/urdf/xacro/demo02_test.xacro

      Check that:

      • Your XML is well-formed
      • You have the xacro xmlns declaration: xmlns:xacro="http://www.ros.org/wiki/xacro"
        RLException: Invalid <param> tag: Cannot load command parameter [robot_description]: command [['/opt/ros/melodic/lib/xacro/xacro', '/home/amov/catkin_ws/src/urdf01_rviz/urdf/xacro/demo02_test.xacro']] returned with code [2].

      Param xml is <param command="$(find xacro)/xacro $(find urdf01_rviz)/urdf/xacro/demo02_test.xacro" name="robot_description"/>
      The traceback for the exception was written to the log file
      amov@amov:~/catkin_ws$ source ./devel/setup.bash
      amov@amov:~/catkin_ws$ roslaunch urdf01_rviz demo01_test_xacro.launch
      ... logging to /home/amov/.ros/log/b4f1aada-c8a8-11ed-9417-1cc10cb8638e/roslaunch-amov-22623.log
      Checking log directory for disk usage. This may take a while.
      Press Ctrl-C to interrupt
      Done checking log file disk usage. Usage is <1GB.

      XML parsing error: mismatched tag: line 74, column 10
      when processing file: /home/amov/catkin_ws/src/urdf01_rviz/urdf/xacro/demo02_test.xacro

      Check that:

      • Your XML is well-formed
      • You have the xacro xmlns declaration: xmlns:xacro="http://www.ros.org/wiki/xacro"
        RLException: Invalid <param> tag: Cannot load command parameter [robot_description]: command [['/opt/ros/melodic/lib/xacro/xacro', '/home/amov/catkin_ws/src/urdf01_rviz/urdf/xacro/demo02_test.xacro']] returned with code [2].

      Param xml is <param command="$(find xacro)/xacro $(find urdf01_rviz)/urdf/xacro/demo02_test.xacro" name="robot_description"/>
      The traceback for the exception was written to the log file
      amov@amov:~/catkin_ws$ roslaunch urdf01_rviz demo01_test_xacro.launch
      ... logging to /home/amov/.ros/log/964a3ab0-c8a9-11ed-9417-1cc10cb8638e/roslaunch-amov-23038.log
      Checking log directory for disk usage. This may take a while.
      Press Ctrl-C to interrupt
      Done checking log file disk usage. Usage is <1GB.

      XML parsing error: mismatched tag: line 74, column 10
      when processing file: /home/amov/catkin_ws/src/urdf01_rviz/urdf/xacro/demo02_test.xacro

      Check that:

      • Your XML is well-formed
      • You have the xacro xmlns declaration: xmlns:xacro="http://www.ros.org/wiki/xacro"
        RLException: Invalid <param> tag: Cannot load command parameter [robot_description]: command [['/opt/ros/melodic/lib/xacro/xacro', '/home/amov/catkin_ws/src/urdf01_rviz/urdf/xacro/demo02_test.xacro']] returned with code [2].

      Param xml is <param command="$(find xacro)/xacro $(find urdf01_rviz)/urdf/xacro/demo02_test.xacro" name="robot_description"/>
      The traceback for the exception was written to the log file

      发布在 综合问题 ros小车 xacro运行失败
      2
      246942710
    • RE: ubuntu18.04一键安装ROS1失败

      @小鱼 还是不能完成
      sudo apt --fix-broken install
      [sudo] amov 的密码:
      正在读取软件包列表... 完成
      正在分析软件包的依赖关系树
      正在读取状态信息... 完成
      正在修复依赖关系... 完成
      下列软件包是自动安装的并且现在不需要了:
      libb64-0d libboost-regex1.65.1 libconsole-bridge0.4 libcpp-common0d
      liblog4cxx10v5 librosconsole2d libroscpp-serialization0d libroscpp1d
      librostime0d libxmlrpcpp1d python-defusedxml python-genmsg python-genpy
      python-netifaces python-rosclean python-rosgraph python-rosgraph-msgs
      python-rosmaster python-rosparam python-std-msgs rosout
      使用'sudo apt autoremove'来卸载它(它们)。
      将会同时安装下列软件:
      python-rosdistro-modules python-rospkg-modules
      下列【新】软件包将被安装:
      python-rosdistro-modules python-rospkg-modules
      升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 286 个软件包未被升级。
      有 3 个软件包没有被完全安装或卸载。
      需要下载 0 B/55.9 kB 的归档。
      解压缩后会消耗 400 kB 的额外空间。
      您希望继续执行吗? [Y/n] y
      (正在读取数据库 ... 系统当前共安装有 144147 个文件和目录。)
      正准备解包 .../python-rospkg-modules_1.4.0-1_all.deb ...
      正在解包 python-rospkg-modules (1.4.0-1) ...
      dpkg: 处理归档 /var/cache/apt/archives/python-rospkg-modules_1.4.0-1_all.deb (--unpack)时出错:
      正试图覆盖 /usr/lib/python2.7/dist-packages/rospkg/init.py,它同时被包含于软件包 python-rospkg 1.1.4-1
      正准备解包 .../python-rosdistro-modules_0.9.0-1_all.deb ...
      正在解包 python-rosdistro-modules (0.9.0-1) ...
      dpkg: 处理归档 /var/cache/apt/archives/python-rosdistro-modules_0.9.0-1_all.deb (--unpack)时出错:
      正试图覆盖 /usr/lib/python2.7/dist-packages/rosdistro/init.py,它同时被包含于软件包 python-rosdistro 0.6.6-1
      在处理时有错误发生:
      /var/cache/apt/archives/python-rospkg-modules_1.4.0-1_all.deb
      /var/cache/apt/archives/python-rosdistro-modules_0.9.0-1_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      发布在 一键安装
      2
      246942710
    • RE: ubuntu18.04一键安装ROS1失败

      @小鱼 wget http://fishros.com/install -O fishros && . fishros
      --2023-03-03 16:37:15-- http://fishros.com/install
      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
      位置:http://fishros.com/install/ [跟随至新的 URL]
      --2023-03-03 16:37:17-- http://fishros.com/install/
      再次使用存在的到 fishros.com:80 的连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 582 [application/octet-stream]
      正在保存至: “fishros”

      fishros 100%[===================>] 582 --.-KB/s 用时 0s

      2023-03-03 16:37:17 (57.3 MB/s) - 已保存 “fishros” [582/582])

      [sudo] amov 的密码:
      正在读取软件包列表... 完成
      正在分析软件包的依赖关系树
      正在读取状态信息... 完成
      python3-yaml 已经是最新版 (3.12-1build2)。
      python3-yaml 已设置为手动安装。
      您也许需要运行“apt --fix-broken install”来修正上面的错误。
      下列软件包有未满足的依赖关系:
      python-rosinstall-generator : 依赖: python-rosdistro-modules (>= 0.7.3) 但是它将不会被安装
      依赖: python-rospkg-modules 但是它将不会被安装
      E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
      --2023-03-03 16:37:19-- http://fishros.com/install/install1s/tools/base.py
      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 42195 (41K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/base.py”

      /tmp/fishinstall/to 100%[===================>] 41.21K --.-KB/s 用时 0.1s

      2023-03-03 16:37:19 (314 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [42195/42195])

      Run CMD Task:[dpkg --print-architecture]
      [-]Result:success

      基础检查通过...

      ======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!=======
      ======一键安装已开源,请放心使用:https://github.com/fishros/install=======

                          .-~~~~~~~~~-._       _.-~~~~~~~~~-.
                      __.'              ~.   .~              `.__
                  .'//     开卷有益        \./     书山有路     \ `.
                  .'// 可以多看看小鱼的文章   |    关注公众号鱼香ROS  \ `.
              .'// .-~"~~~~-._     |     _,-~~~~"~-. \`.
              .'//.-"                 `-.  |  .-'                 "-.\`.
          .'//______.============-..   \ | /   ..-============.______\`.
          .'______________________________\|/______________________________`
          ----------------------------------------------------------------------
      

      RUN Choose Task:[请输入括号内的数字]
      ---众多工具,等君来用---
      [1]:一键安装:ROS(支持ROS和ROS2,树莓派Jetson)
      [11]:一键安装:ROS+Docker(支持所有版本ROS/ROS2)
      [2]:一键安装:github桌面版(小鱼常用的github客户端)
      [3]:一键配置:rosdep(小鱼的rosdepc,又快又好用)
      [4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
      [5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
      [6]:一键安装:nodejs
      [7]:一键安装:VsCode开发工具
      [8]:一键安装:Docker
      [9]:一键安装:Cartographer(内测版v0.1)
      [10]:一键安装:微信(可以在Linux上使用的微信)
      [12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
      [77]:测试模式:运行自定义工具测试
      [0]:quit
      请输入[]内的数字以选择:1
      --2023-03-03 16:37:24-- http://fishros.com/install/install1s/tools/tool_install_ros.py
      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 19050 (19K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/tool_install_ros.py”

      /tmp/fishinstall/to 100%[===================>] 18.60K --.-KB/s 用时 0.1s

      2023-03-03 16:37:24 (165 KB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_ros.py” [19050/19050])

      --2023-03-03 16:37:24-- http://fishros.com/install/install1s/tools/tool_config_rosenv.py
      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 2457 (2.4K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/tool_config_rosenv.py”

      /tmp/fishinstall/to 100%[===================>] 2.40K --.-KB/s 用时 0.07s

      2023-03-03 16:37:27 (36.9 KB/s) - 已保存 “/tmp/fishinstall/tools/tool_config_rosenv.py” [2457/2457])

      --2023-03-03 16:37:27-- http://fishros.com/install/install1s/tools/tool_config_system_source.py
      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 7511 (7.3K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/tool_config_system_source.py”

      /tmp/fishinstall/to 100%[===================>] 7.33K 17.7KB/s 用时 0.4s

      2023-03-03 16:37:28 (17.7 KB/s) - 已保存 “/tmp/fishinstall/tools/tool_config_system_source.py” [7511/7511])

      欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
      欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..
      小鱼:检测当前系统ubuntu18.04:bionic 支持一键安装ROS
      =========接下来这一步很重要,如果不知道怎么选请选择1========
      RUN Choose Task:[请输入括号内的数字]
      首次安装一定要换源并清理三方源,换源!!!系统默认国外源容易失败!!
      [1]:更换系统源再继续安装
      [2]:不更换继续安装
      [0]:quit
      请输入[]内的数字以选择:2
      Run CMD Task:[sudo apt update]
      [-]Result:success --upgradable’ 来查看它们。ase

      Run CMD Task:[sudo apt-cache search curl ]
      [/]libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavou[/]libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS[]libcurl4-nss-dev - development files and documentation for libcurl (NSS flavo[|]libcurl4-openssl-dev - development files and documentation for libcurl (OpenS[/]libstrongswan-extra-plugins - strongSwan utility and crypto library (extra pl[-]cl-curry-compose-reader-macros - Reader macros for function partial applicati[-]flickcurl-doc - utilities to call the Flickr API from command line - document[/]gnupg1 - GNU privacy guard - a PGP implementation (deprecated "classic" versi[|]golang-github-moul-http2curl-dev - Go package for convert Golang's http.Reque[|]kubuntu-wallpapers-bionic - Selection of classic KDE wallpapers for Bionic Be[-]libcupt4-2-downloadmethod-curl - flexible package manager -- libcurl download[|]libcurl-openssl1.0-dev - development files and documentation for libcurl (Ope[/]libflickcurl0-dbg - C library for accessing the Flickr API - debugging symbol[|]libghc-curl-doc - Documentation for the libcurl Haskell bindings; documentati[-]libghc-curl-prof - Profiling libraries for the libcurl Haskell bindings; prof[/]libghc-hxt-doc - collection of tools for processing XML with Haskell; documen[|]libghc-hxt-http-doc - Interface to native Haskell HTTP package HTTP; document[-]libghc-hxt-http-prof - Interface to native Haskell HTTP package HTTP; profili[/]libghc-hxt-prof - collection of tools for processing XML with Haskell; profil[]libresource-retriever-dev - Robot OS resource_retriever library - development[|]libwsman-curl-client-transport1 - Open Web Services Manager run-time librarie[-]ros-melodic-resource-retriever - This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into[/]ros-bouncy-libcurl-vendor - Wrapper around libcurl, it provides a fixed CMake[]ros-bouncy-resource-retriever - This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into [|]ros-crystal-libcurl-vendor - Wrapper around libcurl, it provides a fixed CMak[-]ros-crystal-resource-retriever - This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into[/]ros-dashing-libcurl-vendor - Wrapper around libcurl, it provides a fixed CMak[]ros-dashing-resource-retriever - This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into[|]ros-eloquent-libcurl-vendor - Wrapper around libcurl, it provides a fixed CMa[-]ros-eloquent-resource-retriever - This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data int[-]Result:success

      Run CMD Task:[sudo apt install curl -y]
      [|] python-rosinstall-generator : 依赖: python-rosdistro-modules (>= 0.7.3) 但是[-]Result:code:100 n-rospkg-modules 但是它将不会被安装

      Run CMD Task:[sudo apt-cache search gnupg2 ]
      [|]gnupg2 - GNU privacy guard - a free PGP replacement (dummy transitional packa[-]Result:success

      Run CMD Task:[sudo apt install gnupg2 -y]

      python-rosinstall-generator : 依赖: python-rosdistro-modules (>= 0.7.3) 但是[-]Result:code:100 n-rospkg-modules 但是它将不会被安装

      Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
      [-]Result:code:2

      Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
      [-]Result:code:2

      导入密钥失败,开始更换导入方式并二次尝试...
      Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
      []Executing: /tmp/apt-key-gpghome.zf2PgkxvKb/gpg.1.sh --keyserver keyserver.ubu[-]Result:success

      Run CMD Task:[dpkg --print-architecture]
      [-]Result:success

      根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
      [-]Result:success

      Run CMD Task:[sudo apt update]
      [-]Result:success --upgradable’ 来查看它们。ase

      Run CMD Task:[sudo apt-cache search ros-base ]
      [/]ros-melodic-end-effector - End-Effector package: provides a ROS-based set of []ros-melodic-ros-base - A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure, nodelets, and plugi[|]ros-bouncy-ros-base - A package which extends 'ros_core' and includes other b[-]ros-crystal-ros-base - A package which extends 'ros_core' and includes other [/]ros-dashing-ros-base - A package which extends 'ros_core' and includes other []ros-eloquent-ros-base - A package which extends 'ros_core' and includes other[-]Result:success

      恭喜,成功添加ROS源,接下来可以使用apt安装ROS或者使用[1]一键安装ROS安装!
      Run CMD Task:[sudo apt-cache search ros-base ]
      [/]ros-melodic-end-effector - End-Effector package: provides a ROS-based set of []ros-melodic-ros-base - A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure, nodelets, and plugi[|]ros-bouncy-ros-base - A package which extends 'ros_core' and includes other b[-]ros-crystal-ros-base - A package which extends 'ros_core' and includes other [/]ros-dashing-ros-base - A package which extends 'ros_core' and includes other []ros-eloquent-ros-base - A package which extends 'ros_core' and includes other[-]Result:success

      RUN Choose Task:[请输入括号内的数字]
      请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
      [1]:melodic(ROS1)
      [2]:bouncy(ROS2)
      [3]:crystal(ROS2)
      [4]:dashing(ROS2)
      [5]:eloquent(ROS2)
      [0]:quit
      请输入[]内的数字以选择:1
      RUN Choose Task:[请输入括号内的数字]
      请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
      [1]:melodic(ROS1)桌面版
      [2]:melodic(ROS1)基础版(小)
      [0]:quit
      请输入[]内的数字以选择:1
      Run CMD Task:[sudo apt-cache search aptitude ]
      [|]aptitude-common - architecture independent files for the aptitude package man[-]aptitude-doc-en - English manual for aptitude, a terminal-based package manag[/]libcwidget-dev - high-level terminal interface library for C++ (development f[|]aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manag[-]aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manag[/]aptitude-doc-fr - French manual for aptitude, a terminal-based package manage[]aptitude-doc-it - Italian manual for aptitude, a terminal-based package manag[|]aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package mana[/]aptitude-doc-ru - Russian manual for aptitude, a terminal-based package manag[-]apticron-systemd - Simple tool to mail about pending package updates - system[-]gbrainy - brain teaser game and trainer to have fun and to keep your brain tr[-]Result:success end for Debian

      Run CMD Task:[sudo apt install aptitude -y]
      [] python-rosinstall-generator : 依赖: python-rosdistro-modules (>= 0.7.3) 但是[-]Result:code:100 n-rospkg-modules 但是它将不会被安装

      Run CMD Task:[sudo apt-cache search aptitude ]
      [|]aptitude-common - architecture independent files for the aptitude package man[-]aptitude-doc-en - English manual for aptitude, a terminal-based package manag[/]libcwidget-dev - high-level terminal interface library for C++ (development f[|]aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manag[-]aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manag[/]aptitude-doc-fr - French manual for aptitude, a terminal-based package manage[]aptitude-doc-it - Italian manual for aptitude, a terminal-based package manag[|]aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package mana[/]aptitude-doc-ru - Russian manual for aptitude, a terminal-based package manag[-]apticron-systemd - Simple tool to mail about pending package updates - system[-]gbrainy - brain teaser game and trainer to have fun and to keep your brain tr[-]Result:success end for Debian

      Run CMD Task:[sudo apt install aptitude -y]
      [] python-rosinstall-generator : 依赖: python-rosdistro-modules (>= 0.7.3) 但是[-]Result:code:100 n-rospkg-modules 但是它将不会被安装

      Run CMD Task:[sudo apt install ros-melodic-desktop-full -y]
      正在读取软件包列表... 完成
      正在分析软件包的依赖关系树
      正在读取状态信息... 完成
      您也许需要运行“apt --fix-broken install”来修正上面的错误。
      下列软件包有未满足的依赖关系:
      python-rosinstall-generator : 依赖: python-rosdistro-modules (>= 0.7.3) 但是它将不会被安装
      依赖: python-rospkg-modules 但是它将不会被安装
      ros-melodic-desktop-full : 依赖: ros-melodic-desktop 但是它将不会被安装
      依赖: ros-melodic-perception 但是它将不会被安装
      依赖: ros-melodic-simulators 但是它将不会被安装
      依赖: ros-melodic-urdf-sim-tutorial 但是它将不会被安装
      E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
      Run CMD Task:[sudo apt install ros-melodic-desktop-full -y]

      依赖: ros-melodic-urdf-sim-tutorial 但是它将不会 [-]Result:code:100

      ============================================================

      发布在 一键安装
      2
      246942710
    • RE: ubuntu18.04一键安装ROS1失败

      @246942710 请在稍后输入n,再选择y,即可解决 后面没有这个,ros没有安装完成

      发布在 一键安装
      2
      246942710
    • ubuntu18.04一键安装ROS1失败

      请注意我,检测你在安装过程中出现依赖问题,请在稍后输入n,再选择y,即可解决
      确认了解情况,请输入回车继续安装
      Run CMD Task:[sudo aptitude install ros-melodic-desktop-full]
      sudo: aptitude:找不到命令
      Run CMD Task:[sudo aptitude install ros-melodic-desktop-full -y]
      [-]Result:code:1

      Run CMD Task:[sudo apt-cache search python-catkin-tools ]
      [-]Result:success for working with catkin.

      Run CMD Task:[sudo apt install python-catkin-tools -y]

      python-rosinstall-generator : 依赖: python-rosdistro-modules (>= 0.7.3) 但是[-]Result:code:100 n-rospkg-modules 但是它将不会被安装

      Run CMD Task:[sudo apt-cache search python-rosdep ]
      []python-rosdep2 - rosdep package manager abstraction tool for Robot OS (Python[-]Result:success nager abstraction tool for ROS

      Run CMD Task:[sudo apt install python-rosdep -y]
      [/] python-rosinstall-generator : 依赖: python-rosdistro-modules (>= 0.7.3) 但是[-]Result:code:100 n-rospkg-modules 但是它将不会被安装

      Run CMD Task:[ls /opt/ros/melodic/setup.bash]
      [-]Result:success

      欢迎使用一键配置ROS开发环境,本工具由作者小鱼提供
      Run CMD Task:[ls /opt/ros/*/setup.bash]
      [-]Result:success

      Run CMD Task:[ls /home/*/.bashrc]
      [-]Result:success

      检测到系统有1个ROS环境,已为你生成启动选择,修改~/.bashrc可关闭
      恭喜你,安装成功了,再附赠你机器人学习宝藏网站:鱼香社区:https://fishros.org.cn/forum
      Run CMD Task:[ls /opt/ros/melodic/setup.bash]
      [-]Result:success

      小鱼,黄黄的提示:您安装的是ROS1,可以打开一个新的终端输入roscore测试!
      欢迎加入机器人学习交流QQ群:686914208(入群口令:一键安装)
      如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈

      发布在 一键安装 一键安装 ros1
      2
      246942710