Nebojme sa robotov Karol Pauchly ZŠ s MŠ Chlebnice.

Slides:



Advertisements
Similar presentations
MMI nameProject nameAndroidPage No# Flow Description Android (OS )
Advertisements

1chung 5 th Annual Robofest 2004 Informational Meeting Mar. 20, 2004 Chan Jin Chung Ali Khazaal Jason Lo Computer Science Lawrence Technological University.
Platforms: Unix and on Windows. Linux: the only supported production platform. Other variants of Unix, like Mac OS X: run Hadoop for development. Windows.
Exercise 1: Install PC Software & NXT Firmware
Presented by St. Mike’s Robotics FTC 4644/5330/7165.
Computer Basics. The Computer (Generic) Processor executes commands. Memory stores program and data. Input devices transfer information from outside world.
sudo mkdir -p /var/lib/iHRIS/lib/4.1.3 cd /var/lib/iHRIS/lib/4.1.3 sudo wget ad/ihris-suite tar.bz2.
Lego RCX Assembler and a Case Study Luis Paris Dept. of Computer Science University of Mississippi.
Characterization Presentation Spring 2003 Project Name: Device driver for WinCE Performed by: Maya Yokev Tomer Naftali Supervisor: Evgeny Rivkin.
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=

1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
Embedded Programming and Robotics Lesson 13 Basic Linux 1.
Embedded Programming and Robotics Lesson 17 The OpenCV (Computer Vision) Library The OpenCV Library1.
Lego Mindstorms NXT 2.0 Presented By: Fatma Al-Qattan Haya Al-Hajri Fatma Baqer Hanan Al-Qabandi.
GETTING STARTED USING LINUX UBUNTU FOR A MULTI-USER SYSTEM Team 4 Lab Coordinator Manager Presentation Prep Webmaster Document Prep Faculty Facilitator.
Using the LEGO NXT March 2007 David Schilling Gus Jansson.
Presented by: FTC 4140 Fish in the Boat. Overview How to get and install RobotC How to connect to your robot Download firmware Building schematic and.
Long Island Software Workshop Dec 13, 2008
Program your NXT robot with Imagine Pavel Petrovič IDI NTNU, Trondheim
Kernel Development using Virtualization Installing VMWare and using a virtual machine to build and test a Linux Kernel.
[Low-level] Programming of NXT Robots Pavel Petrovič Department of Applied Informatics, Faculty of Mathematics, Physics and Informatics
Computer Science, Software Engineering & Robotics Workshop, FGCU, April 27-28, 2012 Nicholas Alteen Evan McKeon Michael Humphries Computer Science Program.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
PHP Motion Idris Winarno. Requirement Apache + PHP5 + MySQL lame ffmpeg flvtool.
Robot C Set-up FTC Clinic Nov Patrick Michaud & RobotC Curriculum
CSCI 394© 2007 JW Ryder1 NXC Information  Not eXactly C  very similar to NQC  Currently has more NXT API supported than LeJOS NXJ   Uses.
Android x86 Build Environments Update 1.Update System $sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev libc6-dev.
12 1 Embedded Software Lab. OS 실습 Embedded Software Lab. 박대준, 박은수 Lecture 3. Kernel fusing, printk.
Use bluetooth for communication 1. enable bluetooth in NXT and also enable visibility 2. configure setting in brickCC –Wait about 30 seconds for searching.
February 12, 2007Created by Dr. T.E. Varnado Programming Platforms TED 384 Computer Applications in Industry (Robotics Education)
House Keeping Section 1 is due on Thursday BEFORE class 18 labs 11 quizzes Log into LabSim I want to verify you are in the Spring 15 CBIS 4225 Sys Admin.
Overview: The goal of this lesson is to transition from discussing robots in general to the specifics of NXT robot. Objectives: Students will be able.
Cole David Ronnie Julio Sam Littlefield. Let’s Begin  Globus Toolkit runs on Unix platform only  Install Ubuntu  download all updates for Ubuntu.
How to control LEGO® Mindstorms devices Thomas Mueller thomas _ tmspecial.com.
Minds and Computers 2.1 The RCX l Hitachi H8/3297 series processor l 3 inputs/sensors (1, 2, 3) l 3 outputs/motors (A, B, C) l 32k RAM/ 16k ROM ä 12 kB.
OS Project 0 February 25, Outline  Linux Installation  Linux Kernel Compilation  System Call Development  Kernel Modules / 452.
SQOOP INSTALLATION GUIDE Lecturer : Prof. Kyungbaek Kim Presenter : Zubair Amjad.
Robotics Academy All Rights Reserved. RCX Maintenance Select this button to get the RoboLab Administrator options.
Producing Morse Code Pete Sanderson Chuck Burchard Patrick Bobbie Alma College Lego Mindstorms Workshop 16 June 2005.
Installing CUDA, PyCUDA on Ubuntu
Embedded Software Design Week II Linux Intro Linux Kernel.
Lego League. What is the Lego League? What we will be doing for the next few weeks The AIM of the next few weeks is to gain knowledge into programming,
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
機器人教學成長社群 2014/10/1 Lego EV3 Compatible Software.
Ns2 Installations and Basics Abdul Razaque. How to install Ubuntu on windows-7 & 8 Download the Ubuntu ISO file. You can get the ISO file from the Ubuntu.
Linux 101: Introduction To Linux Purdue Linux Users Group Speaker: Thor Smith.
By Jonathan Rinfret UNIX/LINUX By Jonathan Rinfret
ARM from NXT NXC Programming
NXT Mindstorms Kit Programming
Unix Environment Basics CSCI-1302
EE516: Embedded Software Project 1
Copy from Windows to Ubuntu
Install external command line softwares
Introduction To Programming with LEGO NXT 1
AES on GPU using CUDA Choi dae soon.
Autor: Gabriel Halasi Predmet: Úvod do bakalárskej práce
Internet-of-Things (IoT)
ОПШТИНА КУРШУМЛИЈА.
Monetary Bulletin 2009/4 Powerpoint charts.
ОПЕРАТИВНА ПРОГРАМА “ИНОВАЦИИ И КОНКУРЕНТОСПОСОБНОСТ“ „Подобряване на производствения капацитет в МСП“
Index Notation Sunday, 24 February 2019.
Power Point бағдарламасында презентация құрастыру
-·.-...-· A. -.. ) ,.,.. -.,., · o# --·'1>,.. ·-·-. ·-· ;'/' : ,.,. - ' p ·-·- ·-- 'II"; -.-. t-.. p
Solving Equations 3x+7 –7 13 –7 =.
Glossary NXT-G – the graphical thing for wimps
Getting the software Install Fantom driver
8 Core Steps of success: I.Step:1 : DREAM SETTING: II. Step: 2 : LIST MAKING : IV. Step: 4 : SHOW THE PLAN: III. Step: 3 : INVITATION: V. Step: 5 : FOLLOW.
Engineering Design Graphics
Presentation transcript:

