Programming

    [책리뷰] ThinkPython2(python language)

    Think Python is an introduction to Python programming for beginners. It starts with basic concepts of programming, and is carefully designed to define all terms when they are first used and to develop each new concept in a logical progression. Larger pieces, like recursion and object-oriented programming are divided into a sequence of smaller steps and introduced over the course of several chapt..

    [FTC] FTC block programming (4) - REV IMU sensor

    REV IMU sensor (결론은,,, proportional integral derivative(PID) control) 0. [가장 중요!!] sample code이용하기 1. call telemetry.addData의 text에 imu.SystemStatus를 넣어 실시간 데이터 받기. 2. call telemetry.addData의 text에 imu.CalibrationStatus를 넣어 실시간 데이터 받기. + 기울기 측정가능. -> 수평 계산 -> 기울어짐에 따라 Dynamic control 3. 매우 정확한 직선을 위한 IMU센서 활용 1) 함수생성(Yaw-Angle) 후 set Yaw-Angle to Orientation.ThirdAngle 위치 후 orientation value 값으로..

    [FTC] FTC block programming (3) - 파일 저장 + Tip (확실한 정지방법)

    saving & running 1. Save Op Mode 클릭! 2. Driver Station의 left : autonomous, right : teleop 선택 후 실행하고 싶은 name 선택. 3. init 후 play using saving flie (saving early, saving often) 1. flie name 앞의 select box 선택 후 Download Selected Op Mode.(내 파일 백업) 2. Upload Op mode에서 flie select 후 open.(다른 사람 파일 upload) Ensuring STOP!!!! (If a stop is pressed during operation, the robot continues to act without stoppi..

    [FTC] FTC block programming (2) - 프로그래밍

    blocks programming process 0. [가장 중요!!] sample program : create New Op Mode 후 Sample에서 원하는 프로그램 선택. 1. runtime setting(robot controller 하단 states box에 upload) : left bar의 Telemetry -> loop blocks에 call telemetry.addData 블록을 위치 후 key : “Time Passed”, number : left bar의 LinearOpMode에서 call (fileName).getRuntime 블록을 위치. + call telemetry.addData를 넣었다면,,? call Telemetry.update(새로운 data를 driver statio..

    [FTC] FTC block programming (1) - 초기설정 및 구조설명

    초기 환경 구축 및 programming 준비 1. 두 개의 안드로이드 폰을 준비하고 구글 계정에 로그인하여 플레이스토어에 들어가기. 2. [Download] 하나는 'FTC Robot Controller', 다른 하나는 'FTC Driver Station'을 다운받기. 3. robot controller의 wifi를 forgot 후 비행기 모드를 킨 다음 다시 wifi를 연결. 4. robot controller의 3 dot(오른쪽 상단)을 클릭 후 programming mode 선택하기. 5. [Wifi Direct] robot controller의 wifiName, secret passphrase를 이용하여 laptop에 network를 연결. 6. laptop의 chrome을 켠 후 robot c..