Go to Post something i thought was impossible just happened: Brandon's awesomeness level has grown exponentially! just when you think he's at his peak, he does something new and extremely cool for CD. - Winged Wonder [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-02-2012, 00:52
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
Help! RobotDrive Error in all 3 languages

After having spent countless hours trying to solve this problem, we are now interested in what new ideas people might have towards solving the following problem. Please read through the entire post. I realize that it is rather lengthy, however this is an important problem that could possibly affect other teams.

When we first started the programming, we started with Java as our programming language. While trying to create a simple program, we discovered that while driving, the robot had a tendency to turn towards one side. After spending several hours solving a series of mechanical problems, we still had the same problem. We then began to test the output of the jaguars with our multi-meter. We discovered that one side was outputting approx. 12.5 volts while the other side was outputting approx. 10 volts. Believing that this was an issue with the jaguar firmware, we went to update the jaguar firmware, however have been unable to update the jaguar firmware so far due to the fact that we do not have access to a computer with a serial port outside of our school district (our school district does not allow us access to the necessary computers).

We later made the discovery that there was yet another problem. We decided to test the control circuit of the PWM cables. We discovered that one side was putting 2.27 volts through the control circuit while the other was putting 0.67 through on the other side. This led us to believe that it was not in fact a jaguar problem, but instead a problem with the cRIO or the digital sidecar. After having swapped out a series of different components, we decided to try something different.

Since we still had the electrical board from last year, we decided to run the program on the old electrical board. We made the necessary changes to the board (such as module placement and cRIO imaging) and then downloaded the test program. We discovered that an entire other electrical board had the same problem. After switching out an additional series of parts, we now believed it to be a programming error.

We then proceeded to reduce the program to the simplest program possible. We wrote the following piece of code.
Quote:
Please see the attached file JavaV1.txt
We then discovered that the program at what seemed to be the simplest level did not work properly.

Discovering that this piece of code did not work properly, we instead decided to try a different programming language. We then proceeded to reformat the cRIO, and prepare a new code sample in Wind River. We discovered that this code had the sample effect as the Java code that we had previously tried.
Quote:
Please see the attached file windriverV1.txt
Since the Wind River program did not work, we reasoned that the Java and Wind River ran on similar libraries, and were perhaps experiencing the same error. We then decided to try Labview on the robot. We reformatted the robot and deployed the basic template code provided with Labview. However this did not work either, providing the same result as Java and Wind River.

With time quickly shortening, we are in desperate need of some help with this problem. Any and all ideas would be appreciated.
Attached Files
File Type: txt JavaV1.txt (566 Bytes, 15 views)
File Type: txt windriverV1.txt (1.2 KB, 15 views)
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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