Nebojme sa robotov Karol Pauchly ZŠ s MŠ Chlebnice

O čom to bude Lego roboty HW (RCX, NXT) PC (OS GNU/Linux) Lego robot SW (NQC, NXC) Využitie v ZŠ

Lego roboty Robotická stavebnice Lego Education Division Robotics Invention System stavebnica, RCX kocka (mikropočítač), štandardné Lego snímače, USB IR komunikácia (veža) Robotická stavebnice Lego Mindstorms NXT stavebnica, NXT kocka (mikropočítač), štandardné Lego snímače, USB komunikácia (kábel), Bluetooth Ikonografický programovací jazyk LabVIEW (RoboLab) – iba pre OS MS Windows

HW – Robotics Invention System Vývojová súprava RCX kocka USB IR veža Akčné členy Štandardné Lego RCX snímače Neštandardné snímače hw_html

HW – Lego Mindstorms NXT Vývojová súprava NXT kocka USB kábel, USB Bluetooth modul Akčné členy Štandardné Lego NXT snímače

PC (OS GNU/Linux) RCX (I.) OS GNU/Linux Edubuntu 8.04 Po pripojení USB IR veže sa automaticky zavedie kernel modul legousbtower vytvorí súbor /dev/usb/legousbtower0 Nastavíme práva ~$ sudo chmod 666 /dev/usb/legousbtower0

PC (OS GNU/Linux) RCX (II.) Stiahneme a rozbalíme zdrojové súbory kompilátora NQC (Not Quite C) ~$ mkdir RCX ~$ cd RCX/ ~/RCX$ wget ~/RCX$ mkdir nqc ~/RCX$ tar xzf nqc-3.1.r6.tgz -C nqc ~/RCX$ cd nqc/

PC (OS GNU/Linux) RCX (II.) Editujeme súbor Makefile (riadok 89): odkomentujeme USBOBJ = rcxlib/RCX_USBTowerPipe_linux.o (riadok 114): DEFAULT_SERIAL_NAME = "/dev/usb/legousbtower0" ~/RCX/nqc$ gedit Makefile

PC (OS GNU/Linux) RCX (III.) Editujeme súbor rcxlib/RCX_USBTowerPipe_linux.cpp (riadok 32): #include "legousbtower.h" (riadok 62): #define DEFAULT_TOWER_NAME "/dev/usb/legousbtower0" ~/RCX/nqc$ gedit rcxlib/RCX_USBTowerPipe_linux.cpp

PC (OS GNU/Linux) RCX (IV.) Stiahneme súbor legousbtower.h ~/RCX/nqc$ wget - P rcxlib Nainštalujeme kompilátor NQC ~/RCX/nqc$ make ~/RCX/nqc$ sudo make install ~/RCX/nqc$ sudo chmod 755 /usr/local/man/man1/nqc.1

PC (OS GNU/Linux) RCX (V.) Nastavíme premenné RCX_PORT a NQC_OPTIONS ~/RCX/nqc$ echo "export RCX_PORT=usb" >> ~/.bashrc ~/RCX/nqc$ echo "export NQC_OPTIONS="-Trcx2"" >> ~/.bashrc ~/RCX/nqc$ cd.. Stiahneme firmware pre RCX kocku ~/RCX$ wget

PC (OS GNU/Linux) RCX (VI.) Downloadujeme firmware do RCX kocky ~/RCX$ nqc -firmware firm0328.lgo Bližšie informácie ~/RCX$ man nqc Píšeme program ~/RCX$ gedit legorobot.nqc Kompilujeme program ~/RCX$ nqc legorobot.nqc

PC (OS GNU/Linux) RCX (VII.) Downloadujeme program do RCX kocky ~/RCX$ nqc -d legorobot.nqc

PC (OS GNU/Linux) NXT (I.) OS GNU/Linux Edubuntu 8.04 Nainštalujeme t2n (Talk2NXT) ~$ mkdir NXT ~$ cd NXT/ ~/NXT$ wget verimag.imag.fr/~raymond/edu/lego/t2n/t2n-0.2.tgz ~/NXT$ tar xzf t2n-0.2.tgz ~/NXT$ cd t2n-0.2/ ~/NXT/t2n-0.2$ sudo mv obj/t2n /usr/local/bin/ ~/NXT/t2n-0.2$ cd..

PC (OS GNU/Linux) NXT (II.) Bližšie informácie ~/NXT$ t2n -help Pripojíme USB kábel a zapneme NXT kocku ~/NXT$ sudo t2n -i

PC (OS GNU/Linux) NXT (III.) Nainštalujeme kompilátor NXC (Not eXactly C) ~/NXT$ sudo apt-get install fp-compiler fp-units-fcl fp-units- base ~/NXT$ wget b34.src.tgz ~/NXT$ mkdir nbc ~/NXT$ tar xzf nbc b34.src.tgz -C nbc ~/NXT$ cd nbc/nxt ~/NXT/nbc/nxt$ make -f nbclinux.mak ~/NXT/nbc/nxt$ sudo mv nbc /usr/local/bin/ ~/NXT/nbc/nxt$ cd../..

PC (OS GNU/Linux) NXT (IV.) Bližšie informácie ~/NXT$ nbc -help Píšeme program ~/NXT$ gedit legorobot.nxc Kompilujeme program ~/NXT$ nbc legorobot.nxc -O=legorobot.rxe Downloadujeme program do NXT kocky ~/NXT$ sudo t2n -v -put legorobot.rxe

Jazyky ”like C” NQC (Not Quite C) pre RCX kocky nqc_pdf NXC (Not eXactly C) pre NXT kocky

NQC plugin (I.) Stiahneme a rozbalíme NQC plugin do textového editora gVim ~/RCX$ sudo apt-get install vim-gnome ~/RCX$ mkdir ~/.vim ~/.vim$ wget ~/.vim$ unzip nqcvim.zip

NQC plugin (II.) Editujeme súbor plugin/nqc.vim (riadok 58): let s:NQC_RCX_Firmware= $HOME.'/RCX/firm0328.lgo' (riadok 66): let s:NQC_Portname= 'usb' ~/.vim$ gedit plugin/nqc.vim

NQC plugin (III.)

BricxCC (I.) Integrované vývojové prostredie pre OS MS Windows NQC NXC Inštalácia pod Wine ~$ sudo apt-get install wine ~$ wget cc_setup_33718.exe ~$ wine bricxcc_setup_33718.exe

BricxCC (II.)

Využitie v ZŠ Informatická výchova 2. ročník ZŠ Úvod do algritmizácie a programovania ZS_druhaci_pdf ZS_druhaci_foto_html realizované v ZŠ s MŠ Dlhá nad Oravou

Použité zdroje

Ďakujem za pozornosť Karol Pauchly ZŠ s MŠ Chlebnice