浅谈catkin

catkin 简介 CMake基本语法 注释:这一点与Python很像都是使用“#”作为注释符 变量:在CMake中变量的定义有些特别,一般用set命令作为显式定义和变量的赋值。注意:如果在if语句中使用到变量时可以直接使用变量名,如果不是在if语句中使用的话则需要使用${}来引用变量。 调用命令:命令不分大小写,参数使用空格分隔,如果参数中出现空格则需要用双引号包含起来 package....
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

RT-Thread 杂项笔记

此篇是笔者个人学习过程中的笔记,有啥写啥,没怎么分类,不定期更新 1.开机首先运行的内容写在startup.c里 2.一般情况下不需要刻意确定线程的栈空间大小,但是在一些苛刻的条件下就需要修改栈大小。在RT-Thread中,可以先指定一个稍微大的栈空间,例如指定大小为1024或2048,然后在FinSH shell中通过list_thread()命令查看线程运行的过程中线程所使用的栈的大小,通...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

ubuntu18.04关机只有左上角光标闪动

/* 第一篇blog,现在也算是差不多入了linux的门,觉得有必要开一篇blog对IT的学习做一个记录 */ 下面是正题 出现这种情况,首先想一想自己是不是最近装了mysql数据库,如果是的话,那么很大程度就是这个问题 step 1.将开关机中系统进行的内容加以显示 sudo atom /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT=”qu...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Linux下软件安装及主机配置笔记

/* Linux 重装笔记,基本的软件安装以及主机配置 */ –google: 1.下载.deb文件,cd到下载目录下 2.sudo dpkg -i google-chrome-stable_current_amd64.deb 3.sudo apt -f install –创建home下的work目录 1.cd ~/.config 2.gedit user-dirs.dirs ...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Ubuntu18.04 + win10双系统下时间问题

首先要明白操作系统时间和硬件时间的区别 操作系统时间是根据硬件时间换算出来的 win10下如果硬件时间是13:00,时区为东八区,那么OS时间为13:00 Ubuntu下如果硬件时间是13:00,时区为东八区,那么OS时间为21:00,也就是说Ubuntu默认会把硬件时间当成UTC! 明白这点以后,在win10下先校正时间,然后在Ubuntu下将时区设置为UTC就可以了 这里注意不要用英...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

关于EL在JSP内调用RequestScope内置对象报错的问题

先贴出源码Search.javapublic class Search { private String dest; private String date; public void setDest(String e){ dest = e; } public void setDate(String d){ date = d...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

【爆炒洋葱圈】微信小程序Ecourse的基于Ubuntu Server的服务器搭建笔记

大二菜鸡一枚 只是记录一下自己的学习过程 绝无显摆之意 如有过错 敬请批评指教   这几天参加微信小程序设计大赛 借用了学长大三课设的作业Ecourse微信小程序作为参赛作品 本次比赛对我来说的主要难点是搭建一个Linux服务器 这是我之前从来没有接触过的 服务器学长已经买好了 是京东云的基于Ubuntu Server的服务器 于是我要做的就是在这个基础上搭建Ecourse小程序所需要的服...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Equalize the Remainders(CF-999D)

Problem Description You are given an array consisting of n integers a1,a2,…,an, and a positive integer m. It is guaranteed that m is a divisor of n. In a single move, you can choose any position i b...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

暑期训练日志----2018.8.7

训练第9天。 上午肚子不舒服在床上基本躺了一上午,中午看了看扩展欧几里得和中国剩余定理的题,下午个人赛打的比较舒服,自从学了 find 之后还没用过,这次总算见到使用 find 的题了,晚上看了看没A出来的几个题,都是STL方面的,要找时间恶补一下。                                                                         ...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

暑期训练日志----2018.8.8

训练第10天。 看了一天的组合数学的题,式子就是死活推不出来。。。 得到了一个结论,数学方面的东西还是教给队里的数学大佬吧orz。。。                                                                                                                                  ...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Problem C:Maya Calendar(POJ-1008)

Problem Description During his last sabbatical, professor M. A. Ya made a surprising discovery about the old Maya calendar. From an old knotted message, professor discovered that the Maya civilizatio...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Problem D:Strange Way to Express Integers(POJ-2891)

Problem Description Elina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integers. The way is described as following: Choose k different positive inte...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Divide by three, multiply by two(CF-977D)

Problem Description Polycarp likes to play with numbers. He takes some integer number x, writes it down on the board, and then performs with it n−1 operations of the two kinds: divide the number x b...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Less or Equal(CF-977C)

Problem Description You are given a sequence of integers of length n and integer number k. You should print any integer number x in the range of [1;109] (i.e. 1≤x≤10^9) such that exactly k elements o...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Two-gram(CF-977B)

Problem Description Two-gram is an ordered pair (i.e. string of length two) of capital Latin letters. For example, "AZ", "AA", "ZA" — three distinct two-grams. You are given a string s consisting of...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Remove Duplicates(CF-978A)

Problem Description Petya has an array aa consisting of n integers. He wants to remove duplicate (equal) elements. Petya wants to leave only the rightmost entry (occurrence) for each element of the ...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

File Name(CF-978B)

Problem Description You can not just take the file and send it. When Polycarp trying to send a file in the social network "Codehorses", he encountered an unexpected problem. If the name of the file c...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

Letters(CF-978C)

Problem Description There are nn dormitories in Berland State University, they are numbered with integers from 1 to n. Each dormitory consists of rooms, there are aiai rooms in i-th dormitory. The ro...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

暑期训练日志----2018.8.9

训练第11天。 这几天吃泡面把肚子吃坏了。。。上午A了个题肚子又不舒服回宿舍接着躺尸去了。。。 下午比赛做的很舒服,但还是细节注意的不够,不是这个题忘开 long long 了,就是那个题输出格式没控制好orz,真是慌的一批。。。 有两个题的题解还没写,明天再搞吧。。。                                                             ...
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0

关于高博十四讲中由于g2o更新出现的问题解决

在高博视觉slam十四讲中的第6讲中实践g2o中出现了编译错误。/home/ze/am/slambook-master/ch6/g2o_curve_fitting/main.cpp:77:49: error: no matching function for call to ‘g2o::BlockSolver >::BlockSolver(g2o::BlockSolver >::LinearSol
分类: 其他 发布时间: 08-09 22:16 阅读次数: 0