Go to Post Team 1114 does not design or build ROBOTS. They build AWESOME. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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
  #12   Spotlight this post!  
Unread 03-01-2013, 23:37
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 166
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: Digital Side Car Issue with Encoder

Quote:
Originally Posted by EricVanWyk View Post
Neat! Sounds like an interesting break inside the DSC then: Haven't seen this one before. You are listed as being in texas - If you are headed to an Austin kickoff I'd love to take a look at it.
We are going to the Dallas kickoff. Once we get a replacement I could mail it to you if you PM me your address.

Quote:
Originally Posted by Chris Hibner View Post
Are you doing any encoder resets? (In LabVIEW, there is a Reset Encoder vi that resets the encoder counts to 0 and stops the encoder, you then need to do an Encoder Start. I'm assuming there are equivalent methods of doing this in C++ and Java.)

I found a bug with the Encoder Reset / Encoder Start / Encoder Stop functionality in the 2012 firmware. The bug caused it to act exactly as you're describing. We lost days trying to track that down.
I took the code from last year's shooter encoder and it called the start() method once and reset() each cycle. It seemed to work fine in Java but I will give it a try with start() after each reset(). For this current issue I had removed all the reset() calls to make it as simple as possible.
 


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 06:12.

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