一键安装后查看文件缺少关键文件是什么原因呢?没有catkin_make_isolated这个文件
如题,以二进制安装moveit2,找不到moveit2_tutorials包,按“moveit”搜索,只能找到如下的包:
moveit moveit_common moveit_configs_utils moveit_core moveit_kinematics moveit_msgs moveit_planners moveit_planners_ompl moveit_plugins moveit_ros moveit_ros_benchmarks moveit_ros_move_group moveit_ros_occupancy_map_monitor moveit_ros_planning moveit_ros_planning_interface moveit_ros_robot_interaction moveit_ros_visualization moveit_ros_warehouse moveit_setup_app_plugins moveit_setup_assistant moveit_setup_controllers moveit_setup_core_plugins moveit_setup_framework moveit_setup_srdf_plugins moveit_simple_controller_manager环境:win11 + ros2 + humble + moveit2 (直接在windows环境安装的,不是经过WSL安装的Ubuntu)
问题:
通过二进制安装,有moveit2_tutorials包吗,是否需要source(windows上是call)一下,或是需要单独安装moveit2_tutorials包(单独安装试了,需要其他依赖,一层套一层的,还听麻烦的,没有过多尝试,)
另外:按照教程:
https://moveit.ai/install-moveit2/source-windows/
在Windows上安装源码版本时也出现不少问题,如果此以二进制安装不能解决问题再尝试源码安装。
source install/setup.bash
ros2 launch fishbot_bringup fishbot_bringup.launch.py
[INFO] [launch]: All log files can be found below /home/fishros/.ros/log/2024-11-11-23-01-37-987010-fishros-linux-4503
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'joint_state_publisher' not found, searching: ['/home/fishros/fishbot/fishbot/install/fishbot_navigation2', '/home/fishros/fishbot/fishbot/install/fishbot_interfaces', '/home/fishros/fishbot/fishbot/install/fishbot_description', '/home/fishros/fishbot/fishbot/install/fishbot_cartographer', '/home/fishros/fishbot/fishbot/install/fishbot_bringup', '/opt/ros/humble']"
求救各位,我这个问题一直没在网上找到解决办法
我机器人的配置是ros2 humble,配备realsense D435i相机,有深度图、点云图、bgr图的topic,现在在用cartographer建图,但是出现了以下问题
a99608b9-bac7-41de-b237-2c18f68c7f6a-519868cbba3446fd94b48ee087bc3838_720.png
配置细节为:
launch.py文件如下
import os
from launch import LaunchDescription
from launch.substitutions import LaunchConfiguration
from launch_ros.actions import Node
from launch_ros.substitutions import FindPackageShare
def generate_launch_description():
# 定位到功能包的地址
# urdf_file_path = os.path.join(
# get_package_share_directory('birdy_cartographer'),
# 'urdf',
# '<mini_ostrich>.urdf'
# )
lua文件如下:
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
include "map_builder.lua"
include "trajectory_builder.lua"
options = {
map_builder = MAP_BUILDER,
trajectory_builder = TRAJECTORY_BUILDER,
map_frame = "map",
tracking_frame = "robot_base_frame_defined",
published_frame = "sn036222070655_color_optical_frame",
odom_frame = "odom",
provide_odom_frame = false,
publish_frame_projected_to_2d = false,
use_pose_extrapolator = true,
use_odometry = false,
use_nav_sat = false,
use_landmarks = false,
num_laser_scans = 0,
num_multi_echo_laser_scans = 1,
num_subdivisions_per_laser_scan = 10,
num_point_clouds = 1,
lookup_transform_timeout_sec = 0.2,
submap_publish_period_sec = 0.3,
pose_publish_period_sec = 5e-3,
trajectory_publish_period_sec = 30e-3,
rangefinder_sampling_ratio = 1.,
odometry_sampling_ratio = 1.,
fixed_frame_pose_sampling_ratio = 1.,
imu_sampling_ratio = 1.,
landmarks_sampling_ratio = 1.,
}
MAP_BUILDER.use_trajectory_builder_2d = true
TRAJECTORY_BUILDER_2D.num_accumulated_range_data = 10
TRAJECTORY_BUILDER_2D.use_imu_data = true
return options
launch后topic列表如下:
robot@robot-minipc:~/face_ws$ ros2 topic list
/clicked_point
/constraint_list
/echoes
/goal_pose
/imu
/initialpose
/joy
/joy/set_feedback
/landmark_poses_list
/map
/odom
/parameter_events
/points2
/realsense_camera_node/description
/realsense_camera_node/sn036222070655/camera_info
/realsense_camera_node/sn036222070655/color/bgr/image_raw
/realsense_camera_node/sn036222070655/depth/u16/image_raw
/realsense_camera_node/sn036222070655/xyz/pointcloud
/robot_grf_x
/robot_state
/rosout
/scan_matched_points2
/submap_list
/system_monitor_defined
/tf
/tf_static
/trajectory_node_list
/vel_cmd
其中/map 没有输出和订阅者,仅有一个发布者;/odom 没有订阅者,有输出;/imu有订阅者,有输出
tf树如下
732f66b8-b447-4e71-963e-9a091abaeb86-image.png
请问我该怎么办,能帮忙解决的话商量有偿的事情,感谢各位!
为什么在输入查找和添加依赖的指令后,make指令还会报错?
cmake_minimum_required(VERSION 3.8)
project (ros2_cpp)
add_executable(ros2_cpp_node ros2_cpp_node.cpp)
find_package(rclcpp REQUIRED)
target_include_directories(ros2_cpp_node PUBLIC ${rclcpp_INCLUED_DIRS})
target_link_libraries(ros2_cpp_node ${rclcpp_LIBRARIES})
错误如下:
zzz@study01:~/chart2$ make
[ 50%] Building CXX object CMakeFiles/ros2_cpp_node.dir/ros2_cpp_node.cpp.o
/home/zzz/chart2/ros2_cpp_node.cpp:1:10: fatal error: rclcpp/rclcpp.hpp: 没有那个文件或目录
1 | #include "rclcpp/rclcpp.hpp"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ros2_cpp_node.dir/build.make:76:CMakeFiles/ros2_cpp_node.dir/ros2_cpp_node.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:85:CMakeFiles/ros2_cpp_node.dir/all] 错误 2
make: *** [Makefile:101:all] 错误 2
sudo rosdep init
ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.
<urlopen error <urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list)>
由于一些原因,我需要将PointCloud2中的部分点云加上颜色,并在rviz中显示出来,numpy数据的形状为(n,4),以下是我使用的点云属性
fields = [
PointField(name='x', offset=0, datatype=PointField.FLOAT32, count=1),
PointField(name='y', offset=4, datatype=PointField.FLOAT32, count=1),
PointField(name='z', offset=8, datatype=PointField.FLOAT32, count=1),
PointField(name='rgb', offset=12, datatype=PointField.UINT32, count=1)
]
在转换过程中,我发现rgb需要32位无符号整数。我将蓝色[0,0,255]转换为255后,rviz中显示的是红色,紫色[128, 0, 128]转为8388736,rviz中显示的是蓝色
def rgb_to_int(r, g, b):
return (int(r) << 16 ) | (int(g) << 8 ) | int(b)
所以,我对rviz中颜色展示非常困惑
运行了source install/setup.bash指令,未按照应有的程序执行
cpp文件
错误提示
code_text ros2@ubuntu:~/chapt3$ printenv | grep AME LC_NAME=zh_CN.UTF-8 LOGNAME=ros2 USERNAME=ros2 AMENT_PREFIX_PATH=/opt/ros/foxy ros2@ubuntu:~/chapt3$ source install/setup.bash ros2@ubuntu:~/chapt3$ printenv | grep AME LC_NAME=zh_CN.UTF-8 LOGNAME=ros2 USERNAME=ros2 AMENT_PREFIX_PATH=/opt/ros/foxy ros2@ubuntu:~/chapt3$此为练习程序,我写了一个robot_tracker包用来读取robot_sensor的数据并滤波,编译能够通过,但是启动时报了以下错误
问题描述:[在这里详细描述您遇到的问题。请确保您提供了足够的背景信息,以便其他人能够理解您的问题。]
具体细节和上下文:launch 启动报错 Caught multiple exceptions when trying to load file of format [py](ROS2 HUMBLE)
使用了VsCode的Ros插件启动launch文件
启动运行之前使用了以下脚本进行工程的构建
task.json中有如下任务:
{ "label": "build:debug_robot_tracker", "type": "shell", "command": ". script/build_debug_robot_tracker.sh", "options": { "cwd": "${workspaceFolder}" // 设置工作目录为当前工作区 }, "presentation": { "reveal": "always", "panel": "shared", "clear": false }, "group": "build" },luanch.json中有如下启动任务:
{ "name" : "ROS2_Debug: robot_tracker", "type" : "ros", "request" : "debug_launch", "target" : "${workspaceFolder}/install/robot_tracker/share/robot_tracker/launch/debug_robot_tracker.launch.py", "preLaunchTask": "build:debug_robot_tracker", }, 尝试过的解决方法: [描述您已经尝试过的任何解决方法或方法。这可以帮助其他人了解您遇到问题的具体情况,并避免给出与您已经尝试过的解决方案相同的答案。] # *************************************************** # *******Copyright (C),2019-2099,Coder******* # * 文件名 : debug_robot_tracker.launch.py # * 文件功能 : Robot Sensor包Debug版本的launch文件 # * 编程者 : Coder # * 日期 : 2024.11.05 # * 编号-----作者---------日期-------注释 # * 00 Coder 2024.11.05 创建 # * 说明:Robot Sensor包Debug版本的launch文件 # *************************************************** import os from launch import LaunchDescription from launch_ros.actions import Node from launch.events import Shutdown from launch.event_handlers import OnProcessExit from launch.substitutions import LaunchConfiguration from ament_index_python.packages import get_package_share_directory from launch.actions import DeclareLaunchArgument, EmitEvent, RegisterEventHandler def generate_launch_description(): robot_tracker_share_directory = get_package_share_directory('robot_tracker') robot_sensor_share_directory = get_package_share_directory('robot_sensor') rviz_config_file = LaunchConfiguration('rviz_config') # RViz配置文件相对路径 robot_tracker_yaml_config_file = LaunchConfiguration('robot_tracker_yaml_config') # RViz配置文件相对路径 robot_sensor_yaml_config_file = LaunchConfiguration('robot_sensor_yaml_config') # RViz配置文件相对路径 declare_robot_tracker_yaml_config_file_cmd = DeclareLaunchArgument( 'robot_tracker_yaml_config', default_value = os.path.join(robot_tracker_share_directory, 'config', 'robot_tracker.yaml'), description='Full path to the robot_tracker YAML config file to use') declare_robot_sensor_yaml_config_file_cmd = DeclareLaunchArgument( 'robot_sensor_yaml_config', default_value = os.path.join(robot_sensor_share_directory, 'config', 'robot_sensor.yaml'), description='Full path to the robot_sensor YAML config file to use') declare_rviz_config_file_cmd = DeclareLaunchArgument( 'rviz_config', default_value = os.path.join(robot_tracker_yaml_config_file, 'rviz', 'robot_tracker.rviz'), description='Full path to the RVIZ config file to use') start_robot_sensor_cmd = Node( package='robot_sensor', # Robot Sensor软件包 executable='robot_sensor_node', # 可执行文件为robot_tracker_node name='robot_sensor_node', # 节点名称为robot_tracker parameters=[robot_sensor_yaml_config_file]) start_robot_tracker_cmd = Node( package='robot_tracker', # Robot Sensor软件包 executable='robot_tracker_node', # 可执行文件为robot_tracker_node name='robot_tracker_node', # 节点名称为robot_tracker parameters=[robot_tracker_yaml_config_file]) # 启动RViz start_rviz_cmd = Node( package='rviz2', # RViz2软件包 executable='rviz2', # 可执行文件为rviz2 arguments=['-d', rviz_config_file], output='screen',) # 输出到屏幕 # 退出事件处理器 exit_event_handler = RegisterEventHandler( event_handler=OnProcessExit( target_action=start_rviz_cmd, # 关联的目标动作是启动RViz on_exit=EmitEvent(event=Shutdown(reason='rviz exited')))) # 退出时触发关闭事件 # 创建启动描述并填充 ld = LaunchDescription() ld.add_action(declare_robot_tracker_yaml_config_file_cmd) # 添加YAML配置文件参数 ld.add_action(declare_robot_sensor_yaml_config_file_cmd) # 添加YAML配置文件参数 ld.add_action(declare_rviz_config_file_cmd) # 添加RViz配置文件参数 ld.add_action(start_robot_sensor_cmd) # 启动Robot Sensor ld.add_action(start_robot_tracker_cmd) # 启动Robot Sensor ld.add_action(start_rviz_cmd) # 启动RViz ld.add_action(exit_event_handler) # 添加退出事件处理器 return ld # 返回构建好的启动描述 if __name__ == '__main__': generate_launch_description()环境如下
Executing dumper with the following environment:
{
"SHELL": "/bin/zsh",
"ROS_VERSION": "2",
"LSCOLORS": "Gxfxcxdxbxegedabagacad",
"LESS": "-R",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
"ROS_PYTHON_VERSION": "3",
"ELECTRON_RUN_AS_NODE": "1",
"PWD": "/home/lixinlong/robot_ws",
"LOGNAME": "lixinlong",
"XDG_SESSION_TYPE": "tty",
"VSCODE_ESM_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
"MOTD_SHOWN": "pam",
"HOME": "/home/lixinlong",
"AUTOJUMP_ERROR_PATH": "/home/lixinlong/.local/share/autojump/errors.log",
"LANG": "C",
"LS_COLORS": "",
"SSL_CERT_DIR": "/usr/lib/ssl/certs",
"AMENT_PREFIX_PATH": "/home/lixinlong/robot_ws/install/robot_sensor:/home/lixinlong/robot_ws/install/robot_interfaces:/opt/ros/humble",
"CMAKE_PREFIX_PATH": "/home/lixinlong/robot_ws/install/robot_sensor:/home/lixinlong/robot_ws/install/robot_interfaces",
"VSCODE_AGENT_FOLDER": "/home/lixinlong/.vscode-server",
"VSCODE_L10N_BUNDLE_LOCATION": "vscode-local:/c%3A/Users/11233/.vscode/extensions/ms-ceintl.vscode-language-pack-zh-hans-1.95.2024103009/translations/extensions/vscode.json-language-features.i18n.json",
"AUTOENV_HOME": "/home/lixinlong/.autoenv",
"COLCON_PREFIX_PATH": "/home/lixinlong/robot_ws/install",
"SSH_CONNECTION": "192.168.196.1 11987 192.168.196.128 22",
"XDG_SESSION_CLASS": "user",
"VSCODE_HANDLES_SIGPIPE": "true",
"PYTHONPATH": "/home/lixinlong/robot_ws/install/robot_interfaces/local/lib/python3.10/dist-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages",
"ZSH": "/home/lixinlong/.oh-my-zsh",
"USER": "lixinlong",
"AUTOJUMP_SOURCED": "1",
"DISPLAY": "192.168.10.4:0.0",
"SHLVL": "0",
"PAGER": "less",
"VSCODE_CWD": "/home/lixinlong",
"XDG_SESSION_ID": "3",
"LD_LIBRARY_PATH": "/home/lixinlong/robot_ws/install/robot_interfaces/lib:/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib",
"XDG_RUNTIME_DIR": "/run/user/1000",
"SSL_CERT_FILE": "/usr/lib/ssl/certs/ca-certificates.crt",
"ROS_LOCALHOST_ONLY": "0",
"SSH_CLIENT": "192.168.196.1 11987 22",
"VSCODE_CLI_REQUIRE_TOKEN": "7fcae6c1-9ef5-477b-8ca8-391800a5fede",
"LC_ALL": "en_US.UTF-8",
"XDG_DATA_DIRS": "/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop",
"BROWSER": "/home/lixinlong/.vscode-server/cli/servers/Stable-e8653663e8840adaf45af01eab5c627a5af81807/server/bin/helpers/browser.sh",
"PATH": "/home/lixinlong/.local/bin:/home/lixinlong/.local/bin:/home/lixinlong/.vscode-server/cli/servers/Stable-e8653663e8840adaf45af01eab5c627a5af81807/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
"DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
"VSCODE_NLS_CONFIG": "{"userLocale":"zh-cn","osLocale":"zh-cn","resolvedLanguage":"zh-cn","defaultMessagesFile":"/home/lixinlong/.vscode-server/cli/servers/Stable-e8653663e8840adaf45af01eab5c627a5af81807/server/out/nls.messages.json","languagePack":{"translationsConfigFile":"/home/lixinlong/.vscode-server/data/clp/992791cd017d0441f609c48108aa8c37.zh-cn/tcf.json","messagesFile":"/home/lixinlong/.vscode-server/data/clp/992791cd017d0441f609c48108aa8c37.zh-cn/e8653663e8840adaf45af01eab5c627a5af81807/nls.messages.json","corruptMarkerFile":"/home/lixinlong/.vscode-server/data/clp/992791cd017d0441f609c48108aa8c37.zh-cn/corrupted.info"},"locale":"zh-cn","availableLanguages":{"*":"zh-cn"},"_languagePackId":"992791cd017d0441f609c48108aa8c37.zh-cn","_languagePackSupport":true,"_translationsConfigFile":"/home/lixinlong/.vscode-server/data/clp/992791cd017d0441f609c48108aa8c37.zh-cn/tcf.json","_cacheRoot":"/home/lixinlong/.vscode-server/data/clp/992791cd017d0441f609c48108aa8c37.zh-cn","_resolvedLanguagePackCoreLocation":"/home/lixinlong/.vscode-server/data/clp/992791cd017d0441f609c48108aa8c37.zh-cn/e8653663e8840adaf45af01eab5c627a5af81807","corruptedFile":"/home/lixinlong/.vscode-server/data/clp/992791cd017d0441f609c48108aa8c37.zh-cn/corrupted.info"}",
"ROS_DISTRO": "humble",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"OLDPWD": "/home/lixinlong",
"VSCODE_IPC_HOOK_CLI": "/run/user/1000/vscode-ipc-891140e9-a245-4594-a6b3-063bb34445e3.sock",
"": "/usr/bin/env"
}
错误时日志:
cd /home/lixinlong/robot_ws ; /usr/bin/env /usr/bin/python3.10 /home/lixinlong/.vscode-server/extensions/ms-python.debugpy-2024.12.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher 41575 -- /home/lixinlong/.vscode-server/extensions/ms-iot.vscode-ros-0.9.2/assets/scripts/ros2_launch_dumper.py /home/lixinlong/robot_ws/install/robot_tracker/share/robot_tracker/launch/debug_robot_tracker.launch.py
Caught multiple exceptions when trying to load file of format [py]:
问题描述:
跟着小鱼视频一步一步来,代码一个一个对,CMakeLists也添加了DESTINATION,在colcon build时都报错。
具体细节和上下文:
cpp
txt
code_text cmake_minimum_required(VERSION 3.5) project(demo_cpp_topic) # Default to C99 if(NOT CMAKE_C_STANDARD) set(CMAKE_C_STANDARD 99) endif() # Default to C++14 if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 14) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall -Wextra -Wpedantic) endif() # find dependencies find_package(ament_cmake REQUIRED) find_package(rclcp REQUIRED) find_package(geomtery_msgs REQUIRED) find_package(turtlesim REQUIRED) add_executable(turtle_circle src/turtle_circle.cpp) ament_target_dependencies(turtle_circle rclcpp geometery_msgs) if(BUILD_TESTING) find_package(ament_lint_auto REQUIRED) # the following line skips the linter which checks for copyrights # uncomment the line when a copyright and license is not present in all source files #set(ament_cmake_copyright_FOUND TRUE) # the following line skips cpplint (only works in a git repo) # uncomment the line when this package is not in a git repo #set(ament_cmake_cpplint_FOUND TRUE) ament_lint_auto_find_test_dependencies() endif() install(TARGETS turtle_circle DESTINATION lib/${PROJECT_NAME} ) ament_package()错文信息:
code_text $colcon build Starting >>> demo_cpp_topic Starting >>> demo_python_topic --- stderr: demo_cpp_topic Summary: 0 packages finished [0.75s] 1 package failed: demo_cpp_topic 1 package aborted: demo_python_topic 1 package had stderr output: demo_cpp_topic```ROS2版本:humble
ubuntu:2022.04.5
cjz@cjz-virtual-machine:/home/d2lros2/chapt2/chapt2_ws/src$ sudo ros2 pkg create example_cpp --build-type ament_cmake --dependencies rclcpp
sudo: ros2:找不到命令
cjz@cjz-virtual-machine:/home/d2lros2/chapt2/chapt2_ws/src$ ros2
usage: ros2 [-h] [--use-python-default-buffering]
Call ros2 <command> -h for more detailed usage. ...
ros2 is an extensible command-line tool for ROS 2.
options:
-h, --help show this help message and exit
--use-python-default-buffering
Do not force line buffering in stdout and instead use
the python default buffering, which might be affected
by PYTHONUNBUFFERED/-u and depends on whatever stdout
is interactive or not
Commands:
action Various action related sub-commands
bag Various rosbag related sub-commands
component Various component related sub-commands
daemon Various daemon related sub-commands
doctor Check ROS setup and other potential issues
interface Show information about ROS interfaces
launch Run a launch file
lifecycle Various lifecycle related sub-commands
multicast Various multicast related sub-commands
node Various node related sub-commands
param Various param related sub-commands
pkg Various package related sub-commands
run Run a package specific executable
security Various security related sub-commands
service Various service related sub-commands
topic Various topic related sub-commands
wtf Use wtf as alias to doctor
Call ros2 <command> -h for more detailed usage.
根据教程在gazebo中添加了激光雷达传感器,为什么编译测试后,gazebo未出现雷达范围,依然只有模型0865101c-26df-40db-8e0e-f89cd0959ff6-image.png
在pip3安装face_recognition库时,虽然安装成功,但出现以下warning,请问是否有影响?b40da9f9-45f5-48d0-b83c-80b3a7d1fd18-图片.png
--2024-08-27 15:41:38-- http://fishros.com/install
Resolving fishros.com (fishros.com)... 47.119.165.169
Connecting to fishros.com (fishros.com)|47.119.165.169|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://fishros.com/install/ [following]
--2024-08-27 15:41:39-- http://fishros.com/install/
Reusing existing connection to fishros.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 387 [application/octet-stream]
Saving to: ‘fishros’
fishros 100%[==================================>] 387 --.-KB/s in 0s
2024-08-27 15:41:39 (5.80 MB/s) - ‘fishros’ saved [387/387]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-distro is already the newest version (1.9.0-1).
python3-yaml is already the newest version (6.0.1-2build2).
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
/tmp/fishinstall/install.py:96: SyntaxWarning: invalid escape sequence '.'
book = tr.tr("""
--2024-08-27 15:41:41-- http://mirror.fishros.com/install/tools/base.py
Resolving mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
Connecting to mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51464 (50K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall//tools/base.py’
/tmp/fishinstall//tools/ 100%[==================================>] 50.26K 287KB/s in 0.2s
2024-08-27 15:41:42 (287 KB/s) - ‘/tmp/fishinstall//tools/base.py’ saved [51464/51464]
Run CMD Task:[dpkg --print-architecture]
[-][0.01s] CMD Result:success
Run CMD Task:[wget http://mirror.fishros.com/install/tools/translation/translator.py -O /tmp/fishinstall//tools/translation/translator.py --no-check-certificate]
[/][0.00s] --2024-08-27 15:41:42-- http://mirror.fishros.com/install/tools/translation/translator.p[-][0.20s] CMD Result:success .
Run 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] --2024-08-27 15:41:44-- http://mirror.fishros.com/install/tools/translation/assets/zh_CN[-][0.21s] CMD Result:success .
Run 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] --2024-08-27 15:41:45-- http://mirror.fishros.com/install/tools/translation/assets/en_US[-][0.20s] CMD Result:success .
Run CMD Task:[wget https://fishros.org.cn/forum/topic/1733 -O /tmp/t1733 -q --timeout 10 && rm -rf /tmp/t1733]
[-][0.00s] CMD Result:code:5
基础检查通过... ======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!=======
======一键安装已开源,请放心使用:https://github.com/fishros/install ======= .-~~~~~~~~~-._ _.-~~~~~~~~~-. __.' ~. .~ `.__ .'// 开卷有益 \./ 书山有路 \ `. .'// 可以多看看小鱼的文章 | 关注公众号鱼香ROS \ `. .'// .-~~~~~~~~~~~~~~-._ | _,-~~~~~~~~~~~. \`. .'//.-" `-. | .-' "-.\`. .'//______.============-.. \ | / ..-============.______\`. .'______________________________\|/______________________________` ----------------------------------------------------------------------
RUN Choose Task:[请输入括号内的数字]
---众多工具,等君来用---
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)
[14]:一键安装:科学上网代理工具
[15]:一键安装:QQ for Linux
配置工具:
[5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
[13]:一键配置:python国内源
[17]:一键配置: Docker代理(支持VPN+代理服务两种模式)
请输入[]内的数字以选择:5
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.00s] --2024-08-27 15:41:54-- http://mirror.fishros.com/install/tools/tool_config_system_sourc[-][0.23s] CMD Result:success .
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.29s] CMD Result:success .
欢迎使用一键更换系统源,本工具由作者小鱼提供
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 CMD Task:[dpkg --print-architecture]
[-][0.01s] CMD Result:success
检测到当前系统:ubuntu 架构:arm64 代号:noble,正在为你搜索适合的源...
搜索到可用源:['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://ports.ubuntu.com/ubuntu-ports
创建文件:/etc/apt/sources.list
替换镜像源完成,尝试进行更新....
Run CMD Task:[sudo apt update]
[][37.85s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[-][40.99s] CMD Result:success
搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
['Ign:1 https://ports.ubuntu.com/ubuntu-ports noble InRelease', 'Ign:2 https://ports.ubuntu.com/ubuntu-ports noble-updates InRelease', 'Ign:3 https://ports.ubuntu.com/ubuntu-ports noble-backports InRelease', 'Ign:4 https://ports.ubuntu.com/ubuntu-ports noble-security InRelease', 'Ign:1 https://ports.ubuntu.com/ubuntu-ports noble InRelease', 'Ign:2 https://ports.ubuntu.com/ubuntu-ports noble-updates InRelease', 'Ign:3 https://ports.ubuntu.com/ubuntu-ports noble-backports InRelease', 'Ign:4 https://ports.ubuntu.com/ubuntu-ports noble-security InRelease', 'Ign:1 https://ports.ubuntu.com/ubuntu-ports noble InRelease', 'Ign:2 https://ports.ubuntu.com/ubuntu-ports noble-updates InRelease', 'Ign:3 https://ports.ubuntu.com/ubuntu-ports noble-backports InRelease', 'Ign:4 https://ports.ubuntu.com/ubuntu-ports noble-security InRelease', 'Err:1 https://ports.ubuntu.com/ubuntu-ports noble InRelease', ' Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (124.236.16.201), connection timed out', 'Err:2 https://ports.ubuntu.com/ubuntu-ports noble-updates InRelease', ' Unable to connect to ports.ubuntu.com:https:', 'Err:3 https://ports.ubuntu.com/ubuntu-ports noble-backports InRelease', ' Unable to connect to ports.ubuntu.com:https:', 'Err:4 https://ports.ubuntu.com/ubuntu-ports noble-security InRelease', ' Unable to connect to ports.ubuntu.com:https:', 'Reading package lists...', 'Building dependency tree...', 'Reading state information...', "18 packages can be upgraded. Run 'apt list --upgradable' to see them."]
镜像更新完成.....
RUN Choose Task:[请输入括号内的数字]
请问是否添加ROS和ROS2源?
[1]:添加ROS/ROS2源
[2]:不添加ROS/ROS2源
0:quit
请输入[]内的数字以选择:1
小鱼:检测当前系统ubuntu24.04:noble 支持一键安装ROS
============正在添加ROS源密钥=================
Run CMD Task:[sudo apt update]
[][37.85s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[-][40.97s] CMD Result:success
Run CMD Task:[sudo apt search curl ]
[-][2.25s] CMD Result:success x"
Run CMD Task:[sudo apt install curl -y]
[-][2.10s] CMD Result:success
Run CMD Task:[sudo apt search gnupg2 ]
[-][2.13s] CMD Result:success
Run CMD Task:[sudo apt install gnupg2 -y]
[/][32.76s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][32.76s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][32.78s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][32.89s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][32.99s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][33.09s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][33.19s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][33.29s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][33.39s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][33.49s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][33.59s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[][33.69s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][33.76s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][33.79s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][33.89s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][33.99s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.09s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.19s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.29s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.39s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.49s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.59s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.69s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.79s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.89s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][34.99s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][35.09s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][35.19s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][35.29s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][35.39s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][35.49s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][35.59s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[|][35.69s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][35.77s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][35.79s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][35.89s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][35.99s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.09s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.19s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.29s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.39s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.49s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.59s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.70s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.80s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][36.90s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.00s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.10s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.20s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.30s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.40s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.50s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.60s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.70s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.80s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][37.90s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.00s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.10s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.20s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.30s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.40s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.50s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.60s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.70s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.80s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][38.90s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][39.00s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][39.10s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][39.20s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][39.30s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][39.40s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][39.50s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][39.60s] Ign:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[-][39.70s] Err:1 https://ports.ubuntu.com/ubuntu-ports noble/universe arm64 gnupg2 all 2.4.4-2ubunt[/][39.77s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[][39.77s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[-][39.80s] 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.52s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc 超时已自动选择最快密钥服务: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.90s] Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-ke[-][0.95s] CMD Result:success
Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/ros.gpg --import]
[-][0.45s] CMD Result:success
Run CMD Task:[sudo chmod 644 /etc/apt/trusted.gpg.d/ros.gpg]
[-][0.00s] CMD Result:success
Run CMD Task:[dpkg --print-architecture]
[-][0.01s] CMD Result:success
根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[|][37.85s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[-][40.41s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
Run CMD Task:[sudo apt search ros-base ]
[-][2.23s] CMD Result:success
换源后更新失败,第二次开始切换源,尝试更换ROS2源为华为源!
根据您的系统,为您推荐安装源为['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]
[|][37.85s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[-][40.41s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
Run CMD Task:[sudo apt search ros-base ]
[-][2.23s] CMD Result:success
换源后更新失败,第三次开始切换源,尝试使用https-ROS官方源~!
根据您的系统,为您推荐安装源为['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]
[/][10.19s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP[][10.19s] Certificate verification failed: The certificate is [IP[][30.68s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP[|][37.85s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[-][40.97s] CMD Result:success
Run CMD Task:[sudo apt search ros-base ]
[-][2.30s] CMD Result:success
换源后更新失败,第四次开始切换源,尝试更换ROS源为http-ROS官方源!
根据您的系统,为您推荐安装源为['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]
[|][37.85s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[-][40.41s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
Run CMD Task:[sudo apt search ros-base ]
[-][2.23s] CMD Result:success
Run CMD Task:[sudo apt update]
[|][37.89s] Could not connect to ports.ubuntu.com:443 (::). - connect (111: Connection refused) Co[-][40.51s] CMD Result:code:100
apt更新失败,后续程序可能会继续尝试...,[]
四次换源后都失败了,请及时联系小鱼获取解决方案并处理!
欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈
检测到本次运行出现失败命令,直接退出按Ctrl+C,按任意键上传日志并退出
ROS2 外接摄像头红色色块识别完成
但是虚拟机连接主机摄像头一直出问题,可以正常连接,但是检测不到设备号。有佬遇到过这个问题嘛
目前已做以下尝试:
目前状态: 虚拟机右下角摄像头常亮 主机设备管理器中搜索不到摄像头,且有VMware USB Device lsusb能找到摄像头设备;785bfda0-ee32-47d1-b8c3-e5b3d19168e1-image.png 但ls /dev找不到video微信图片_20241109105822.png
Traceback (most recent call last):
File "/tmp/fishinstall/tools/translation/translator.py", line 44, in loadTranslationFile
self._translations = importlib.import_module(_import_command).translations
AttributeError: module 'tools.translation.assets.en_US' has no attribute 'translations'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/fishinstall/install.py", line 134, in <module>
main()
File "/tmp/fishinstall/install.py", line 68, in main
importlib.import_module("tools.translation.translator").Linguist()
File "/tmp/fishinstall/tools/translation/translator.py", line 36, in init
self.loadTranslationFile()
File "/tmp/fishinstall/tools/translation/translator.py", line 48, in loadTranslationFile
self._translations = importlib.import_module(_import_command).translations
AttributeError: module 'tools.translation.assets.en_US' has no attribute 'translations'
Traceback (most recent call last):
File "/home/user/桌面/learning/install/demo_python_pkg/lib/demo_python_pkg/python_node", line 33, in <module>
sys.exit(load_entry_point('demo-python-pkg==0.0.0', 'console_scripts', 'python_node')())
File "/home/user/桌面/learning/install/demo_python_pkg/lib/demo_python_pkg/python_node", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/init.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/user/桌面/learning/install/demo_python_pkg/lib/python3.10/site-packages/demo_python_pkg/python_node.py", line 2, in <module>
from rclpy.node import NotADirectoryError
ImportError: cannot import name 'NotADirectoryError' from 'rclpy.node' (/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/node.py)
[ros2run]: Process exited with failure 1
d340dadf-619d-40e2-b157-8c0059da3ecb-image.png 861cc7d8-96dd-421d-8432-f037292aa8bc-image.png
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
版块
-
1.3k
主题5.8k
帖子 -
747
主题3.1k
帖子 -
850
主题3.1k
帖子 -
147
主题651
帖子 -
1
主题2
帖子 -
145
主题686
帖子 -
20
主题58
帖子