TAILIEUCHUNG - programming LEGO MINDSTORMS phần 5

Kiểm soát của một RCX có thể không chỉ được kích hoạt từ một ứng dụng độc lập mà còn qua Internet bằng cách sử dụng một trình duyệt Web hỗ trợ Java, cung cấp giao diện tương tự như một trong những sẽ nhận được với các ứng dụng độc lập. Sử dụng RCXSocketPort, người ta có thể kiểm soát một số RCXs qua mạng | 166 Chapter 4 Communicating with the RCXJava API Beyond Serial Port Communications The RCXApplet Example 0 Control of an RCX can not only be enabled from a stand-alone application but also over the Internet using a Java-enabled Web browser providing the same GUI as one would get with the stand-alone application. 0 Using RCXSocketPort one could control a number of RCXs over a network and the network via a proxy server. 0 Use of the direct control API methods gives you the capability of creating complex frameworks similar to the visual-programming interface that comes with the LEGO MINDSTORMS kit. Direct Control Programming for the RCX Using Java 0 With direct control programming we are using the RCX s brain to pass commands from a proxy brain residing on a PC. There are significant advantages to programming tasks to run on the PC s resources rather than running tasks inside the RCX. 0 Tasks can run on the PC in near real time there is a noticeable time lag . 0 We can add Artificial Intelligence AI capabilities when programming our RCX robots. Neural network programming allows an RCX to learn the right response to stimuli all on its own. Communicating with the RCXJava API Chapter 4 167 Frequently Asked Questions The following Frequently Asked Questions answered by the authors of this book are designed to both measure your understanding of the concepts presented in this chapter and to assist you with real-life implementation of these concepts. To have your questions about this chapter answered by the author browse to solutions and click on the Ask the Author form. Q What versions of the Java Runtime Environment does the RCXJava API support Specifically is Microsoft s JVM supported A All versions ofJava through are supported. Microsoft s Java VM is also supported as long as one doesn t use Java Swing for the may also want to make sure you re using the latest version that supports Sun s JNI interface. Q How can I add to

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.