当前位置: 首页 > news >正文

牟平网站建设苏州定制网站建设

牟平网站建设,苏州定制网站建设,凡客诚品官方网站查询,wordpress3.91. 简介 多个 ros 系统之间可以通过配置 ros 主从机实现互相通信#xff0c;但有的场景每个 ros 系统都需要运行 rosmaster/roscore #xff0c;这种情况下就需要使用 multimaster_fkie 库来实现 ros 通信。 Github#xff1a;https://github.com/fkie/multimaster_fkie RO…1. 简介 多个 ros 系统之间可以通过配置 ros 主从机实现互相通信但有的场景每个 ros 系统都需要运行 rosmaster/roscore 这种情况下就需要使用 multimaster_fkie 库来实现 ros 通信。 Githubhttps://github.com/fkie/multimaster_fkie ROS wikihttp://wiki.ros.org/multimaster_fkie/Tutorials/Setup a ROS master synchronization 2. 安装 multimaster_fkie 多个 ros 系统中都要进行以下安装步骤 2.1. 安装 python grpc 工具 # # 比 ubuntu-18.04 更早的系统 # pip install grpcio-tools # 如果 ros 适配的是 python3 (viobot)# ubuntu-18.04 sudo add-apt-repository ppa:roehling/grpc sudo apt update sudo apt install python-grpcio python-grpc-tools# # ubuntu-18.10 以及更新的系统 # sudo apt install python-grpcio python-grpc-tools2.2. 安装 fkie_multimaster # 新建一个空的 catkin_ws mkdir -p ~/catkin_ws_for_build/src cd ~/catkin_ws_for_build/src git clone https://github.com/fkie/multimaster_fkie.git multimasterrosdep update rosdep install -i --as-root pip:false --reinstall --from-paths multimastercd .. catkin build fkie_multimaster如果最后的 catkin build 报错 catkin未找到命令 运行以下指令 sudo apt install python-catkin-tools2.3. 将安装好的库添加到 ros 环境和 python 环境中 在 ~/.bashrc 内添加以下 ros 环境变量 export ROS_PACKAGE_PATH$ROS_PACKAGE_PATH:~/catkin_ws_for_build/src将 catkin build 生成的 python 包移到 python 环境中 # 如果 ros 是 python2 sudo cp -r ~/catkin_ws_for_build/devel/lib/python2.x/dist-packages/* /usr/local/lib/python2.x/dist-packages/# # 如果 ros 是 python3 # sudo cp -r ~/catkin_ws_for_build/devel/lib/python3.x/dist-packages/* /usr/local/lib/python3.x/dist-packages/2.4. 设置网络 多个 ros 系统之间需要可以直接互相访问 ip 和全部端口即之间没有防火墙互相有线连接最佳。 在 /etc/hosts 文件中添加行 本机在网络中的 ip 本机 hostname分别可以用 hostname -I 和 hostname 命令查询得。 在 /etc/sysctl.conf 加入以下内容 net.ipv4.ip_forward1 net.ipv4.icmp_echo_ignore_broadcasts0使以上网络设置生效sudo service procps restart 测试能否 multicast 连通其他主机ping 224.0.0.1出现本机和他机的 ping 结果即为成功 3. 测试多 ros master 通信 多个 ros 系统中都在含有 fkie_master_xxx packages 的 python 环境中运行 multimaster_fkie rosrun fkie_master_discovery master_discovery /dev/null 21 rosrun fkie_master_sync master_sync /dev/null 21 然后使用命令 rostopic list --host 查看可以访问的 rostopic出现本机以及他机的 rostopic 即为成功。
http://wiki.neutronadmin.com/news/255596/

相关文章:

  • 学校网站建设审批优秀的手机网站案例
  • 搭建html5网站百度指数分析工具
  • 淄博网站建设优化上汽wordpress主题安装ftp
  • c++做网站唐山seo推广公司
  • 做律师网站公司网站规划建设与推广
  • 建立网站的链接结构有哪几种形式简述其各自的优缺点天津seo推广服务
  • 适合网站设计的gif图片兰州网站推广建设公司
  • 怎么用大淘客做网站网络管理系统组成
  • 创新平台网站建设方案电商软件平台开发
  • 什么是建设型的网站高校网站群管理系统
  • 狗头网网站网站总体设计
  • 上海做展会的网站都有哪些单片机程序员开发网站
  • 网站站长在哪登陆后台3个典型网站建设公司
  • 网站建设的财务分析永久免费自助建站软件
  • 简述网络营销的方法襄阳网站seo
  • 哪个网站做兼职有保障企业网站建设个人博客
  • 网站内容建设的原则是什么外贸网站建设哪家公司比较好
  • 深圳制作网站主页衡阳市住房和城乡建设局官方网站
  • 忻州宁武网站建设wordpress 文章点赞插件
  • 网站建设实践论文网站怎么做出来的
  • 全国最大型网站建设高权重友情链接
  • 园区网站建设服务公司建筑网建筑规范
  • 太原规划网站泰州建筑工程网
  • 免费的ppt网站蚌埠网站制作公司
  • 淘金网站建设推广cd网站建设
  • dnf网站上怎么做商人帮人做微信是哪个网站
  • 网站建设 视频网站为什么改版
  • 找外包网站 和自己做wordpress 订阅
  • 什么网站教做美食上海优刻得官网
  • 广州省建设厅官方网站西安广告设计与制作公司