This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Tuesday, April 22, 2008

[oopic] oVarX object and 2D array?

Hi all,
I'm new here and hoping that somebody can help me with this. I'm using ooPic-R which is connected to 2 sensors and a SSC-32 servo controller (with 12 servos). I want to make it learn how to walk just by sensors and without walk sequence. Now I need huge tables.

The ooPic manual says that i can use object oVar3
http://www.oopic.com/ovar.htm

but the 6.1.1 oopic compiler online understands oVar8 and oVar16. I need a table of the size 729 by 6 and each cell has 3 values -1, 0, 1 (preferably, if not possible, i can settle with 0, 1, 2)

What's the most efficient way to store them? I read somewhere that you can only store array of objects, in which case I'm out of luck because there are only 86 bytes object memory.

Thanks in advance for your help,
Harley

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: