- 博客(12)
- 收藏
- 关注
原创 ubuntu tx1 网络链接
电脑通过wifi上网,然后通过网线链接tx1,设置完之后电脑居然不能上网了,设置为10.42.0.x网段就好了. 私有网段有4个, wifi使用了192那个,有线使用一个其他网段就好了,比如10.xxxx...
2018-07-25 17:54:44
446
原创 coco2d-x添加手柄
auto joystick = Joystick::create();//设置透明度joystick->setOpacity(150);// 将node变成需要接收通知的Director::getInstance()->setNotificationNode(joystick);#pragma once#include "cocos2d.h"USING_NS_C...
2018-07-17 08:34:43
244
原创 无人驾驶 -- 自行车模型感悟
任意时刻, 1. 车以垂直后轮速度方向上某点为旋转中心,旋转半径取决于速度大小以及前轮的转向大小,(于是匀速恒定转向情况下车整体是转圈的) 2. 由于同时前轮与后轮的旋转中心重合(半径肯定也就不一样啦),于是根据共心可以求得r = d/tanA 3. 车身朝向的更新为:+= r/v (后轮始终跟随车身朝向) 4. 车身中心速度 += ( 后轮速度 + (车身角度)*d/2 ) (从矢量出...
2018-04-25 20:55:56
1575
原创 Git操作与常见问题
git 代理设置git config --global https.proxy http://127.0.0.1:80git config --global --unset https.proxy 远程仓库// 添加远程仓库git remote add origin https://github.com/yikir/myVector.git…or push ...
2018-04-24 17:53:37
205
原创 VScode用法
setting-sync一台电脑打开sync - upload 之后,需要在github上进行操作,创建一个新的gist仓库。上传成功之后的结果GitHub Token: 6b6246e3a187e9cb8fef254bb5934cf8bdbc8de1GitHub Gist: 81e582741bceb33abe42b301883375feGitHub Gist Type: Secre...
2018-04-24 17:50:11
897
原创 OpenGL学习笔记(-)
OpenGL模型—->窗口显示涉及到几个矩阵glMatrixMode(GL_PROJECTION)投影变换 -有一个矩阵栈,新绘制的图像会使用栈顶矩阵包括了 glOrtho() 正交变换gluPerspective() 射影变换glMatrixMode(GL_MODELVIEW)模型变换与视图变化--也有一个矩阵栈,新绘制的图像会使用栈顶矩阵gluLoo...
2018-04-23 21:07:24
170
转载 SLAM-基础opencv操作
特征点的提取//-- 第一步:检测 Oriented FAST 角点位置Mat img_1 = imread(argv[1], CV_LOAD_IMAGE_COLOR);Ptr<FeatureDetector> detector = ORB::create();std::vector<KeyPoint> keypoints_1;detector->de...
2018-02-25 21:26:21
1777
转载 cmake使用笔记
哪些可以find_package cmake –help-module-list | grep -i < module you want to find >grep的-i 选项帮助忽略大小写使用-log_dir 指定glog的输出目录#include <glog/logging.h>int main(int argc, char* argv[]) ...
2018-02-25 21:14:44
177
转载 CMake的使用记录
target_include_directory (target [public interface private] directory) 使target包含目录, 使用PUBLIC和INTERFACE的时候: target_include_directory(targetA PUBLIC somedir) 当targetB包含targetA时 target_link_director...
2018-02-13 10:55:32
426
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人