Log in

View Full Version : default program


Billyp04
10-01-2003, 09:23
yes i accsadentaly deleted the default program and the user program can u help me try to get my robot to move a gain because all the robot does is the brecker turns on but the robot does not move on both user and on defalt can u help me:(

Jferrante
10-01-2003, 09:47
You can get a copy of both programs and the stamp editorHere (http://innovationfirst.com/FIRSTRobotics/documentation.htm)

Hope that helps

Billyp04
10-01-2003, 10:01
now how would i dowload it into the robot?

rbayer
10-01-2003, 10:23
Originally posted by Billyp04
now how would i dowload it into the robot?

If you don't know how to download, how did you erase the old ones?

Anyway, grab the Stamp editor from InnovationFirst's website, open the code in it, and choose Run from one of the menus.

Billyp04
10-01-2003, 12:45
how do u fix pmw2

FotoPlasma
10-01-2003, 12:50
Originally posted by Billyp04
how do u fix pmw2

With pliers.

The questions you're asking aren't answerable without context or more information.

Please think through your situation, the circumstances of whatever's going wrong, and then ask a coherent question.

Billyp04
10-01-2003, 18:47
on my operator interface thr pmw2 lights r on and i of the controleres are not woring and the right side of the robot does not run but whren the servos r swiched the left side wors and the right side does not wor and the light on the robot does not wor. can someone help me i am a programer on my team and the robot just started to do all this?:ahh

rbayer
10-01-2003, 19:13
Do you see that key next to the "z" on your keyboard. It's called "shift". Learn it, love it, use it. I'm happy to help, but it's difficult if I can't read what you are asking. Slow down, use some punctuation, and I'm sure somebody can help you.


There's a spell check button right before you post. Try it.

rwaliany
10-01-2003, 20:37
Originally posted by Billyp04
on my operator interface thr pmw2 lights r on and i of the controleres are not woring and the right side of the robot does not run but whren the servos r swiched the left side wors and the right side does not wor and the light on the robot does not wor. can someone help me i am a programer on my team and the robot just started to do all this?:ahh

Umm, I can't really understand you. But try to use the tank drive default code. I think you are using the two joystick drive from what I can understand.

Billyp04
10-01-2003, 21:15
If My robot's weels on the right side ar movin but the weels on the left don't work. but when i change the servo plugs the left one wors and the right does not. and the pmw 2 light on the operator interface is on can some one help me.

rwaliany
10-01-2003, 21:17
Try hooking up another joystick to port two and see what happens.

- Ryan

rbayer
10-01-2003, 21:21
I still don't really understand what you are trying to say. Please realize that this is not one of those message boards where it is "cool" to leave letters out of words because you are too lazy to type the entire word. It's actually quite distracting and really turns people off from wanting to help.


Back to your problem: you really need to provide more info. Which default program are you using? Have you tried re-downloading it? If so, did you make any changes? As rwaliany said, it sounds like you're possibly using the two-joystick drive, in which case the y axis on port 1 controls pwm1 and the y axis on port 2 controls the other motor.

Which joystick are you moving? Are any of the other LEDs on? What happens when you go into user mode? Is there a switch connected to sw2?

Raven_Writer
10-01-2003, 21:23
Is the "BASIC Run Error" LED on? If so, download the code again off of InnovationFIRST, re-download that into your robot, and see.

Billyp04
11-01-2003, 16:08
on my operator inter face the PMW2 led is lightup. also the right side of the robot does not move but when i swich the two servo connectors arount thr right side of the robot moves but the left side does not. i am using the 2003 first default program both programs r in the robot the user works eveything else runs.can any one help me with this program?

rwaliany
11-01-2003, 16:15
Like I said, try two joysticks. Does anything work that did not before?

Since, I still do not completely follow, try this, if you want me to help.

rbayer
11-01-2003, 17:14
Originally posted by Billyp04
on my operator inter face the PMW2 led is lightup. also the right side of the robot does not move but when i swich the two servo connectors arount thr right side of the robot moves but the left side does not. i am using the 2003 first default program both programs r in the robot the user works eveything else runs.can any one help me with this program?

PLEASE speak english. "r" is not a word, nor is "i" unless it is capitalized. Same with "thr", "arount". Beginnings of sentences are capitalized, and periods are required between them. Commas are good, too. If you look through all the other posts/threads on this board, you will find very few that aren't writen in fairly good english. Please follow their example.

I see no reason to waste my time trying to understand what you are saying; answering a question, on the other hand, is not a waste of my time and I am happy to do.

GMitchell
11-01-2003, 17:22
I was going to offer a possible solution, but after typing a few screens worth of text, I realized that I was just ranting and didn't know enough about the problem.

Are the motors that are having problems controlled by relays (in which case I may know the solution) or by PWMs (in which case I don't)? Are you controlling things with the joystick... (err... axis' axes? axi? How do you pluralize axis anyway?) Anyway, are you controlling (or trying to control) the robot by moving the joystick or using the buttons? What is hooked up to where? How did you re-download the 2.5 code to the RC with a 2.0 editor?

Billyp04
13-01-2003, 09:46
helllllp me please

rbayer
13-01-2003, 10:41
With what?

If you look through this thread, you'll notice two types of responses: some that offer suggestions, and others that don't understand what you are asking. Have you tried all the suggestions rwaliany made?

In either case, you're going to have to explain your problem (preferably in English) in a way that we can understand. As of right now, I only know that it's not working and something about PWM2 being broken.

Geoff_494
13-01-2003, 11:36
As has been stated, it's not entirely clear what the problem is, but assuming you are using two joystick tank drive, are the joysticks plugged into port 1 and port 3? I believe those are the ports used in the default code for the left and right drive variables.

Christine_364
13-01-2003, 13:39
I cannot really tell what the problem may be without more specifics.... but you need to check and make sure that your joysticks are o.k...... you can try this by swapping them around to see if the problem follows one or the other. You also need to make sure that your joysticks/speed controllers are 'calibrated'.... sometimes you need to adjust the wheel on the base of the joystick until the LED on the speed controller is steady on. It will turn green or red whenever you are trying to control the motor in a positive or negative position. Check the breakers and fuses to make sure that nothing is burned out or tripped. You can also try to swap speed controllers, if that is what you are using.... and make sure that you have the right PWM channel going to the right controller.... it is easy to think you are on channel "x" and you're actually on channel "y"....

If you go through each of these possibilities and it still doesn't work, e-mail me directly: christine.q.powell@nasa.gov

Good luck!
Christine

Ryan Meador
13-01-2003, 14:39
I am no doubt horribly confused, just as is everyone else, but I have a different take on things. It seems to me that you're trying to use one joystick drive but have the two joystick program in the RC. I don't know what that would have to do with the PWM LEDs, but it would explain why only half the robot works.

Billyp04
13-01-2003, 15:40
your not smart tell me something i don't know

Mike Betts
13-01-2003, 16:14
Billy,

What these responders are trying to say is that we do not fully understand your problem. You say your PWM2 is broke but do not say what code you are running or what diagnostics you have attempted.

My team, Bobcat Robotics are in South Windsor CT and I have been doing this for 9 years now. Perhaps you could have Mr. Jones or one of your other adult advisors give me a call if they would like to try and solve your problem.

My number at work is 860-727-2478. I'll be at work between 7 AM and 4 PM tomorrow and we'll see if we can help you out.

Lloyd Burns
13-01-2003, 23:27
The problem might be that you are not connecting the left wheel's motor into the proper pwm output: I had that problem with the EduBot, too. Check the manual to make sure that your outputs do what you want done.

Raven_Writer
14-01-2003, 07:55
Originally posted by Billyp04
your not smart tell me something i don't know
Man, that was harsh. On the sense of that statement, at least he can explain his question thoroughly.

rwaliany
14-01-2003, 15:48
This is a useless post. The questions are unclear (in what I would not even call english). The person who is asking the questions, Billy, is mimicking the people who are trying to help.

"Billyp04 your not smart tell me something i don't know"

If that was the problem didn't I tell you that (along with a way to fix it) in my first reply to your question.

This seems pointless messaging you about how to fix it.

http://www.innovationfirst.com/FIRSTRobotics/

They have some pretty good documentation, try it. I'm not going to waste anymore time reading non-sense.