Skip to content

pochih/XBOX_robot-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

XBOX_Controller

You can see the report.pdf for more detailed information!

Main goal:

Use XBOX360 controller to improve control experience of PIONEER, which's a robot in my lab and recently controlled by computers keyboards. Since there're just 4 directions on the keyboard, we can enjoy exquisiter control using XBOX controller. Furthermore, some additional novel functionalities are available with XBOX controller.

Completed things:

  1. Register a window class.
  2. Create a WIN32 windows.
  3. Message controlling & dispatching.
  4. Get controller's data from XInputGetState().
  5. Buttons & Combobox(resposible for font-chooser).
  6. Turn Input format to Output format(Base on ARIA API).

TODO list:

  1. How to detect "Rotate".
  2. (Vibration feedback).

####If you want to get whole project, just follow these steps:####

step1

make sure you have some necessary things installed:

  1. Visual Studio (2010 or later recommended)
  2. Windows SDK (Please install the latest version)
  3. You need a XBOX controller (of course :p, or you don't need this project)
  4. You need to install ARIA
  5. You need to install MobileSim

step2

enter the following command

git clone https://github.com/brianhuang1019/XBOX_Controller.git XBOX

step3

enter the following command

cd XBOX/XBOX_Controller/C++/SimpleController

step4

open SimpleController_2012.vcxproj then enter "F5" to build.

step5

for more detailed information, see the report.pdf

This project is built by visual studio 2012 in C++ by Po-Chih Huang.

About

Control robot PIONEER with XBOX360 controller

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages