본문 바로가기

keyDownListener + figCloseHandler + figTimer 1. main.m이걸 실행시키면 된다. 화면에 figure를 띄우고, keyboard를 입력과 close handler와 timer를 실행한다. %% 1. Figure를 띄우고, KeyPressFcn과 CloseRequestFcn을 설정한다. fig = figure('Position', [500 100 900 800]);set(fig,'KeyPressFcn', @keyDownListener ... , 'CloseRequestFcn',@figCloseHandler ); %% 2. PLOT을 위한 타이머를 설정한다. global timer_draw;global timer_obj;timer_obj.tick = 1;timer_draw = timer('StartDelay', 1 ... , 'TimerFcn', @.. 더보기
Use Microsoft Kinect in Matlab (2013~) 1. Kinect driver 설치 http://www.microsoft.com/en-us/kinectforwindows/develop/developer-downloads.aspx 에 들어가서 SDK와 Toolkit을 받고, 설치한다. 밑에 보이는 화면에서 Step 1, Step 2를 따라하면 된다. (물론 밑에 그림 클릭하면 안된다.) 더보기
Pure pursuit control algorithm Pure pursuit is a tracking algorithm developed in Navlab in CMU. Video clips MATLAB CODE pure pursuit code function pp = demo_pure_pursuitclc;clear all;close all; % 새로 실험을 할지 (0), 기존 실험을 이어할지 (1) 여부 load_pp = 0; %% initialize variablesif load_pp == 0 % 새롭게 실험 delete('pics/*.png'); pp.STEP_TIME = 0.1; pp.SCALE_P = 1.0; pp.SCALE_V = 8.0; pp.WP_DIST = 20.0; % 현재 pursuit까지 얼마나 가까우면 종료할지 pp.FOLLOW_DI.. 더보기
What is the future of Big data Lazy engineer and Necessity is the mother of invention. In this era of 'Big data', reachability and accessibility to immense amount of data make conventional statistics and machine learning approaches, such as an support vector machine (SVM) or artificial neural network (ANN) , infeasible and sometimes useless. There are three main shortcomings of these methods. 1. Computational overhead. Most o.. 더보기