View Single Post
  #8   Spotlight this post!  
Unread 24-02-2003, 21:21
rust710's Avatar
rust710 rust710 is offline
Registered User
#0862 (Lightning Robotics)
 
Join Date: Dec 2002
Location: Canton, MI
Posts: 103
rust710 is an unknown quantity at this point
Send a message via AIM to rust710
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.
__________________
Andrew Radamis
Programmer on 862
info@lightingrobotics.com

Last edited by rust710 : 24-02-2003 at 21:29.