Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Need help with programming (http://www.chiefdelphi.com/forums/showthread.php?t=18514)

Kori E. 24-02-2003 16:43

Need help with programming
 
My team has no programmer. So I tried it out. Now I'm the programmer and everyone is blamming me for the program not being done. :( I need help with this if any programmer can give me a hand with this it would be great.:( :confused:

redbeard0531 24-02-2003 16:51

I, and several, others would love to help, but we need more info. What are you trying to do? What controls are you using? What are you trying to control? Also, it would be good to know your programming background(it is ok if the answer is none;)). If you want, I can e-mail you a copy of our code. It is writen in such a way as to be easaly readable.

Enzeru 24-02-2003 16:56

Ill help
 
hey ill help you as mch as i can just email me first382@hotmail.com or im me shenlong395 and ill hook you up.
So just tell me what ur robot needs and ill do what i can.

Kori E. 24-02-2003 19:10

what i need help in right now is making the autonomous mode run on only one joystick. i tried using a SW5 jumper but in autonomouse mode that makes one wheel go and so it goes in circles the whole time. and i need to get my robot to ramp. it just comes to a jolting stop but i need it to slow down to a stop.

Iain 24-02-2003 20:04

Why would you need a joystick active during autonomous mode at all?

Enzeru 24-02-2003 21:17

ok one joystick
 
if ur using tank drive id say use 2 joystics.So send me ur code and ill have a look.

Rickertsen2 24-02-2003 21:18

post ur code so far and what you need it to do and i as well as lots of other people will be more than happy to help.
Also we need to know how your motors are hooked up to your speed controllers

rust710 24-02-2003 21:21

Quote:

Originally posted by Kori E.
what i need help in right now is making the autonomous mode run on only one joystick. i tried using a SW5 jumper but in autonomouse mode that makes one wheel go and so it goes in circles the whole time. and i need to get my robot to ramp. it just comes to a jolting stop but i need it to slow down to a stop.
You cannot have a joystick input in autonomous at all. If you are trying to gradually slow the robot without a joystick, something like this might work.

Code:

slowdown:

if PWM >127 then
PWM = PWM - 1 'This number can be increased to slow faster.
endif

If you need any help, send me you code info@lightningrobotics.com or Im me at Rust710 or PM me here.

One other thing. SW5 jumper, on the full size robot defult code it limits PWM3. This would make more sence to me if you where using the EDU bot. On the EDu bot SW5 does make the bot a one joystick drive. On the full size robot though you have to add the code your self.


All times are GMT -5. The time now is 20:28.

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