tailieunhanh - programming LEGO MINDSTORMS phần 2
Ý tưởng của vòng lặp trong Visual Basic là bạn nên bắt đầu bằng cách khởi tạo một biến, được gọi là kiểm soát vòng lặp biến, và mỗi khi bạn đi vòng vòng lặp, bạn thêm một cái gì đó để biến điều khiển vòng lặp cho đến khi nó vượt quá một giá trị cuối cùng. | Introducing LEGO MINDSTORMS Chapter 1 25 Visual Command This is a fully functioning PC video camera based on the Logitech QuickCam. It can record up to 30 frames per second and comes with a built-in microphone. It can be used as a standard stand-alone camera or to work in conjunction with your RCX and take advantage of the Command Center vision recognition software. It can detect changes in light motion or color. It is available only in USB version so unfortunately your robot must always be connected to the PC via a 5 meter cable soyou can t build a fully autonomous and independent robot if you decide to use the camera. There are also some other older kits in the MINDSTORMS line including Exploration Mars RoboSport and Extreme are assortments of pieces for particular tasks which are usually quite expensive for the real value of the contents so get them only if you are looking for specific parts that you know are included. For example Exploration Mars has two very long electric cables RoboSport one 9V motor and Extreme Creatures has a fiber-optic system FOS . Finally you can always expand your RIS with another RIS. It might sound a bit strange but the second RIS brings with it a lot of pieces sensors motors and a second RCX unit all of which can be very useful for building bigger and more complex robots. The large number of pieces and second RCX unit can make the high cost of a second RIS a worthwhile purchase. 26 Chapter 1 Introducing LEGO MINDSTORMS Summary The Robotic Invention System RIS is the central set of the LEGO MINDSTORMS series a robotics line designed both for kids and system is based on the RCX a microcomputer that controls devices reads sensors runs motors and communicates with other computers via an IR unit is programmed from the end-user s PC. RCX Code is the standard development environment provided by LEGO. RCX Code is limited in functionality but many third-party tools have been created to
đang nạp các trang xem trước