View Single Post
  #19   Spotlight this post!  
Unread 27-01-2010, 18:11
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Compressor Code causes No Robot Code Error

Quote:
Originally Posted by sircedric4 View Post
The example I used was Iterative Robot Demo Main Program. We just performed the magic -mlongcall chant and did the appropriate ritual and the robot now functions as expected.
I don't even see that one. Perhaps that's the problem. If there are really old examples left laying around since last year, it's possible the example had a bug in the project from back then.

This is the list of projects that I see in source control today:

2010ImageDemo
BuiltinDefaultCode
CameraDemo
CSimpleTemplate
DashboardDataExample
DefaultRobot
DriverStationLCDText
GyroSample
SimpleTemplate
SimpleTracker
TwoColorTrackDemo

Anything you have in addition to these is probably very obsolete.

If I had a recommendation, it would be to remove all of the projects in the C:\WindRiver\workspace\WorkbenchUpdate\vxworks-6.3\target\src\demo directory and then install the C++ update.

Quote:
Originally Posted by sircedric4 View Post
We are trying to figure out why our encoders themselves don't give us data, but we're just starting that. We are checking our wiring first again, and checking the forums, and then checking the code that's already posted above. The good news is that the Compressor code performed flawlessly after we got the Reallocation error gone.
Glad it worked for you. As for encoders... first things first make sure that, as the wheel spins, both lines change by adding a Get() on each of the two DigitalInput objects. Then pass those DigitalImput objects into the Encoder constructor.
Reply With Quote