Go to Post Duct tape can fix everything except relationships with other people. - dixonij [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2007, 05:47
hanan hanan is offline
Registered User
no team
 
Join Date: Jan 2007
Location: Israel
Posts: 14
hanan has a spectacular aura abouthanan has a spectacular aura about
general - optimization

Hi,
This one is pretty general-
1) since in mplab, using C, I can control everything i can make optimizations.
Since most of the things in easyC are built in, (and is very good when time is short), are there any important issues, maybe tips someone can give as for time consuming commands.
(i.e mplab - keving's code - there's a 26msec repetition command that need to be considered. ) init camera - 2sec? is there difference in servo - tracking/set regarding to power/time consumption? etc'...?
auto part is only 15sec, so i think its important.

2) downloaded 2007demokickoff. have init, auto, operate. In order to test my code (don't have a dongle switch yet), I copied past it into init part, forcing the controller to run this. Is there a way to order him to go into auto, and operate, and not to do this ugly bypass?

Thanks.
  #2   Spotlight this post!  
Unread 19-01-2007, 18:41
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: general - optimization

No, offense hanan but the reason your are having such a hard time in easyC is your don't know what your doing and don't seem to be reading the wealth of documentation available on chiefdelphi and in the help file.

The only reason you probably got the default code to work is you probably already had plugged in the joysticks to the right ports and probably already had your motors plugged into PWM 1-4. From there you just played with it till it worked. This is apparent in the other thread you created as the MPLAB joystick and PWM commands are almost identical to easyC in nature. I'm just saying you really need to do some reading or you are going suffer through programming your robot for the rest of the season with either easyC or MPLAB.
I'm pretty sure others would agree with me in on this if the looked at all of your posts.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #3   Spotlight this post!  
Unread 20-01-2007, 07:03
hanan hanan is offline
Registered User
no team
 
Join Date: Jan 2007
Location: Israel
Posts: 14
hanan has a spectacular aura abouthanan has a spectacular aura about
Re: general - optimization

no offense Mr. Kingofl337...
started programming 4 days ago. tring to do parallel job - documantion+forums.

one of the main problems that I encountered, (and which I spoke with other ppl) is that beacuse there is so much documantation, you don't know which file is the one to read. So many pdf's I read, until I read the right one. all kinds of manuals that I don't even need, and just consumed time. the easyC tutorial is the best for me, but until I decided to read from it, I wasted a lot of time (and many threads).

Last edited by hanan : 20-01-2007 at 08:28.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
UK General Election Denman Chit-Chat 2 08-05-2005 16:25
General Q's amateurrobotguy Programming 8 23-02-2005 16:59
General Pneumatics Drok00 Pneumatics 8 11-01-2005 23:35
General guidelines Mike Martus OCCRA Q&A 0 10-09-2003 20:32


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

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