@YanHaBOYei请问大佬具体是怎么解决的呢
02f29b05-5673-4138-bf6a-a25d7b266a56-5bcdc4cb26684e464e6683cbea4aed83.jpg
在运行小鱼课程的fishbot的led灯点亮、imu测量、超声波测量等项目考录到esp32后,OLED显示屏就不亮了。
这是什么原因,怎么修复?
---众多工具,等君来用---
ROS相关:
[1]:一键安装(推荐):ROS(支持ROS/ROS2,树莓派Jetson)
[3]:一键安装:rosdep(小鱼的rosdepc,又快又好用)
[4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
[9]:一键安装:Cartographer(18 20测试通过,16未测. updateTime 20240125)
[11]:一键安装:ROS Docker版(支持所有版本ROS/ROS2)
[16]:一键安装:系统自带ROS (!!警告!!仅供特殊情况下使用)
常用软件:
[2]:一键安装:github桌面版(小鱼常用的github客户端)
[6]:一键安装:NodeJS环境
[7]:一键安装:VsCode开发工具
[8]:一键安装:Docker
[10]:一键安装:微信(可以在Linux上使用的微信)
[12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
[15]:一键安装:QQ for Linux
配置工具:
[5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
[13]:一键配置:python国内源
[17]:一键配置: Docker代理(支持VPN+代理服务两种模式)
请输入[]内的数字以选择:1
Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_install_ros.py -O /tmp/fishinstall/tools/tool_install_ros.py --no-check-certificate]
[-][0.18s] CMD Result:success
Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_rosenv.py -O /tmp/fishinstall/tools/tool_config_rosenv.py --no-check-certificate]
[-][0.12s] CMD Result:success
Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_system_source.py -O /tmp/fishinstall/tools/tool_config_system_source.py --no-check-certificate]
[-][0.14s] CMD Result:success
欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..
小鱼:检测当前系统ubuntu20.04:focal 支持一键安装ROS
=========接下来这一步很很很很重要,如果不知道怎么选请选择1========
RUN Choose Task:[请输入括号内的数字]
新手或首次安装一定要一定要一定要换源并清理三方源,换源!!!系统默认国外源容易失败!!
[1]:更换系统源再继续安装
[2]:不更换继续安装
0:quit
请输入[]内的数字以选择:1
RUN Choose Task:[请输入括号内的数字]
请选择换源方式,如果不知道选什么请选2
[1]:仅更换系统源
[2]:更换系统源并清理第三方源
0:quit
请输入[]内的数字以选择:2
Run CMD Task:[sudo rm -rf /etc/apt/sources.list]
[-][0.00s] CMD Result:success
删除一个资源文件
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d]
[-][0.00s] CMD Result:success
Run CMD Task:[sudo mkdir -p /etc/apt/sources.list.d]
[-][0.00s] CMD Result:success
源选择方式说明:
自动测速选择最快的源: 系统将自动测试各个源的速度,并选择最快的源 根据测速结果手动选择源: 系统将测试各个源的速度,然后让您从测试结果中选择RUN Choose Task:[请输入括号内的数字]
请选择源的选择方式
[1]:自动测速选择最快的源
[2]:根据测速结果手动选择源
0:quit
请输入[]内的数字以选择:1
Run CMD Task:[dpkg --print-architecture]
[-][0.01s] CMD Result:success
检测到当前系统:ubuntu 架构:arm64 代号:focal,正在为你搜索适合的源...
搜索到可用源:['https://ports.ubuntu.com/ubuntu-ports', 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports', 'https://ports.ubuntu.com/ubuntu-ports', 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports', 'http://ports.ubuntu.com/ubuntu-ports', 'http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports', 'http://ports.ubuntu.com/ubuntu-ports', 'http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports']
接下来将进行自动测速以为您选择最快的源:
为您选择最快镜像源:https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports
创建文件:/etc/apt/sources.list
替换镜像源完成,尝试进行更新....
Run CMD Task:[sudo apt update]
[-][3.95s] CMD Result:success
搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
['Hit:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal InRelease', 'Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates InRelease', 'Hit:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports InRelease', 'Hit:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security InRelease', 'Reading package lists...', 'Building dependency tree...', 'Reading state information...', "143 packages can be upgraded. Run 'apt list --upgradable' to see them."]
镜像更新完成.....
============正在添加ROS源密钥=================
Run CMD Task:[sudo apt update]
[-][4.18s] CMD Result:success
Run CMD Task:[sudo apt search curl ]
[-][1.37s] CMD Result:success
Run CMD Task:[sudo apt install curl -y]
[-][1.33s] CMD Result:code:100
Run CMD Task:[sudo apt search gnupg2 ]
[-][1.30s] CMD Result:success
Run CMD Task:[sudo apt install gnupg2 -y]
[-][1.42s] CMD Result:code:100
正在挑选最快的密钥服务:['https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc', 'https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc']
https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc 延时:0.15s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc 延时:0.48s已自动选择最快密钥服务:https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc
Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-][0.28s] CMD Result:code:255
Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-][0.28s] CMD Result:code:255
Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
[-][0.21s] CMD Result:code:255
导入密钥失败,开始更换导入方式并二次尝试...
Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
[-][0.30s] CMD Result:code:255
Run CMD Task:[dpkg --print-architecture]
[-][0.01s] CMD Result:success
根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-][4.04s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
Run CMD Task:[sudo apt search ros-base ]
[-][1.40s] CMD Result:success
换源后更新失败,第二次开始切换源,尝试更换ROS2源为华为源!
根据您的系统,为您推荐安装源为['https://repo.huaweicloud.com/ros/ubuntu/', 'https://repo.huaweicloud.com/ros2/ubuntu/']
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
[-][0.00s] CMD Result:success
创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-][4.52s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
Run CMD Task:[sudo apt search ros-base ]
[-][1.40s] CMD Result:success
换源后更新失败,第三次开始切换源,尝试使用https-ROS官方源~!
根据您的系统,为您推荐安装源为['https://packages.ros.org/ros/ubuntu/', 'https://packages.ros.org/ros2/ubuntu/']
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
[-][0.00s] CMD Result:success
创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-][1.80s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][1.80s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][1.90s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][2.00s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][2.10s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][2.20s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [][2.31s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.31s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.40s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.50s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.60s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.70s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.80s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.90s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.00s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.10s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.21s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.31s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.41s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.51s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.61s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.71s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.81s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.91s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [-][4.11s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
Run CMD Task:[sudo apt search ros-base ]
[-][1.40s] CMD Result:success
换源后更新失败,第四次开始切换源,尝试更换ROS源为http-ROS官方源!
根据您的系统,为您推荐安装源为['http://packages.ros.org/ros/ubuntu/', 'http://packages.ros.org/ros2/ubuntu/']
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
[-][0.00s] CMD Result:success
创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-][4.41s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
Run CMD Task:[sudo apt search ros-base ]
[-][1.40s] CMD Result:success
Run CMD Task:[sudo apt update]
[-][4.32s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
四次换源后都失败了,请及时联系小鱼获取解决方案并处理!
Run CMD Task:[sudo apt search ros-base ]
[-][1.33s] CMD Result:success
欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈
检测到本次运行出现失败命令,直接退出按Ctrl+C,按任意键上传日志并退出
82cecbce-a0b0-4a07-81cd-ef4dfcb3a072-image.png
ROS2: Humble
Arch: Arm64
Ubuntu: 22.04
Gazebo Version: Gazebo Fortress
已经提问过AI,但还是无法解决
~/Desktop/mysh ❯ ros2 launch sim_world import_sim_world.launch.py 13:24:47 [INFO] [launch]: All log files can be found below /home/orin/.ros/log/2025-09-11-13-24-51-165552-jetson-1385478 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [ign gazebo-1]: process started with pid [1385506] [ign gazebo-1] [Wrn] [Conversions.cc:722] <gui><camera> can't be converted yet [ign gazebo-1] [Dbg] [gz.cc:161] Subscribing to [/gazebo/starting_world]. [ign gazebo-1] [Dbg] [gz.cc:163] Waiting for a world to be set from the GUI... [ign gazebo-1] [Msg] Received world [/home/orin/ros2_ws/install/sim_world/share/sim_world/worlds/custom_room.world] from the GUI. [ign gazebo-1] [Dbg] [gz.cc:167] Unsubscribing from [/gazebo/starting_world]. [ign gazebo-1] [Msg] Ignition Gazebo Server v6.17.0 [ign gazebo-1] [Msg] Loading SDF world file[/home/orin/ros2_ws/install/sim_world/share/sim_world/worlds/custom_room.world]. [ign gazebo-1] [Msg] Serving entity system service on [/entity/system/add] [ign gazebo-1] [Msg] Loaded level [3] [ign gazebo-1] [Msg] No systems loaded from SDF, loading defaults [ign gazebo-1] [Dbg] [ServerConfig.cc:1043] Loaded (3) plugins from file [/home/orin/.ignition/gazebo/6/server.config] [ign gazebo-1] [Dbg] [Physics.cc:804] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/lib/aarch64-linux-gnu/ign-physics-5/engine-plugins/libignition-physics-dartsim-plugin.so] [ign gazebo-1] [Dbg] [SystemManager.cc:73] Loaded system [gz::sim::systems::Physics] for entity [1] [ign gazebo-1] [Msg] Create service on [/world/default/create] [ign gazebo-1] [Msg] Remove service on [/world/default/remove] [ign gazebo-1] [Msg] Pose service on [/world/default/set_pose] [ign gazebo-1] [Msg] Pose service on [/world/default/set_pose_vector] [ign gazebo-1] [Msg] Light configuration service on [/world/default/light_config] [ign gazebo-1] [Msg] Physics service on [/world/default/set_physics] [ign gazebo-1] [Msg] SphericalCoordinates service on [/world/default/set_spherical_coordinates] [ign gazebo-1] [Msg] Enable collision service on [/world/default/enable_collision] [ign gazebo-1] [Msg] Disable collision service on [/world/default/disable_collision] [ign gazebo-1] [Msg] Material service on [/world/default/visual_config] [ign gazebo-1] [Msg] Material service on [/world/default/wheel_slip] [ign gazebo-1] [Dbg] [SystemManager.cc:73] Loaded system [gz::sim::systems::UserCommands] for entity [1] [ign gazebo-1] [Dbg] [SystemManager.cc:73] Loaded system [gz::sim::systems::SceneBroadcaster] for entity [1] [ign gazebo-1] [Msg] Serving world controls on [/world/default/control], [/world/default/control/state] and [/world/default/playback/control] [ign gazebo-1] [Msg] Serving GUI information on [/world/default/gui/info] [ign gazebo-1] [Msg] World [default] initialized with [default_physics] physics profile. [ign gazebo-1] [Msg] Serving world SDF generation service on [/world/default/generate_world_sdf] [ign gazebo-1] [Msg] Serving world names on [/gazebo/worlds] [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] qrc:/qml/StyleDialog.qml:112:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] qrc:/qml/StyleDialog.qml:105:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] qrc:/qml/StyleDialog.qml:98:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] qrc:qml/Main.qml:102:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] qrc:/qml/PluginMenu.qml:27:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/Gazebo/GazeboDrawer.qml:242:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:57:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [Msg] Resource path add service on [/gazebo/resource_paths/add].[Msg] Ignition Gazebo GUI v6.17.0 [ign gazebo-1] [Dbg] [Gui.cc:253] Waiting for subscribers to [/gazebo/starting_world]... [ign gazebo-1] [Dbg] [Application.cc:92] Initializing application. [ign gazebo-1] [GUI] [Dbg] [Application.cc:555] Create main window [ign gazebo-1] [GUI] [Dbg] [PathManager.cc:66] Requesting resource paths through [/gazebo/resource_paths/get] [ign gazebo-1] [GUI] [Dbg] [Gui.cc:333] GUI requesting list of world names. The server may be busy downloading resources. Please be patient. [ign gazebo-1] [GUI] [Dbg] [PathManager.cc:55] Received resource paths. [ign gazebo-1] [GUI] [Dbg] [Gui.cc:391] Requesting GUI from [/world/default/gui/info]... [ign gazebo-1] [GUI] [Dbg] [GuiRunner.cc:145] Requesting initial state from [/world/default/state]... [ign gazebo-1] [GUI] [Msg] Loading config [/home/orin/.ignition/gazebo/6/gui.config] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [MinimalScene] [ign gazebo-1] [GUI] [Msg] Added plugin [3D View] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [MinimalScene] from path [/usr/lib/aarch64-linux-gnu/ign-gui-6/plugins/libMinimalScene.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [EntityContextMenuPlugin] [ign gazebo-1] [GUI] [Msg] Added plugin [Entity Context Menu] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [EntityContextMenuPlugin] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libEntityContextMenuPlugin.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [GzSceneManager] [ign gazebo-1] [GUI] [Msg] Added plugin [Scene Manager] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [GzSceneManager] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libGzSceneManager.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [InteractiveViewControl] [ign gazebo-1] [GUI] [Msg] Camera view controller topic advertised on [/gui/camera/view_control] [ign gazebo-1] [GUI] [Msg] Camera reference visual topic advertised on [/gui/camera/view_control/reference_visual] [ign gazebo-1] [GUI] [Msg] Camera view control sensitivity advertised on [/gui/camera/view_control/sensitivity] [ign gazebo-1] [GUI] [Msg] Added plugin [Interactive view control] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [InteractiveViewControl] from path [/usr/lib/aarch64-linux-gnu/ign-gui-6/plugins/libInteractiveViewControl.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [CameraTracking] [ign gazebo-1] [GUI] [Msg] Added plugin [Camera tracking] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [CameraTracking] from path [/usr/lib/aarch64-linux-gnu/ign-gui-6/plugins/libCameraTracking.so] [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/Spawn/Spawn.qml:32:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/WorldControl/WorldControl.qml:30:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [MarkerManager] [ign gazebo-1] [GUI] [Msg] Listening to stats on [/world/default/stats] [ign gazebo-1] [GUI] [Msg] Added plugin [Marker Manager] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [MarkerManager] from path [/usr/lib/aarch64-linux-gnu/ign-gui-6/plugins/libMarkerManager.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [SelectEntities] [ign gazebo-1] [GUI] [Msg] Added plugin [Select entities] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [SelectEntities] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libSelectEntities.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [Spawn] [ign gazebo-1] [GUI] [Msg] Added plugin [Spawn] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [Spawn] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libSpawn.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [VisualizationCapabilities] [ign gazebo-1] [GUI] [Msg] View as transparent service on [/gui/view/transparent] [ign gazebo-1] [GUI] [Msg] View as wireframes service on [/gui/view/wireframes] [ign gazebo-1] [GUI] [Msg] View center of mass service on [/gui/view/com] [ign gazebo-1] [GUI] [Msg] View inertia service on [/gui/view/inertia] [ign gazebo-1] [GUI] [Msg] View collisions service on [/gui/view/collisions] [ign gazebo-1] [GUI] [Msg] View joints service on [/gui/view/joints] [ign gazebo-1] [GUI] [Msg] View frames service on [/gui/view/frames] [ign gazebo-1] [GUI] [Msg] Added plugin [Visualization capabilities] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [VisualizationCapabilities] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libVisualizationCapabilities.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [WorldControl] [ign gazebo-1] [GUI] [Msg] Using world control service [/world/default/control] [ign gazebo-1] [GUI] [Msg] Listening to stats on [/world/default/stats] [ign gazebo-1] [GUI] [Dbg] [WorldControl.cc:246] Using an event to share WorldControl msgs with the server [ign gazebo-1] [GUI] [Msg] Added plugin [World control] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [WorldControl] from path [/usr/lib/aarch64-linux-gnu/ign-gui-6/plugins/libWorldControl.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [WorldStats] [ign gazebo-1] [GUI] [Msg] Listening to stats on [/world/default/stats] [ign gazebo-1] [GUI] [Msg] Added plugin [World stats] to main window [ign gazebo-1] [Wrn] [Model.hh:69] [Wrn] [Model.hh:69] [Wrn] [Model.hh:69] Skipping serialization / deserialization for models with //pose/@relative_to attribute.with //pose/@relative_to attribute. [ign gazebo-1] [Wrn] [Model.hh:69] Skipping serialization / deserialization for models with //pose/@relative_to attribute.with //pose/@relative_to attribute.Skipping serialization / deserialization for models with //pose/@relative_to attribute. [ign gazebo-1] [Wrn] [Model.hh:69] Skipping serialization / deserialization for models with //pose/@relative_to attribute. [ign gazebo-1] Skipping serialization / deserialization for models with //pose/@relative_to attribute. [ign gazebo-1] [Wrn] [Component.hh:144] Trying to serialize component with data type [N3sdf3v125WorldE], which doesn't have `operator<<`. Component will not be serialized. [ign gazebo-1] [Wrn] [Model.hh:69] Skipping serialization / deserialization for models with //pose/@relative_to attribute. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/TransformControl/TransformControl.qml:104:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/TransformControl/TransformControl.qml:99:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/TransformControl/TransformControl.qml:94:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/TransformControl/TransformControl.qml:89:3: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityTree/EntityTree.qml:148:7: QML ToolButton: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Component.hh:189] Trying to deserialize component with data type [N3sdf3v125WorldE], which doesn't have `operator>>`. Component will not be deserialized. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityTree/EntityTree.qml:148:7: QML ToolButton: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/WorldStats/WorldStats.qml:53:3: QML RowLayout: Binding loop detected for property "x" [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Wrn] [Application.cc:797] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead. [ign gazebo-1] [GUI] [Msg] Loaded plugin [WorldStats] from path [/usr/lib/aarch64-linux-gnu/ign-gui-6/plugins/libWorldStats.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [Shapes] [ign gazebo-1] [GUI] [Msg] Added plugin [Shapes] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [Shapes] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libShapes.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [Lights] [ign gazebo-1] [GUI] [Msg] Added plugin [Lights] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [Lights] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libLights.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [TransformControl] [ign gazebo-1] [GUI] [Dbg] [TransformControl.cc:222] Legacy mode is disabled; this plugin must be used with MinimalScene. [ign gazebo-1] [GUI] [Msg] Added plugin [Transform control] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [TransformControl] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libTransformControl.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [Screenshot] [ign gazebo-1] [GUI] [Msg] Screenshot service on [/gui/screenshot] [ign gazebo-1] [GUI] [Msg] Added plugin [Screenshot] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [Screenshot] from path [/usr/lib/aarch64-linux-gnu/ign-gui-6/plugins/libScreenshot.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [CopyPaste] [ign gazebo-1] [GUI] [Msg] Added plugin [Copy/Paste] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [CopyPaste] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libCopyPaste.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [ComponentInspector] [ign gazebo-1] [GUI] [Msg] Added plugin [Component inspector] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [ComponentInspector] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libComponentInspector.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:426] Loading plugin [EntityTree] [ign gazebo-1] [GUI] [Msg] Added plugin [Entity tree] to main window [ign gazebo-1] [GUI] [Msg] Loaded plugin [EntityTree] from path [/usr/lib/aarch64-linux-gnu/ign-gazebo-6/plugins/gui/libEntityTree.so] [ign gazebo-1] [GUI] [Dbg] [Application.cc:296] Loading window config [ign gazebo-1] [GUI] [Msg] Using server control service [/server_control] [ign gazebo-1] [GUI] [Dbg] [Application.cc:569] Applying config [ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2] [ign gazebo-1] [GUI] [Dbg] [MinimalScene.cc:602] Create scene [scene] [ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]Traceback (most recent call last):
File "/tmp/fishinstall/install.py", line 134, in <module>
main()
File "/tmp/fishinstall/install.py", line 123, in main
run_tool_file(tools[code]['tool'].replace("/","."))
File "/tmp/fishinstall/tools/base.py", line 1478, in run_tool_file
if tool.run()==False: return False
File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 94, in run
self.install_rosdepc()
File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 85, in install_rosdepc
PrintUtils.print_warning("安装失败,尝试使用其他方式安装...")
AttributeError: type object 'PrintUtils' has no attribute 'print_warning'
在ros1(Noetic)中要如何使用Cartographer只根据激光雷达的点云数据建立3D图?
我目前使用的激光雷达是速腾16线激光雷达,可以读出数据,但是要怎么配置Cartographer才能进行3D建图,期望大概是下面这种效果e0512f4b-c1c3-4632-bb1c-5ff6d11fb27c-image.png
通过windows官方安装的wsl(ubuntu)可以正常安装使用ros吗,还是需要执行其他步骤才行
已经测试过,使用这条语句xTaskCreate(micro_ros_task, "microros_task", 10240, NULL, 1, NULL);添加任务后,板子运行一小段时间就会自动重启,注释掉这条语句板子的能正常运行并且功能正常。
重启时串口打印信息如下:
Odom: {x: 0.172388, y: 0.032440, angle: 0.361021} Odom: {x: 0.172919, y: 0.032642, angle: 0.362791} Odom: {x: 0.173449, y: 0.032844, angle: 0.364560} Odom: {x: 0.173931, y: 0.033029, angle: 0.365740} Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled. Core 0 register dump: PC : 0x6d6f682f PS : 0x00060530 A0 : 0x801451f9 A1 : 0x3ffb4830 A2 : 0x3ffcd378 A3 : 0x3ffb4930 A4 : 0x00000018 A5 : 0x3ffb486f A6 : 0x3ffcd411 A7 : 0x00000054 A8 : 0x8015943c A9 : 0x3ffb47f0 A10 : 0x3ffc3f78 A11 : 0x3ffb4930 A12 : 0x00000018 A13 : 0x00000001 A14 : 0x00000000 A15 : 0x00000001 SAR : 0x0000001b EXCCAUSE: 0x00000000 EXCVADDR: 0x00000000 LBEG : 0x400899d0 LEND : 0x400899e6 LCOUNT : 0xffffffff Backtrace: 0x6d6f682c:0x3ffb4830 |<-CORRUPTED ELF file SHA256: 69f1953c41a5adb4 Rebooting... ets Jul 29 2019 12:21:46 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:1184 load:0x40078000,len:13232 load:0x40080400,len:3028 entry 0x400805e4 Target speed: {left motor speed: 41.250000, right motor speed: 58.750000} Odom: {x: 0.000619, y: 0.000000, angle: 0.000000} Odom: {x: 0.001239, y: 0.000000, angle: 0.000000} Odom: {x: 0.001910, y: 0.000001, angle: 0.001770} Odom: {x: 0.002323, y: 0.000002, angle: 0.001770} Odom: {x: 0.002736, y: 0.000003, angle: 0.002950} Odom: {x: 0.003097, y: 0.000004, angle: 0.003539} Odom: {x: 0.003355, y: 0.000005, angle: 0.004129} Odom: {x: 0.003665, y: 0.000007, angle: 0.005309}该问题与这篇问题帖子所描述情况相同,并且无法通过修改num_handles为1来解决。
大佬帮忙看看,Thanks♪(・ω・)ノ!!!
使用一键安装过程中遇到程序崩溃
Traceback (most recent call last): File "/tmp/fishinstall/install.py", line 134, in <module> main() File "/tmp/fishinstall/install.py", line 123, in main run_tool_file(tools[code]['tool'].replace("/",".")) File "/tmp/fishinstall/tools/base.py", line 1478, in run_tool_file if tool.run()==False: return False File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 94, in run self.install_rosdepc() File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 85, in install_rosdepc PrintUtils.print_warning("安装失败,尝试使用其他方式安装...") AttributeError: type object 'PrintUtils' has no attribute 'print_warning'错误:检测系统版本失败,请反馈以下信息到鱼香社区:Fail on check ros version with 22.04
系统:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
ros2版本:
humble
请教一下怎么解决,感谢
ROS相关:
[1]:一键安装(推荐):ROS(支持ROS/ROS2,树莓派Jetson)
[3]:一键安装:rosdep(小鱼的rosdepc,又快又好用)
[4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
[9]:一键安装:Cartographer(18 20测试通过,16未测. updateTime 20240125)
[11]:一键安装:ROS Docker版(支持所有版本ROS/ROS2)
[16]:一键安装:系统自带ROS (!!警告!!仅供特殊情况下使用)
常用软件:
[2]:一键安装:github桌面版(小鱼常用的github客户端)
[6]:一键安装:NodeJS环境
[7]:一键安装:VsCode开发工具
[8]:一键安装:Docker
[10]:一键安装:微信(可以在Linux上使用的微信)
[12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
[15]:一键安装:QQ for Linux
配置工具:
[5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
[13]:一键配置:python国内源
[17]:一键配置: Docker代理(支持VPN+代理服务两种模式)
请输入[]内的数字以选择:3
Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_rosdep.py -O /tmp/fishinstall/tools/tool_config_rosdep.py --no-check-certificate]
[-][0.03s] CMD Result:success 80... 已连接。sdep.py
欢迎使用模板工程,本工具由作者小鱼提供
Run CMD Task:[sudo apt install python3-pip -y]
[-][0.50s] CMD Result:success 个软件包未被升级。
请选择要使用的pip源:
RUN Choose Task:[请输入括号内的数字]
请选择pip源:
[1]:清华源 - https://pypi.tuna.tsinghua.edu.cn/simple
[2]:阿里云 - https://mirrors.aliyun.com/pypi/simple
[3]:中国科技大学 - https://pypi.mirrors.ustc.edu.cn/simple
[4]:华为云 - https://repo.huaweicloud.com/repository/pypi/simple
0:quit
请输入[]内的数字以选择:4
您选择了: https://repo.huaweicloud.com/repository/pypi/simple
正在使用 https://repo.huaweicloud.com/repository/pypi/simple 安装 rosdepc...
Run CMD Task:[sudo pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple rosdepc --break-system-packages]
[-][0.00s] CMD Result:code:2
检测到程序发生异常退出,请打开:https://fishros.org.cn/forum 携带如下内容进行反馈
标题:使用一键安装过程中遇到程序崩溃
Traceback (most recent call last): File "/tmp/fishinstall/install.py", line 134, in <module> main() File "/tmp/fishinstall/install.py", line 123, in main run_tool_file(tools[code]['tool'].replace("/",".")) File "/tmp/fishinstall/tools/base.py", line 1478, in run_tool_file if tool.run()==False: return False File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 94, in run self.install_rosdepc() File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 85, in install_rosdepc PrintUtils.print_warning("安装失败,尝试使用其他方式安装...") AttributeError: type object 'PrintUtils' has no attribute 'print_warning'本次运行详细日志文件已保存至 /tmp/fishros_install.log
检测到本次运行出现失败命令,直接退出按Ctrl+C,按任意键上传日志并退出
be828094-9370-4857-83e5-c2620df8c487-image.png
a1d56bbf-1152-472b-a6b5-0a4ed07ff3ba-image.png ,正常构建和显示没有问题,而且我之前已经做完了小海龟的巡逻没出现问题22a93fa3-96d3-4b80-8f0d-daf58ec353a8-image.png ,除了FaceDetector是小写的d其他和视频没区别
建图时,使用键盘控制机器人移动,gazebo中机器人无法转向和rviz可以正常移动,这是为什么?
安装rosdep,到了换源阶段报错如下:
Traceback (most recent call last):
File "/tmp/fishinstall/install.py", line 134, in <module>
main()
File "/tmp/fishinstall/install.py", line 123, in main
run_tool_file(tools[code]['tool'].replace("/","."))
File "/tmp/fishinstall/tools/base.py", line 1478, in run_tool_file
if tool.run()==False: return False
File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 94, in run
self.install_rosdepc()
File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 85, in install_rosdepc
PrintUtils.print_warning("安装失败,尝试使用其他方式安装...")
AttributeError: type object 'PrintUtils' has no attribute 'print_warning'
在gazebo的启动时,需要在xacro文件中用绝对路径才能找到meshes文件,但是在启动rviz的时候,就需要在xacro中用package://这种才能找到meshes文件。我给xacro文件弄成了两个,这两个xacro文件的内容完全相同,但是一个用绝对路径给gazebo启动,另一个用package路径给rviz用。
这样操作可行不,会不会影响后续的slam,nav导航等功能啊
或者大佬们有没有其他的什么好方法呀```
报错信息:
Traceback (most recent call last): File "/tmp/fishinstall/install.py", line 134, in <module> main() File "/tmp/fishinstall/install.py", line 123, in main run_tool_file(tools[code]['tool'].replace("/",".")) File "/tmp/fishinstall/tools/base.py", line 1478, in run_tool_file if tool.run()==False: return False File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 94, in run self.install_rosdepc() File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 85, in install_rosdepc PrintUtils.print_warning("安装失败,尝试使用其他方式安装...") AttributeError: type object 'PrintUtils' has no attribute 'print_warning'日志文件(/tmp/fishros_install.log)内容:
Traceback (most recent call last): File "/tmp/fishinstall/install.py", line 134, in <module> main() File "/tmp/fishinstall/install.py", line 123, in main run_tool_file(tools[code]['tool'].replace("/",".")) File "/tmp/fishinstall/tools/base.py", line 1478, in run_tool_file if tool.run()==False: return False File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 94, in run self.install_rosdepc() File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 85, in install_rosdepc PrintUtils.print_warning("安装失败,尝试使用其他方式安装...") AttributeError: type object 'PrintUtils' has no attribute 'print_warning' [37m[32mRun CMD Task:[dpkg --print-architecture] [/][0.00s] amd64 [37m[-][0.00s] CMD Result:success [37m[32mRun CMD Task:[wget http://mirror.fishros.com/install/tools/translation/translator.py -O /tmp/fishinstall//tools/translation/translator.py --no-check-certificate] [/][0.00s] --2025-09-06 09:05:13-- http://mirror.fishros.com/install/tools/translation/translator.py [\][0.05s] 正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169 [|][0.05s] 正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。 [-][0.05s] 已发出 HTTP 请求,正在等待回应... 200 OK [/][0.05s] 长度: 2957 (2.9K) [application/octet-stream] [\][0.05s] 正在保存至: ‘/tmp/fishinstall//tools/translation/translator.py’ [37m[-][0.05s] CMD Result:success [37m[32mRun CMD Task:[wget http://mirror.fishros.com/install/tools/translation/assets/zh_CN.py -O /tmp/fishinstall//tools/translation/assets/zh_CN.py --no-check-certificate] [/][0.00s] --2025-09-06 09:05:17-- http://mirror.fishros.com/install/tools/translation/assets/zh_CN.py [\][0.04s] 正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169 [|][0.04s] 正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。 [-][0.04s] 已发出 HTTP 请求,正在等待回应... 200 OK [/][0.04s] 长度: 23 [application/octet-stream] [\][0.04s] 正在保存至: ‘/tmp/fishinstall//tools/translation/assets/zh_CN.py’ [37m[-][0.04s] CMD Result:success [37m[32mRun CMD Task:[wget http://mirror.fishros.com/install/tools/translation/assets/en_US.py -O /tmp/fishinstall//tools/translation/assets/en_US.py --no-check-certificate] [/][0.00s] --2025-09-06 09:05:17-- http://mirror.fishros.com/install/tools/translation/assets/en_US.py [\][0.05s] 正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169 [|][0.05s] 正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。 [-][0.05s] 已发出 HTTP 请求,正在等待回应... 200 OK [/][0.05s] 长度: 5808 (5.7K) [application/octet-stream] [\][0.05s] 正在保存至: ‘/tmp/fishinstall//tools/translation/assets/en_US.py’ [37m[-][0.05s] CMD Result:success [37m[32mRun CMD Task:[wget https://fishros.org.cn/forum/topic/1733 -O /tmp/t1733 -q --timeout 10 && rm -rf /tmp/t1733] [37m[-][0.50s] CMD Result:success [32m已为您切换语言至当前所在国家语言:zh_CN[37m [32m基础检查通过...[37m [37m=============================================================================== ======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!======= ======一键安装已开源,请放心使用:https://github.com/fishros/install ======= =============================================================================== [37m .-~~~~~~~~~-._ _.-~~~~~~~~~-. __.' ~. .~ `.__ .'// 开卷有益 \./ 书山有路 \ `. .'// 可以多看看小鱼的文章 | 关注B站鱼香ROS机器人 \ `. .'// .-~~~~~~~~~~~~~~-._ | _,-~~~~~~~~~~~. \`. .'//.-" `-. | .-' "-.\`. .'//______.============-.. \ | / ..-============.______\`. .'______________________________\|/______________________________` ---------------------------------------------------------------------- [37mRUN Choose Task:[请输入括号内的数字] [37m---众多工具,等君来用--- [37mROS相关: [37m [1]:一键安装(推荐):ROS(支持ROS/ROS2,树莓派Jetson) [37m [3]:一键安装:rosdep(小鱼的rosdepc,又快又好用) [37m [4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择) [37m [9]:一键安装:Cartographer(18 20测试通过,16未测. updateTime 20240125) [37m [11]:一键安装:ROS Docker版(支持所有版本ROS/ROS2) [37m [16]:一键安装:系统自带ROS (!!警告!!仅供特殊情况下使用) [37m常用软件: [37m [2]:一键安装:github桌面版(小鱼常用的github客户端) [37m [6]:一键安装:NodeJS环境 [37m [7]:一键安装:VsCode开发工具 [37m [8]:一键安装:Docker [37m [10]:一键安装:微信(可以在Linux上使用的微信) [37m [12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot) [37m [15]:一键安装:QQ for Linux [37m配置工具: [37m [5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统) [37m [13]:一键配置:python国内源 [37m [17]:一键配置: Docker代理(支持VPN+代理服务两种模式) [37m[0]:quit [37m[32mRun CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_rosdep.py -O /tmp/fishinstall/tools/tool_config_rosdep.py --no-check-certificate] [/][0.00s] --2025-09-06 09:05:29-- http://mirror.fishros.com/install/tools/tool_config_rosdep.py [\][0.05s] 正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169 [|][0.05s] 正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。 [-][0.05s] 已发出 HTTP 请求,正在等待回应... 200 OK [/][0.05s] 长度: 3609 (3.5K) [application/octet-stream] [\][0.05s] 正在保存至: ‘/tmp/fishinstall/tools/tool_config_rosdep.py’ [37m[-][0.05s] CMD Result:success [37m欢迎使用模板工程,本工具由作者小鱼提供 [37m[32mRun CMD Task:[sudo apt install python3-pip -y] [/][0.00s] 正在读取软件包列表... [\][0.06s] 正在分析软件包的依赖关系树... [|][0.24s] 正在读取状态信息... [-][0.24s] python3-pip 已经是最新版 (22.0.2+dfsg-1ubuntu0.6)。 [/][0.50s] 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。 [37m[-][0.60s] CMD Result:success [37m请选择要使用的pip源: [37mRUN Choose Task:[请输入括号内的数字] [37m请选择pip源: [37m[1]:清华源 - https://pypi.tuna.tsinghua.edu.cn/simple [37m[2]:阿里云 - https://mirrors.aliyun.com/pypi/simple [37m[3]:中国科技大学 - https://pypi.mirrors.ustc.edu.cn/simple [37m[4]:华为云 - https://repo.huaweicloud.com/repository/pypi/simple [37m[0]:quit [32m您选择了: https://pypi.mirrors.ustc.edu.cn/simple[37m [37m正在使用 https://pypi.mirrors.ustc.edu.cn/simple 安装 rosdepc... [37m[32mRun CMD Task:[sudo pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple rosdepc --break-system-packages] [31m[-][0.00s] CMD Result:code:2 Execute Command: sudo pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple rosdepc --break-system-packages Error Code2 ====================OUT==================== ====================ERR====================大家好,请问在使用ROS2做机械臂开发的时候,机械臂厂家给的.STP文件和真实机械臂存在出入,具体为:.STP模型中的零件之间的两个接触面非平行面,导致装配不起来,从而没办法从solidworks中导出urdf。请问这种情况应该怎么办
cef63a59-3437-43cf-a505-fbdd51eb14e6-6c065a23475369343aaad2ea848ca989.png
73ea4afc-5e43-44a1-9b6e-0dedce2ded8f-afb3d7466d39869c69b7b85d891e1177.png
Traceback (most recent call last):
File "/tmp/fishinstall/install.py", line 134, in <module>
main()
File "/tmp/fishinstall/install.py", line 123, in main
run_tool_file(tools[code]['tool'].replace("/","."))
File "/tmp/fishinstall/tools/base.py", line 1478, in run_tool_file
if tool.run()==False: return False
File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 94, in run
self.install_rosdepc()
File "/tmp/fishinstall/tools/tool_config_rosdep.py", line 85, in install_rosdepc
PrintUtils.print_warning("安装失败,尝试使用其他方式安装...")
AttributeError: type object 'PrintUtils' has no attribute 'print_warning'
在使用Brideg网络模式的容器中运行Fetch机器人仿真,会有警告:
TF_REPEATED_DATA ignoring data with redundant timestamp for frame base_link (parent odom) at time 1235.201000 according to authority unknown_publisher
以下是部分信息:
如果需要提供额外的信息辅助您提供解答,请留言,谢谢。
目前我在进行一个机械臂控制的项目,我通过ros2_control给机械臂写了硬件组件,控制器方面使用了JTC,已经可以正常通过话题来控制机械臂舵机角度了。接着我开始尝试在真机中使用moveit2。
问题描述:但是我在同时运行moveit2生成的功能包中的demo.launch.py和我用ros2_control控制的机械臂的相关节点后,机械臂和rviz2中显示的机械臂开始抽搐。通过搜索发现是因为demo.launch.py中也会运行controller_mananger节点,这就跟我用ros2_control控制机械臂中的controller_manager冲突了,我想知道如何可以整合这两个,或者在哪里可以找到相关资料
具体细节和上下文:以下是我moveit2生成的功能包和ros2_control控制的功能包
09ce76c9-3358-49ca-b397-450bd9016dbc-image.png
79a84a53-27be-43d3-9075-299fcedf3f34-image.png
我尝试过单独运行move_group.launch.py、moveit_rviz.launch.py以及控制相关节点,会出现以下问题。
0bc19c4a-cff0-43f1-a5e1-c058c4686d5b-image.png
80e5355e-2922-421a-98b4-5bb884fe1c2e-image.png
现有一台雷达驱动,放在Ubuntu2204(Humble)上运行正常,但是因为一些原因需要在Ubuntu2004(Foxy)上运行。
目前驱动可以正常运行,但是初次运行时,通过ros2 topic list无法显示话题,网上搜索后,修改了package.xml和CMakeLists.txt文件,编译运行后,执行ros2 topic list可以显示话题,但是使用rviz2里找不到雷达话题。
目前的情况为:
执行ros2 node info /节点后,可以明显看到Publishers里有雷达话题;
执行ros2 topic echo /话题 ,无数据显示出来。
因为一些原因无法上传图片,小白想了解一下,出现上述问题的可能情况,以及在humble的驱动移植到foxy上需要注意哪些情况?
感谢各位大佬的查看,如果可以帮忙那将感激不尽。
版块
-
1.4k
主题5.0k
帖子 -
461
主题3.0k
帖子 -
68
主题263
帖子 -
1.1k
主题4.4k
帖子 -
1.0k
主题3.7k
帖子 -
5
主题11
帖子 -
360
主题1.7k
帖子