Go to Post This is a benefit of the district model. It brings the events back into the schools. - ezygmont708 [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2008, 21:01
bizarospooky bizarospooky is offline
Registered User
FRC #2642 (Falconaters)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: North Carolina
Posts: 11
bizarospooky is an unknown quantity at this point
Freaky Error

Not sure why our robot is doing this, but we push the joystick full forward and then full back it gives us a programming error and at one point read 8.3 something volts on the OI. We have tried changing the joysticks, reversing the motor polarities, and then we went down to the most baisic code in EasyC (the compiler were using since I'm lazy and I'm the only programmer) for driving in arcade style of Arcade 2 Motor style. We are still getting the error, so we tried calibrating the victors, that didn't work. We tried change the jumper from coast to brake, and in brake it well breaks faster. One thing we were talking about is whether or not the arcade drive function ramps up the speed depending on where the joystick is and if not how to implement it.

I am of course using EasyC, though I could go to the Microlab compiler I just don't want since again I'm kind of lazy and have to train someone who has no real C experience since I am a senior this year and will not be here next year.
  #2   Spotlight this post!  
Unread 30-01-2008, 21:03
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Freaky Error

Did you try a fresh battery?
  #3   Spotlight this post!  
Unread 30-01-2008, 21:08
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,586
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Freaky Error

There was a problem with the IFI code 2 years ago which caused the battery voltage to show 8.2 or 8.3 volts. It required new libraries and a new linker file. You can read about it here: http://ifirobotics.com/docs/memory_problem_8722.pdf

I have no idea if easyC implemented those changes or not.

You will also see wierd things if the battery is low and the backup battery is not attached.

Last edited by Joe Ross : 30-01-2008 at 21:12.
  #4   Spotlight this post!  
Unread 31-01-2008, 18:38
bizarospooky bizarospooky is offline
Registered User
FRC #2642 (Falconaters)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: North Carolina
Posts: 11
bizarospooky is an unknown quantity at this point
Re: Freaky Error

I think the battery was the problem, we put the battery on medium charge speed and it said it was fully charged so we assumed. We put it on the charger after trying the second battery and the charger said it was empty. So batteries are charging and we will test tomorrow.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in code light on, trouble finding error Bryan Herbst Programming 16 12-10-2007 21:59
pic: Me with 364's freaky totem Kris Verdeyen Extra Discussion 2 24-03-2007 15:51
180:Error: syntax error help! seanl Programming 8 04-02-2007 11:31
Freaky Eon8 Cuog Chit-Chat 12 01-07-2006 01:06
stupid Array error: Error [1300] stack frame too l Validius Programming 7 27-01-2006 10:53


All times are GMT -5. The time now is 19:13.

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