Go to Post PRY BAR: A tool used to crumple the metal surrounding that clip or bracket you needed to remove in order to replace a 50 cent part. - dlavery [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 20-02-2016, 03:26
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
I'm not very good at giving prizes
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 335
Poseidon5817 is a splendid one to beholdPoseidon5817 is a splendid one to beholdPoseidon5817 is a splendid one to beholdPoseidon5817 is a splendid one to beholdPoseidon5817 is a splendid one to beholdPoseidon5817 is a splendid one to beholdPoseidon5817 is a splendid one to beholdPoseidon5817 is a splendid one to behold
CANTalon position and speed only returns 0

We have hooked up CIMcoders to our drive motors and are attempting to use them with CANTalon speed control. We have added a method so that we can feed the motors a feet per second value and have it convert to a motor rpm setpoint.

This is where it gets weird. We have been driving like this fine for weeks, speeding up and slowing down at will. However, when we tried to print the value of CANTalon.getSpeed(), it only returns 0, even though we are somehow still driving. In the Talon's self-test, it is listed as being in velocity control mode and having a quadrature encoder as the feedback device, but it shows 0 for the encoder speed and position. After looking in the software manual, we are still stuck.

Any ideas?
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division


Reply With Quote
 


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:46.

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