Go to Post Let's see some love for these fine people. Let's give it up for the refs. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2011, 13:38
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,708
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Driver Station Dashboard & Encoders

1. Yes, there are functions in the framework for constructing a data packet to send back to the dashboard. I don't have the tools on this computer to look up the exact functions... But then you haven't mentioned your programming environment. You can either fit your encoder feedback into the current scheme so it shows up in the standard dashboard, or code up your own custom dashboard to display it.
2. No, Spikes are simple relays, and thus only function full forward or full reverse. There's no way to half turn on a spike without failing it in a matter of minutes.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2011, 14:47
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Driver Station Dashboard & Encoders

1. This is gonna sound kinda mean but I posted it in the NI LabView so I thought it was kinda assumed that my environment was LabView

2. Mmk i was just wondering cause I don't want the motors to move so fast that they shoot past the spot that I want it to stop at. But I guess I could just gear it down.
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2011, 00:34
Dfontana Dfontana is offline
Registered User
AKA: David Fontana
FRC #3039 (Wildcat Robotics, Team Predator)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Destrehan, LA
Posts: 9
Dfontana is an unknown quantity at this point
Re: Driver Station Dashboard & Encoders

You shouldn't be using SPIKE relays to power the motors. The KOP (Kit of Parts) includes two Jaguar motor controllers, which use a scaled PWM input to turn the motors anywhere from +1.0 (full forward) to -1.0 (full reverse). Should you find that you require more than these two, additional Jaguars are available for purchase by FIRST teams @ http://www.andymark.com

Victor motor controllers are also an option, which provide similar functionality, but are not included in the KOP.

Both of these can be easily implemented in LabView. In fact, I think two are implemented in the default code. All you have to do is select which PWM channel they are using on the digital sidecar (typically 1 and 2).
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2011, 09:35
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Driver Station Dashboard & Encoders

Quote:
Originally Posted by Dfontana View Post
You shouldn't be using SPIKE relays to power the motors.
Why not?
Is that just a personal preference?

The only motors SPIKEs cannot be used on are the CIMs and Fisher-Price.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2011, 12:30
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Driver Station Dashboard & Encoders

I should've been more specific I'm not using them as drive motors I'm using the motors as arm motors. Also we use Victors over Jags as a recommendation by our mentor.

Can someone check my dashboard code as I'm 90% sure it is wrong and I cannot test it right now. Its a link to my dropbox so that you can download the zip file containing the 2011 FRC Dashboard Project. (http://dl.dropbox.com/u/18793740/201...0Dashboard.zip)

I have 2 encoders (DIO 1-4) that display on 2 gauges and a numeric display
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
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:18.

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