Go to Post IS THAT A CLUE, DAVE?!?!? - Joe Matt [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 21-02-2014, 19:38
Merfoo's Avatar
Merfoo Merfoo is offline
Registered User
FRC #0955 (CV Robotics)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: America
Posts: 48
Merfoo is an unknown quantity at this point
Check if Talon is not wired

Hello, is there a way to check if a Talon is not plugged in using Java by chance? We're trying to write a diagnostics program for the robot this year.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2014, 19:58
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,561
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: Check if Talon is not wired

There is no direct way, as there is no feedback from the Talon. The only FRC legal speed controller that supports this type of feedback is a Jaguar using CAN Bus.

You can either add a sensor, or possibly utilize an existing sensor. For example, if you have an encoder on your drivetrain, you can move the drivetrain at a low speed for a short time, and verify that the encoder reading changed. Alternately, you could add a voltage or current sensor to the output of the Talon.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-02-2014, 15:51
JohnGilb JohnGilb is offline
Programming Mentor, Drive Mentor
FRC #0488
 
Join Date: Mar 2011
Rookie Year: 2003
Location: Redmond, WA
Posts: 114
JohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura about
Re: Check if Talon is not wired

We have a diagnostics program for our robot - but it does require human interaction. It has individual tests like:

-Run the front two wheels forward
-Run the rear two wheels forward
-Run the left two wheels forward
-Run the right two wheels forward
-Actuate the arms to lowest & highest extents
-etc...

At each stage, it tells you which test is running (like "Running the front two wheels forward") and asks you to verify that it is doing so. By pressing a button on the dashboard to acknowledge the result of the test (whether positive or negative) it will move on to the next test.

Something along those lines is useful for things where you don't have appropriate feedback for the robot to test itself.
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 09:31.

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