@小鱼 问题解决了,多次重启之后莫名其妙地好了
重要提示
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
L
lockxx2021 发布的最新帖子
-
使用map_server发布保存的地图rviz无法收到
使用cartographer建图使用map_server保存后,使用map_server加载,
显示一切正常[INFO] [1676349360.531463185] [map_server]: map_server lifecycle node launched. Waiting on external lifecycle transitions to activate See https://design.ros2.org/articles/node_lifecycle.html for more information. [INFO] [1676349360.531553193] [map_server]: Creating [INFO] [1676349364.388825500] [map_server]: Configuring [INFO] [map_io]: Loading yaml file: ./fishbot_map.yaml [DEBUG] [map_io]: resolution: 0.05 [DEBUG] [map_io]: origin[0]: -3.3 [DEBUG] [map_io]: origin[1]: -2.96 [DEBUG] [map_io]: origin[2]: 0 [DEBUG] [map_io]: free_thresh: 0.25 [DEBUG] [map_io]: occupied_thresh: 0.65 [DEBUG] [map_io]: mode: trinary [DEBUG] [map_io]: negate: 0 [INFO] [map_io]: Loading image_file: ./fishbot_map.pgm [DEBUG] [map_io]: Read map ./fishbot_map.pgm: 133 X 118 map @ 0.05 m/cell [INFO] [1676349369.553119216] [map_server]: Activating [INFO] [1676349369.553240332] [map_server]: Creating bond (map_server) to lifecycle manager.
但在rviz中显示no map recevied
输入ros2 topic info /map -v
显示Publisher count: 1 Node name: map_server Node namespace: / Topic type: nav_msgs/msg/OccupancyGrid Endpoint type: PUBLISHER GID: 01.0f.6e.93.81.6d.f9.3e.01.00.00.00.00.00.1f.03.00.00.00.00.00.00.00.00 QoS profile: Reliability: RELIABLE History (Depth): UNKNOWN Durability: TRANSIENT_LOCAL Lifespan: Infinite Deadline: Infinite Liveliness: AUTOMATIC Liveliness lease duration: Infinite Subscription count: 1 Node name: rviz Node namespace: / Topic type: nav_msgs/msg/OccupancyGrid Endpoint type: SUBSCRIPTION GID: 01.0f.6e.93.8c.6d.9f.ae.01.00.00.00.00.00.2f.04.00.00.00.00.00.00.00.00 QoS profile: Reliability: RELIABLE History (Depth): UNKNOWN Durability: TRANSIENT_LOCAL Lifespan: Infinite Deadline: Infinite Liveliness: AUTOMATIC Liveliness lease duration: Infinite
使用ros2 topic echomap显示
header: stamp: sec: 1676349936 nanosec: 235408782 frame_id: map info: map_load_time: sec: 1676349936 nanosec: 235407546 resolution: 0.05000000074505806 width: 133 height: 118 origin: position: x: -3.3 y: -2.96 z: 0.0 orientation: x: 0.0 y: 0.0 z: 0.0 w: 1.0 data: - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - '...' ---
环境为ubuntu22.04.1 ros-humble
-
RE: 动手学ros2 8.2 urdf功能包编译失败 提示stderr
@小鱼 emmm我在终端里进入python查询setuptools版本是58.2.0,为什么还会出现这种问题呢
-
动手学ros2 8.2 urdf功能包编译失败 提示stderr
错误简述:
在看动手学ros 8.2章跟着文档
https://github.com/fishros/d2l-ros2/blob/master/docs/humble/chapt8/get_started/2.RVIZ2可视化URDF模型.md
建立urdf功能包时,packages.xml,setup.py,urdf,launch文件均与文档相同,使用colcon build 报错错误提示:
# code block colcon build --packages-select fishbot_description Starting >>> fishbot_description --- stderr: fishbot_description /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn(
环境为ubuntu22.04.1,
ros-humble,
原以为是setuptool版本问题,禁用conda后在终端输入
python
import setuptools
print(setuptools.version)
返回58.2.0
跪求大佬解决