To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 379
378  |  380
Subject: 
Re: OO programing in RCX
Newsgroups: 
lugnet.robotics.rcx
Date: 
Tue, 11 Jan 2000 01:29:44 GMT
Viewed: 
1573 times
  
What I mean is to think the RCX in OO. For example, I can add a sensor
object in my programming code when I plug a sensor into my RCX. I can make
the sensor object to interface with the RCX object in the OO manner. Is that
possible?
I learned some control algorithm is object oriented. But I have no idea to
apply it to RCX. Any comments?

fun,
Eric
----- Original Message -----
From: Matthew Miller <mattdm@mattdm.org>
To: <lugnet.robotics.rcx@lugnet.com>
Sent: Tuesday, January 11, 2000 12:43 AM
Subject: Re: OO programing in RCX


David Leeper <david.leeper@destiny.com> wrote:
There always Visual Basic. I'm currently building a few ActiveX controls • which
sit on top of Spirit. So far its working nicely and is a big improvement • over
the non-class method of VB coding I used in my original prototype.

I'm curious -- are you making it so you can think about your RCX program • in
OO terms, or just the VB program that sends opcodes?

--
Matthew Miller                      ---> • mattdm@mattdm.org
Quotes 'R' Us                       ---> • http://quotes-r-us.org/




Message has 1 Reply:
  Re: OO programing in RCX
 
Hi Eric, Yes, I believe you could create a sensor object on the VB side and write your code thinking in terms of a sensor object. Here's one way: =-=-=-= BEGIN SAMPLE CODE =-=-=-= Private m_SensorNumber As Integer Private m_SensorType As Integer (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx)

Message is in Reply To:
  Re: OO programing in RCX
 
(...) I'm curious -- are you making it so you can think about your RCX program in OO terms, or just the VB program that sends opcodes? (25 years ago, 10-Jan-00, to lugnet.robotics.rcx)

14 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR