News Download Tutorial FAQ Reference Buy

자바 언어 : 소프트웨어 설치

개요
JDK (Java Development Kit) 설치
  1. 웹 브라우저의 주소창에 아래의 주소를 입력합니다. (JDK 다운로드 페이지)
    https://www.oracle.com
  2. 마우스 커서를 화면 위쪽의 Downloads 메뉴로 가져 가면 팝업 메뉴가 나타납니다. 팝업 메뉴의 제일 왼쪽 Popular Downloads에 있는 Java for Developers를 클릭합니다.
  3. 화면 아래쪽의 중앙 약간 오른쪽에 있는 JDK 글자 아래의 푸른색 DOWNLOAD 버튼을 클릭합니다.
  4. Accept License Agreement를 선택하고 PC의 OS에 맞는 설치 파일을 내려 받습니다.
  5. 내려 받은 설치 파일을 더블 클릭하여 JDK를 설치합니다.
이클립스 설치
  1. 웹 브라우저의 주소창에 아래의 주소를 입력합니다. (이클립스 다운로드 페이지)
    http://www.eclipse.org/downloads/eclipse-packages
  2. 화면을 아래로 스크롤하여 Eclipse IDE for Java Developers로 이동한 후, PC의 OS에 맞는 압축 파일을 내려 받습니다.
    Eclipse IDE for Java Developers와 Eclipse for Java EE Developers는 다른 것입니다.
  3. 내려 받은 압축 파일의 압축을 풉니다.
라이브러리 및 예제 파일 내려 받기
  1. 웹 브라우저의 주소창에 아래의 주소를 입력합니다.
    http://hamster.school
  2. SW 다운로드 메뉴를 선택하고 왼쪽의 바로가기에서 자바 라이브러리를 클릭합니다.
  3. 자바 라이브러리예제 파일을 클릭하여 라이브러리 파일과 예제 파일을 각각 내려 받습니다.
  4. 내려 받은 파일의 압축을 풀 필요는 없습니다.
포트 스캐너 추가 (선택 사항)
포트 스캐너 플러그인은 PC의 시리얼 포트를 스캔하여 시리얼 포트 목록을 보여주는 도구입니다. 필요 시 설치하여 사용할 수 있습니다.

  1. 웹 브라우저의 주소창에 아래의 주소를 입력합니다.
    http://hamster.school
  2. SW 다운로드 메뉴를 선택하고 왼쪽의 바로가기에서 자바 라이브러리를 클릭합니다.
  3. 포트 스캐너 플러그인을 클릭합니다.
  4. 내려 받은 파일 org.roboid.portscanner_1.1.2.v20170122.jar를 이클립스의 plugins 폴더로 이동합니다.

    윈도우:
    내려 받은 파일 org.roboid.portscanner_1.1.2.v20170122.jar를 [이클립스가 설치된 폴더]\plugins 폴더 안으로 이동합니다.
    즉, 이클립스가 설치된 폴더가 C:\eclipse라고 했을 때 C:\eclipse\plugins\org.roboid.portscanner_1.1.2.v20170122.jar가 되도록 합니다.

    C:
    ┗ eclipse
        ┗ plugins
            ┗ org.roboid.portscanner_1.1.2.v20170122.jar

    맥OS:
    두 손가락으로 Eclipse를 클릭하여 팝업 메뉴가 나타나면 패키지 내용 보기 메뉴를 선택합니다.
    내려 받은 파일 org.roboid.portscanner_1.1.2.v20170122.jar를 Contents/Eclipse/plugins 폴더 안으로 이동합니다.
    즉, Contents/Eclipse/plugins/org.roboid.portscanner_1.1.2.v20170122.jar가 되도록 합니다.

    Contents
    ┗ Eclipse
        ┗ plugins
            ┗ org.roboid.portscanner_1.1.2.v20170122.jar

    리눅스:
    내려 받은 파일 org.roboid.portscanner_1.1.2.v20170122.jar를 [이클립스가 설치된 폴더]/plugins 폴더 안으로 이동합니다.
    즉, 이클립스가 설치된 폴더가 eclipse라고 했을 때 eclipse/plugins/org.roboid.portscanner_1.1.2.v20170122.jar가 되도록 합니다.

    eclipse
    ┗ plugins
        ┗ org.roboid.portscanner_1.1.2.v20170122.jar
  5. 이클립스가 실행되어 있는 상태에서 org.roboid.portscanner_1.1.2.v20170122.jar 파일을 이클립스의 plugins 폴더에 넣은 경우에는 이클립스를 종료한 후 다시 실행해야 합니다.
목차
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.