agent 手动编译,不用docker,以及树莓派上使用micros-agent的方法
-
@lupop 桌面版本性能更差
-
zzy@zzy-virtual-machine:~/fishbot_ws$ ros2 run micro_ros_agent micro_ros_agent udp4 --port 8888
[1744278420.851696] info | UDPv4AgentLinux.cpp | init | running... | port: 8888
[1744278420.851906] info | Root.cpp | set_verbose_level | logger setup | verbose_level: 4
[1744278421.183224] info | Root.cpp | create_client | create | client_key: 0x603ACAE5, session_id: 0x81
[1744278421.183314] info | SessionManager.hpp | establish_session | session established | client_key: 0x603ACAE5, address: 192.168.149.175:47138
[ros2run]: Segmentation fault
出现分段错误怎么解决啊大佬 -
@2818859442 用docker版本的呢
-
@小鱼 我这个用的是虚拟机的Ubuntu22.04
-
@592976189 同问 请问解决了吗
-
@小鱼 在 agent 手动编译,不用docker,以及树莓派上使用micros-agent的方法 中说:
git clone http://github.fishros.org/https://github.com/fishros/micro-ROS-Agent.git -b humble
git clone http://github.fishros.org/https://github.com/micro-ROS/micro_ros_msgs.git -b humble鱼哥,这两个网站怎么都用不了了git clone http://github.fishros.org/https://github.com/fishros/micro-ROS-Agent.git -b humble
git clone http://github.fishros.org/https://github.com/micro-ROS/micro_ros_msgs.git -b humble,还有什么下载源吗? -
@小鱼 在 agent 手动编译,不用docker,以及树莓派上使用micros-agent的方法 中说:
下载MicroROS-Agent
你好,我的环境是Ubuntu 22.04, ROS2版本是huble,我按照你的方式下载Micros-Agent,然后在编译的时候,出现了一个错误:
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed tofind_package_handle_standard_args(tinyxml2)
does not match the name of the calling package (TinyXML2). This can lead
to problems in calling code that expectsfind_packageresult variables
(e.g.,_FOUND) to follow a certain pattern.我搜索了一下deepSeek,提示是大小写的问题,于是修改了 /opt/ros/humble/src/gmock_vendor/CMakeLists.txt,在其中添加了 find_package(tinyxml2 REQUIRED) # 使用全小写包名, 这样就编译通过了
但是后续在运行Agent时,就发现不管是使用UDB方式,还是串口发送, 都没有数据输出。
已经折腾了三天了,Ubuntu也装了两次了,还是不对,请博主帮忙看看是哪个地方的问题,万分感激
-
@asukanice 在 agent 手动编译,不用docker,以及树莓派上使用micros-agent的方法 中说:
@小鱼 在 agent 手动编译,不用docker,以及树莓派上使用micros-agent的方法 中说:
git clone http://github.fishros.org/https://github.com/fishros/micro-ROS-Agent.git -b humble
git clone http://github.fishros.org/https://github.com/micro-ROS/micro_ros_msgs.git -b humble鱼哥,这两个网站怎么都用不了了git clone http://github.fishros.org/https://github.com/fishros/micro-ROS-Agent.git -b humble
git clone http://github.fishros.org/https://github.com/micro-ROS/micro_ros_msgs.git -b humble,还有什么下载源吗?同问
-
@1117 解决了嘛哥
-
-

-

colcon build 后面显示这个该怎么办呀