Go to Post The only thing "an eye for an eye" has ever settled is two eyeless people. - Cory [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-02-2014, 12:35
DMike
 
Posts: n/a
Re: Problem with Auto

Here's a photo of the code. We literally enabled one of the stock structures already in the Autonomous code and added a solenoid. The added solenoid code works, the default drive code doesn't.
Attached Thumbnails
Click image for larger version

Name:	AutoCode.JPG
Views:	40
Size:	161.9 KB
ID:	16311  
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2014, 13:27
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Problem with Auto

Are you actually using a Mecanum drivebase?

Is your drive motor reference in Begin named "Four Motors"?
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2014, 14:01
DMike
 
Posts: n/a
Re: Problem with Auto

yes and yes. The motors will turn as programmed sometimes but it's really inconsistent. They will usually only turn once every time we load the code to the cRio, and generally it does not work the first time we enable the code. We don't have the code actually burned to the cRio yet so could that have something to do with it?
Reply With Quote
Reply


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 21:14.

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