News Download Tutorial FAQ Reference Buy

자바 언어 : 예제 파일 실행

예제 파일 실행
  1. 이클립스가 설치된 폴더에 있는 eclipse.exe를 더블 클릭하여 이클립스를 실행합니다.
  2. File 메뉴의 Import... 메뉴를 선택합니다. Import 대화상자가 나타나면 General 아래의 Existing Projects into Workspace를 선택하고 Next 버튼을 클릭합니다.
  3. Select archive file을 선택하고 오른쪽의 Browse 버튼을 클릭합니다. 파일을 선택하는 대화상자가 나타나면 내려 받은 예제 파일(org.roboid.examples_1.1.2.zip)을 선택하고 열기 버튼을 클릭합니다. 선택한 파일이 표시되면 Finish 버튼을 클릭합니다.
  4. 화면 왼쪽의 org.roboid.examples 아래의 src 아래의 examples.hamster 패키지에 있는 java 파일 하나를 더블 클릭하여 엽니다.
  5. USB 동글을 컴퓨터의 USB 단자에 꽂고 햄스터 로봇의 전원을 켜서 햄스터 로봇과 컴퓨터를 연결합니다.
  6. java 파일이 열려 있는 상태에서 Run 메뉴의 Run 메뉴를 선택하거나 키보드의 콘트롤(Ctrl) 키와 F11 키를 동시에 눌러 예제 파일을 실행합니다.
목차
Hardware
  1. Hamster robot
  2. USB dongle
Preparation for Class
  1. Software installation
  2. Robot to PC connection
  3. Run example files
Basic
  1. Create a new project
  2. Work in the cloud PC environment (optional)
  3. Move on a board #1 (sequence, repetition)
  4. Move and turn
  5. Turn on LEDs and make a sound
  6. Command in order repeatedly
  7. Use proximity sensors
  8. Move on a board #2 (repeat while)
  9. Use floor sensors
  10. Use light and acceleration sensors
  11. Braitenberg's robot
Advanced
  1. Create a board game
  2. Keyboard events
  3. Graphical interface
  4. Line following with one sensor
  5. Line following with two sensors
  6. Follow hamster friends (2 people 1 pair)
  7. Follow a wall
  8. Imitating a robot cleaner
  9. Line following at intersection
  10. Escape a maze
Extension Kit
  1. Assembling
  2. Pin/socket layout
  3. Digital input - Press button to beep
  4. Digital output - LED is on when it is dark
  5. Digital output - flashing twinkling LED
  6. Digital output - LED is on in tilting direction
  7. Analog input - Rotating the potentiometer changes the pitch.
  8. Analog input - please do not let it get hot
  9. Analog Input - Move along the light
  10. PWM output - LED light gently brighter and darker
  11. PWM output - LED candle shakes in the wind
  12. Analog servo output - hamster robot has tail
More Advanced
  1. Behavior based robot control
  2. Path navigation
  3. Swap
Copyright Robot Software Education Institute. All rights reserved.
Please contact prof. Kwang-Hyun Park (akaii@kw.ac.kr) if you have any problem.