Go to Post Taking some parts from an old robot isn't cheap, it's like adding a piece with more experience to the new robot. - Marcel [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
  #15   Spotlight this post!  
Unread 19-01-2008, 21:25
iwin2000 iwin2000 is offline
Registered User
no team
 
Join Date: Dec 2007
Rookie Year: 2008
Location: CT
Posts: 23
iwin2000 has a spectacular aura aboutiwin2000 has a spectacular aura about
Re: How to download program to robot?

Our team is having a little bit of a similar problem, however we are working with the robot we built last year and its control boards and we are using EasyC. This is my first year and I have no experience in programming robots to actually do something in real life ... so what I did in EasyC was I created a new standalone project because I read this is what you have to do to test your robot and have it just run.

I had the serial port connected to the laptop and the robot controller board, and the board was on as well as the robot.

In Main(), I put in some easy code just to test if the robot would react:
Code:
while(1)
{
SetPWM(1,254)
}
Then I downloaded it to the robot by pressing F7 and remembering to hold down the PROG button until Program State turned to red. It uploaded fine, the robot was on, and none of the motors were moving.

So I thought, I'm missing something in my code, something on the robot is broken, or I don't know how to run the code on the robot. Do the boards from last year work for this year? Also, does the Operator interface have to be connected to the robot, even though I don't need it to take any commands from the operator? Can anyone help me out? Thanks a lot.

Last edited by iwin2000 : 19-01-2008 at 21:31. Reason: added a little more info
 


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
How to upload/download the code from a robot? Team865 Programming 3 06-11-2007 17:03
How Can I Program The FRC Robot Controller To Display My Team Number jesusescobar Programming 5 22-01-2007 10:29
program download question. Tachion Technical Discussion 1 27-10-2005 10:49
program download problem zdeswarte Programming 5 23-03-2005 06:46
Crashing on program download Ryan M. Programming 3 01-02-2005 21:15


All times are GMT -5. The time now is 18:43.

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