随笔分类 -  ros

摘要:编译cartographer时遇到Unrecognized syntax identifier “proto3”. This parser only recognizes “proto2”.排查:使用 protoc --version 指令查看protobuf的版本,若版本为3.0.0以下,则需要到 阅读全文
posted @ 2019-07-04 23:54 anobscureretreat 阅读(3414) 评论(0) 推荐(0)
摘要:sudo apt-get purge ros-*sudo rm -rf /etc/rosgedit ~/.bashrc 参考: https://blog.csdn.net/xmy306538517/article/details/79032324 阅读全文
posted @ 2019-07-04 00:59 anobscureretreat 阅读(217) 评论(0) 推荐(0)
摘要:路径规划:从一个点到另一个点,规划出最优的路线。用到service :make_plan (nav_msgs/GetPlan) 服务名为move_base_node/make_plan nav_msgs/GetPlan api: 现在学习如何使用 在工作空间新建package navigation_ 阅读全文
posted @ 2019-07-04 00:48 anobscureretreat 阅读(1004) 评论(0) 推荐(0)
摘要:参考: https://answers.ros.org/question/264369/move_base-make_plan-service-is-returning-an-empty-path/ 阅读全文
posted @ 2019-07-04 00:38 anobscureretreat 阅读(407) 评论(0) 推荐(0)
摘要:参考:http://docs.ros.org/api/geometry_msgs/html/msg/PoseStamped.htmlhttp://www.cs.cornell.edu/~aa755/ROSCoq/coqdocnew/Ros.Geometry_msgs.PoseStamped.html 阅读全文
posted @ 2019-07-04 00:31 anobscureretreat 阅读(8818) 评论(0) 推荐(0)
摘要:#include /* puts, printf */ #include /* time_t, struct tm, time, localtime */ #include using namespace std; struct Position{ double x; double y; double z; }; struct Orien... 阅读全文
posted @ 2019-07-04 00:30 anobscureretreat 阅读(617) 评论(0) 推荐(0)
摘要:https://programtalk.com/python-examples/geometry_msgs.msg.PoseStamped/ 阅读全文
posted @ 2019-07-04 00:15 anobscureretreat 阅读(1302) 评论(0) 推荐(0)
摘要:Cheader: seq: 423038 stamp: secs: 1562058492 nsecs: 992359716 frame_id: imuorientation: x: 0.00269711320288 y: 0.00671157427132 z: 0.952834486961 w: - 阅读全文
posted @ 2019-07-04 00:12 anobscureretreat 阅读(1428) 评论(0) 推荐(0)
摘要:deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse deb http://archive.ubunt... 阅读全文
posted @ 2019-07-03 21:34 anobscureretreat 阅读(224) 评论(0) 推荐(0)
摘要:https://www.programcreek.com/python/example/70252/geometry_msgs.msg.PoseStampedhttps://programtalk.com/python-examples/ 阅读全文
posted @ 2019-07-03 21:32 anobscureretreat 阅读(530) 评论(0) 推荐(0)
摘要:sudo rm -rf /var/cache/apt/archives/python-catkin-pkg-modules_0.4.12-1_all.deb sudo rm -rf /var/cache/apt/archives/python-catkin-pkg_0.4.12-100_all.deb sudo rm -rf /var/cache/apt/archives/python-r... 阅读全文
posted @ 2019-07-03 21:31 anobscureretreat 阅读(121) 评论(0) 推荐(0)
摘要:#卸载 ros sudo apt-get autoremove ros-* 阅读全文
posted @ 2019-07-03 21:30 anobscureretreat 阅读(260) 评论(0) 推荐(0)
摘要:name: '/move_base/global_costmap/costmap', messageType: "nav_msgs/OccupancyGrid", 这个是全局地图,固定的 topic: '/move_base/global_costmap/costmap_updates', type: 'map_msgs/OccupancyGridUpdate' 这是刷新的部分 fr... 阅读全文
posted @ 2019-06-29 00:43 anobscureretreat 阅读(309) 评论(0) 推荐(0)
摘要:#!/usr/bin/env python import rospy import math from tf import transformations from geometry_msgs.msg import PoseWithCovarianceStamped class PoseSetter(rospy.SubscribeListener): def __init__(sel... 阅读全文
posted @ 2019-06-06 18:14 anobscureretreat 阅读(666) 评论(0) 推荐(0)
摘要:#编译指定包catkin_make --install --pkg packname 阅读全文
posted @ 2019-05-15 12:05 anobscureretreat 阅读(138) 评论(0) 推荐(0)
摘要:Traceback (most recent call last): File "manage.py", line 4, in <module> import rospyImportError: No module named rospy 解决:source /opt/ros/indigo/setu 阅读全文
posted @ 2019-05-13 10:23 anobscureretreat 阅读(2974) 评论(0) 推荐(0)
摘要:报错如下: 原因: 手动启动的脚本文件引用的topic类型文件,和系统引用的不是同一个,导致MD5值不匹配 脚本文件: 引用的类型 目录结构 参考: https://github.com/RobotWebTools/rosbridge_suite/issues/138 https://github. 阅读全文
posted @ 2019-04-19 16:16 anobscureretreat 阅读(3193) 评论(0) 推荐(0)
摘要:可以看到每一个发布都需要大约3s,所以在发布前要等待3s以上。 发布 订阅: 阅读全文
posted @ 2019-03-14 17:03 anobscureretreat 阅读(2767) 评论(0) 推荐(0)
摘要:发布者 订阅者: 阅读全文
posted @ 2019-03-13 15:53 anobscureretreat 阅读(186) 评论(0) 推荐(0)
摘要:#!/usr/bin/env python #coding=utf-8 import rospy from std_msgs.msg import String i=0 def talker(): global i pub = rospy.Publisher('bp_nav_goal',String, queue_size=10) rospy.init_node('... 阅读全文
posted @ 2019-03-12 17:36 anobscureretreat 阅读(459) 评论(0) 推荐(0)