Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   build new programming (st.louis regional) (http://www.chiefdelphi.com/forums/showthread.php?t=25808)

nick_champ_2 22-02-2004 16:11

build new programming (st.louis regional)
 
:yikes: :confused: could someone who knows how to program the bot (that is comming to the ST. LOUIS regional) please program our robot. :yikes: we are using the default code and we have some additional things that need to be worked into the program but none of our team members know the language. :confused: anyone else that wants to help my e-mail is nickmesa2005@yahoo.com
we need programming for 1 joy stick to go forward, back, and turn with two different pmw ports (drill motors)
two different buttons to reel in cable for different things (2 seat motors)
one button to turn van door motor.
at a total we have 5 motors and need three different buttons with the
x and y axis working correctly. thanks
PLEASE

Kevin Karan 22-02-2004 16:52

Re: build new programming (st.louis regional)
 
Im sure someone will, but id recomend you check out FIRSTs C programming tutorial so you arnt stuck next year.
http://www.usfirst.org/robotics/C_help.htm
It helps some if you have someone that did pbasic (assuming your not a rookie team :D) because its not all that diffrent, its just daunting at first but youl get the hang of it.

nick_champ_2 22-02-2004 17:29

Re: build new programming (st.louis regional)
 
we have a teacher that will try to help but he is taking his time with it and we need it like NOW :(

Andrew 22-02-2004 18:46

Re: build new programming (st.louis regional)
 
Could you post what signals are connected where?

Ie. joystick 1 y is the right drive command
pwm1 is connected to the right drive motor (0 = full forward, 255 = full reverse)

or something?


Based on your second statement, I am assuming that you want code now, not when you get to St. Louis.

Kevin Karan 22-02-2004 19:59

Re: build new programming (st.louis regional)
 
EDIT: I sent you an email and a PM

Astronouth7303 22-02-2004 20:46

Re: build new programming (st.louis regional)
 
You have a month to program after you ship the bot. :)

Kevin Karan 22-02-2004 20:47

Re: build new programming (st.louis regional)
 
they may want to do some driver practice.

Astronouth7303 22-02-2004 21:06

Re: build new programming (st.louis regional)
 
That is the problem. But ship is on thursday. Show up early.

deltacoder1020 22-02-2004 21:33

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by nick_champ_2
:yikes: :confused: could someone who knows how to program the bot (that is comming to the ST. LOUIS regional) please program our robot. :yikes: we are using the default code and we have some additional things that need to be worked into the program but none of our team members know the language. :confused: anyone else that wants to help my e-mail is nickmesa2005@yahoo.com
we need programming for 1 joy stick to go forward, back, and turn with two different pmw ports (drill motors)
two different buttons to reel in cable for different things (2 seat motors)
one button to turn van door motor.
at a total we have 5 motors and need three different buttons with the
x and y axis working correctly. thanks
PLEASE

nick, are the seat motors and the van motor on victors or relays?

Astronouth7303 22-02-2004 21:37

Re: build new programming (st.louis regional)
 
:blink: :blink: victors, but thats another forum.

We use relays for solenoids.

Kevin Karan 22-02-2004 21:40

Re: build new programming (st.louis regional)
 
I think he was asking nick_champ_2...

deltacoder1020 22-02-2004 21:41

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by Astronouth7303
:blink: :blink: victors, but thats another forum.

We use relays for solenoids.

never hurts to double-check. would you dive headfirst into a programming project without knowing exactly and for sure what you're programming for?

deltacoder1020 22-02-2004 21:41

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by Kevin Karan
I think he was asking nick_champ_2...

that i was.

Astronouth7303 22-02-2004 21:42

Re: build new programming (st.louis regional)
 
Yes. Use aliases.

Kevin Karan 22-02-2004 21:43

Re: build new programming (st.louis regional)
 
er... are you ok?

deltacoder1020 22-02-2004 21:44

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by Astronouth7303
Yes. Use aliases.

remember, this is a team that doesn't really know the language - i'd like to give them as simple a time as possible, so if i can ask a question and get a simple answer, and in doing that save both them and myself coding, why shouldn't I?

Kevin Karan 22-02-2004 21:46

Re: build new programming (st.louis regional)
 
I dont think hes around, I emailed him over an hour ago and my PM is still unread...

deltacoder1020 22-02-2004 21:47

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by Kevin Karan
I dont think hes around, I emailed him over an hour ago and my PM is still unread...

not everyone checks the forums every hour, as much as it might seem like it to you or me ;)

Astronouth7303 22-02-2004 21:48

Re: build new programming (st.louis regional)
 
I said that was me. Besides, getting aliases down would really help in the future.

I case your wondering, An alias is what we call a name we give to something, as shown here:
Code:

#define LeftMotor pwm01
That way, you can use LeftMotor in your code instead of pwm01. It makes your code more readable and reduces headache if you change the motor to pwm07.

Kevin Karan 22-02-2004 21:50

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by Astronouth7303
I said that was me. Besides, getting aliases down would really help in the future.

I case your wondering, An alias is what we call a name we give to something, as shown here:
Code:

#define LeftMotor pwm01
That way, you can use LeftMotor in your code instead of pwm01. It makes your code more readable and reduces headache if you change the motor to pwm07.

I find the headache comes from remembering what the aliases are named... I guess im still in a pbasic mindset when it comes to saving overhead space, eh :D

nick_champ_2 23-02-2004 20:52

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by deltacoder1020
nick, are the seat motors and the van motor on victors or relays?

we might put them on victors if we can get them running
right now they are ready to go but we cant figure the program out.

nick_champ_2 23-02-2004 20:55

Re: build new programming (st.louis regional)
 
the controller in port 1 right now controls the robot (forward back left and right) with the axis. we want to use the buttons to activate the motors and probably go on to using a second controller. the drill motors for our drive train are on pwm 13 and 15. i read in the program that it will let them go in forward and reverse thats why we are on those pwm's.


All times are GMT -5. The time now is 00:01.

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