![]() |
PLEASE POST THE CODE
Posted by Jason.
Engineer on team #109, N/A, from Libertyville High School and SEC Design, Arial Systems, & Zebra Technologies. Posted on 11/6/2000 7:00 PM MST Joe, Our team is having a huge glitch. As soon as we enable the robot, the Victors throttle full forward. Also, Relay 1 and 2 go to forward as well. All four feedback lights on the OI are green (PWM1, PWM2, Relay1, Relay2). These 4 outputs do not respond to the OI, but the other relays still work. The problem used to be intermittent, but it is now a full-time pain in the neck. I have check all of the fuses, wiring, and switches on both the OI and RC. I disconnected all motors and no change. I disconnected all PWM cables as well and still no change. I have used the tether, and no change. I have tried both batteries, fully-charged, and no change. The only thing that seems to work is when I unplug the joystick for Port 1, the feedback LED for PWM1 turns off. The equivalent happens with Ports 2, 3, and 4. The only thing I can think of is to re-download the user code in case running the robot at low voltage caused a problem(The motors caused the voltage to drop below 11 volts under heavy loads). So, if is not giving up any trade secrets, could you please e-mail me directly the user code? I'll keep looking for a solution. Thanks, Jason |
Re: PLEASE POST THE CODE
Posted by Jason.
Engineer on team #109, N/A, from Libertyville High School and SEC Design, Arial Systems, & Zebra Technologies. Posted on 11/6/2000 8:02 PM MST In Reply to: PLEASE POST THE CODE posted by Jason on 11/6/2000 7:00 PM MST: I hooked up the Dashboard Viewer from Innovation First to see the data coming from the OI. The Y-Axis from all 4 ports read 254. The same goes for the Wheel. When I unplugged each port the number dropped to 127. I replaced the OI with a spare from last year's competition. This time, the Dashboard numbers looked correct. When I moved the joysticks, the numbers went up and down like they should. So, I've isolated the symptoms to a faulty OI. Now, the only problem is that the Port 1 Wheel is stuck at 120. I've swapped joysticks and the problem follows the port, not the joystick. Since the Victor's sensitivity is tied to the Port 1 Wheel then our robot will always be stuck in 'low sensitivity'. Joe, can you change the user code so that the Wheel2 adjusts the Throttle for Y1 and Y2? I understand that you don't want to start writing code for each team, but I am willing to take the risk at this point. There is not enough time to get the OI repaired and still practice. Thanks, Jason P.S.: To all other teams, I would check your OI using the Dashboard viewer to make sure that Wheel1 is maxing out. You can get the program from the link below. This might be the same problem that another team was seeing with their motors going much slower with the Victors. |
Try this for now... I will post code Wed...
Posted by Joe Johnson.   [PICTURE: SAME | NEW | HELP]
Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems. Posted on 11/6/2000 8:04 PM MST In Reply to: PLEASE POST THE CODE posted by Jason on 11/6/2000 7:00 PM MST: This is a very strange result. I am pretty certain that a code reload will not work, but I will post it on Wed. anyway. My problem is that I am not at work until Wed. and that is were the code is right now. Please follow the recommendations I make at the link below. I believe that this will likely straighten things out. If it does not, call me (248.696.5672). We can probably work this out over the phone. Joe J. P.S. Some caution about the code that I will post: The code is un-altered from the way that Innovation First gave it to me. They gave me the code they wrote for me for last year's CDI. This coded uses a 'beta' version of the code needed to set up the data packets. This does not affect the function of the code but only the format. It functions exactly as the code they released to the FIRST community, but it does it in a slightly different way. |
| All times are GMT -5. The time now is 22:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi