|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hi again.
Yesterday, I tried to program some autonomous codes into the robot, but it didn't exactly work out the way it was supposed to. Half the time, there was a red light on next to the "code error" message on the O/I and the robot wouldn't do anything at all, and when I input the code for a simple autonomous program to make the robot drive forward, stop, turn left, stop, then drive forward again and stop, it only went forward and didn't stop at all. Another problem that I've been having is when I program for RC control with the joysticks (using the Arcade 4 programming for 4 wheel drive), the joysticks won't work. One set of wheels will constantly spin when the other set doesn't, and if I can finally get both sides to stop completely (which takes some tedious calibrations of both joysticks) I can't get them to move again. Speaking of both joysticks, we've also been having some issues with getting our robot to work on only one joystick. Last time we had only one joystick, one wheel would constantly spin and wouldn't respond to the joystick movements. I was wondering if that was an error with the default programming since nothing else had been programmed into the Controller when we were having that problem. Would anyone be able to tell me what's going on with the robot? Is there something that I'm not programming correctly? |
|
#2
|
|||||
|
|||||
|
Re: Problems with Programming
This is somethign that I always say to our programmer because i know nothing about programming but somehow this is always what happens:
"Did you reset the variable?" |
|
#3
|
|||||
|
|||||
|
Re: Problems with Programming
Quote:
|
|
#4
|
||||
|
||||
|
Re: Problems with Programming
Just some simple programming from one of the tutorials. This is the one that makes the robot continously move in one direction without stopping.
![]() And this is the code that makes the "Code Error" light turn red on the O/I. ![]() |
|
#5
|
||||
|
||||
|
Re: Problems with Programming
Quote:
And about that code light, I hate it and I don't know whats up so I compile the code a lot and add it to the controller just to check for the code error and if it works so I know where I screwed up on the code. Good luck. Last edited by mallot1243 : 16-02-2006 at 13:10. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming - Getting Started | Mark McLeod | Programming | 80 | 16-04-2008 23:37 |
| problems programming knob and switch | caderader | Programming | 4 | 16-02-2006 16:45 |
| Problems programming a switch | caderader | Programming | 2 | 18-02-2005 22:06 |
| Programming Sub-Team Problems | Phil Paspalas | Programming | 9 | 19-01-2005 21:42 |
| Problems and questions about programming | hedgehogger | Programming | 4 | 15-01-2005 18:18 |