摘要:
一、msg和srv介绍 msg: msg文件使用简单的文本格式声明一个ROS message的各个域。仅须要创建一个msg文件,就能够使用它来生成不同语言的message定义代码。 srv:srv文件则声明了一个服务,包括request(请求)和response(响应)。 msg文件和srv文件分别 阅读全文
posted @ 2017-07-27 11:07
zsychanpin
阅读(1254)
评论(0)
推荐(0)
摘要:
源代码地址:https://github.com/google/snappy 下载 git clone https://github.com/google/snappy 编译 进入snappy源代码文件夹,运行命令: ./autogen.sh 报错 “./autogen.sh: line 3: ac 阅读全文
posted @ 2017-07-27 09:57
zsychanpin
阅读(432)
评论(0)
推荐(0)
摘要:
前言: 系统版本号:Centos-6.5-x86_64 *** Centos编译安装mongodb 2.6 系统最好是64位的,才干更好发挥mongodb的性能 1.准备,下载源文件(二进制编译版) [root@centos ~]# wget http://fastdl.mongodb.org/li 阅读全文
posted @ 2017-07-27 09:02
zsychanpin
阅读(132)
评论(0)
推荐(0)
摘要:
说明:本系列文章翻译自Contiki之父Adam Dunkels经典论文,版权归原作者全部。 Contiki是由Adam Dunkels及其团队开发的系统,研读其论文是对深入理解Contiki系统的最佳资料。 Contiki经典论文翻译——索引文件夹 摘要: 无线传感器网络由大量微小的联网可通信设备 阅读全文
posted @ 2017-07-27 08:03
zsychanpin
阅读(550)
评论(0)
推荐(0)
摘要:
执行效果图: 预备知识: 为了监听指定的ContentProvider的数据的改变,须要通过ContentResolver向指定Uri注冊CotentObserver监听器。ContentResolver提供了例如以下方法来注冊监听器: publicfinal void registerConten 阅读全文
posted @ 2017-07-26 21:30
zsychanpin
阅读(3725)
评论(1)
推荐(1)
摘要:
Problem Description Are you excited when you see the title “AC” ? If the answer is YES , AC it ; You must learn these two combination formulas in the 阅读全文
posted @ 2017-07-26 20:33
zsychanpin
阅读(298)
评论(0)
推荐(0)
摘要:
相比于HttpClient 之前的版本号,HttpClient 4.2 提供了一组基于流接口(fluent interface)概念的更易使用的API,即Fluent API. 为了方便使用,Fluent API仅仅暴露了一些最主要的HttpClient功能。这样,Fluent API就将开发人员从 阅读全文
posted @ 2017-07-26 19:55
zsychanpin
阅读(351)
评论(0)
推荐(0)
摘要:
CUDA编程(六) 进一步并行 在之前我们使用Thread完毕了简单的并行加速,尽管我们的程序运行速度有了50甚至上百倍的提升,可是依据内存带宽来评估的话我们的程序还远远不够。在上一篇博客中给大家介绍了一个訪存方面非常重要的优化。我们通过使用连续的内存存取模式。取得了令人惬意的优化效果,终于内存带宽 阅读全文
posted @ 2017-07-26 18:44
zsychanpin
阅读(389)
评论(0)
推荐(0)
摘要:
Labyrinth Problem Description 度度熊是一仅仅喜欢探险的熊。一次偶然落进了一个m*n矩阵的迷宫,该迷宫仅仅能从矩阵左上角第一个方格開始走,仅仅有走到右上角的第一个格子才算走出迷宫。每一次仅仅能走一格,且仅仅能向上向下向右走曾经没有走过的格子,每个格子中都有一些金币(或正或 阅读全文
posted @ 2017-07-26 17:17
zsychanpin
阅读(341)
评论(0)
推荐(0)
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=5288 Problem Description OO has got a array A of size n ,defined a function f(l,r) represent the number of i 阅读全文
posted @ 2017-07-26 14:49
zsychanpin
阅读(126)
评论(0)
推荐(0)
浙公网安备 33010602011771号