Go to Post What's the point of competing if you're not going to be competitive? - davepowers [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 29-10-2003, 21:58
Sachiel7's Avatar
Sachiel7 Sachiel7 is offline
<Yes I managed to flip it
AKA: Shayne Helms
FRC #1132 (RAPTAR Robotics)
 
Join Date: Sep 2002
Rookie Year: 2002
Location: Richmond, VA
Posts: 541
Sachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really nice
Send a message via AIM to Sachiel7
EduCAD and Arrays!!!!!

Ok, several things in this post:
-1. How many people would be interested in EduCAD?
-2. Those Dang Arrays!!!

1: I'm developing a Program I call "EduCAD". No, It's not an edubot design studio, but rather a program that allows you to draw out motion for autonomous movement, and generate the code for instant use. This program is going to be pretty cool to have your eduBot Write things with a marker.
Would you be interested in this program?
2: ARRAYSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!! Ack!
Ok, I've tried, and tried, and tried! But I just cant get a stinking array to work with MPLAB. What am I doing Wrong??? I'm using standard C syntax:

int X[2][3] = {
{3,2,1},
{3,2,1}
};

and so on. Bot the compiler doesn't like my code. Is my array to large? It was an 82x3 array, then I split it into 2 41x3 arrays, but it still came up w/ the same problems on each one. What am I doing wrong?
I'm trying to find some sort of C18 programming guide, to see what form it likes arrays in. This also plays a role in EduCAD as well. In general, EduCAD will generate an array of Movement Data, and apply it to a general user_routines.c file for auto control. Nothing Fancy.
But I'm having trouble getting that silly array to work.
I also couldn't get the switch command to work either.
What's up???!

-EDIT-
Ok, I just got the Arrays working, sort of. You can't have any variable names in the array, even if it is defined before the array. I can compensate for this in EduCAD, however, In my current program, I have all the data in and everything, but now I'm getting an ERROR - selection 'i.user_routines.o' cannot fit selection. What's that mean? Am I using too much memory?
I have a const float [82][3] array. I'll try shortening it. I thought we'd have plenty of memory to do this with. I don't want to have to reprogram it out so it's in program memory...again!
-EDIT-
__________________
-=Sachiel7=-

There's no such thing as being too simple!
Look for Team #1132, RAPTAR Robotics at the VCU Regional this year!

Last edited by Sachiel7 : 29-10-2003 at 23:01.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 16:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi