본문 바로가기

Robotics/Software Tech.

(148)
HMM(Hidden Markov Model)을 이용한 Wiimote 제스쳐 인식 http://wiki.jienew.twbbs.org/project:wiimote-gesture-recognition 참조. Wiimote Gesture Recognition Projects » Wiimote Gesture Recognition foldunfold Table of Contents Architecture Wiimote Acceleration Sensor Raw Data from Sensor Calibration Gesture Analysis Quantization Pseudo code Training Hidden Markov Models Training with Multiple Sequence Pseudo Code Real Time Recognition Forward Algorithm Pse..
[STL] string tokenizer 이전에 boost 라이브러리를 사용해서 stirng tokenizer를 만드는 방법을 간단하게 이야기 했었다. 이번에는 STL을 사용해서 string tokenizer를 만든 예를 올려본다. 이 클래스를 기반으로 text형태의 파일을 처리하는데 이용할 수 있을것이다. 소스를 올려봅니다. 그리고, 간단한 사용예를 보여드리겠습니다. stringTokenizer.cpp #include "stdafx.h" #include "StringTokenizer.h" stringTokenizer::stringTokenizer(const string& inputstring, const string& seperator) : _input(inputstring), _delimiter(seperator) { split(); } s..
[boost] string tokenizer 파일이나 문자열에서 필요한 데이터를 추출해야 하는 일이 프로그램을 짜다보면 빈번히 일어난다. 예를들면, hello, world! 라는 문자열에서 hello와 world를 구분하여 얻어내기 위해서 ','를 기준으로 문자열을 잘라내야 한다. 이런작업을 자주 하기때문에 이런 일을 하는 클래스로 만들어놓으면 편하다. 근데, 이런것을 boost 라이브러리에서 지원해준단다. boost 라이브러리를 설치를 해야한다. 그리고 아래처럼 쓰면 된다. #include void function { string _str = "hello,world"; boost::char_seperator sep(","); boost::tokenizer token(_str,sep); for(tokenizer::iterator itr = toke..
[MFC]SDI기반 OpenGL 사용 3D 시뮬레이션이이나 3차원으로 그래픽을 표현해서 데이터를 확인해봐야 할 경우가 있다. 이럴때를 대비하여 OpenGL View클래스를 만들어두고 썼다. 오늘 그 클래스를 올려봅니다. 사용하시는 방법은 SDI 기반으로 프로젝트를 만드시고, 이 클래스를 CView대신에 COpenGLView 클래스로 바꾸시면 됩니다. (1) View헤더파일에서 CView기반의 View클래스를 COpenGLView로 대체한다. #include "OpenGLView.h" //헤더파일 추가 class CTestView : public COpenGLView //CView를 COpenGLView클래스로 바꿔서 상속 (2) view cpp파일에서 CView를 COpenGLView클래스로 바꿔준다. IMPLEMENT_DYNCREATE(C..
WIN32_LEAN_AND_MEAN MFC를 사용하지 않는 WIN32 어플리케이션에서는 WIN32_LEAN_AND_MEAN를 정의해놓자. 그래서, 실행파일의 크기 및 컴파일 시간을 줄일 수 있다. #define WIN32_LEAN_AND_MEAN #ifdef _MSC_VER // VC # pragma once #endif #ifndef _WIIMOTE_H # define _WIIMOTE_H #define WIN32_LEAN_AND_MEAN #include #include // auto Unicode/Ansi support #include // for HID write method #include // for state recording using namespace std; 요즘 wiimote하고 nunchuk를 구입해서 소프트웨어와 연동하..
Robot Control Software OROCOS (Open RObot COntrol Software) is an effort to start up an open source robot control software project. Broad discussions are being held about what experiences, code and tools can be re-used from other projects, what open standards should be integrated into the project and what organizational structure is most appropriate for the project. Goals of the project are to develop robot control so..
로봇용 어플리케이션 프레임워크 - Tekkotsu 구글링중 찾은것. Carnegie Mellon University에서 오픈소스로 개발되고 있는 소프트웨어 http://www.tekkotsu.org 해당 소스코드는 아래 사이트 참조. http://www.koders.com/info.aspx?c=ProjectInfo&pid=C3HVC9FXUZ7QAXY3LCX4VQ8RPE&s=mdef%3acompute
ROBOOP,A Robotics Object Oriented Package in C++ Class 로봇 Manipulation관련하여 작성된 C++ 클래스입니다. 이런것도 있었군요. Doxygen으로 작성된 레퍼런스가 아주 잘 정리되어 있네요. good!~ http://www.cours.polymtl.ca/roboop/docs/html/annotated.html