
ROS
文章平均质量分 60
yang1994
111
展开
-
ROS 服务实现时解决 No module named问题
根据官方的指南实现的代码没有多少,也很容易理解,但是编译的时候会有问题,通常都会提示No Moudle什么的,这时如果去devel文件夹里看,在python3的目录里,会看不到模块的文件夹,这表示没有生成自定义消息的对应类。实际问题是CMakelists.txt的配置有问题,只要把如下配置都写了肯定好使。如下是文件的全部内容,我删除了全部的注释,方便大家查看:cmake_minimum_required(VERSION 3.0.2)project(learning_ros)find_packag原创 2022-04-02 11:09:58 · 2838 阅读 · 0 评论 -
ROS- 解决 sudo rosdep init和update 出现的错误
大家在使用ROS时都需要执行sudo rosdep init 方法和rosdep update方法。但是在执行rosdep init时会提示如下错误。ERROR: cannot download default sources list from:https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.listWebsite may be down.问题就是代理的事。解决方法原创 2022-03-31 11:08:14 · 2205 阅读 · 0 评论