Go to Post I just love the gleeful, free, post-ship feeling, don't you? - Grant Cox [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 17-01-2016, 20:27
dradel's Avatar
dradel dradel is offline
Registered User
FRC #4557 (Full Metal Falcons)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: CT
Posts: 415
dradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to behold
I appreciate all the help. I am a mechanical mentor on the team. I can help/show these guys dream up and build about anything, but when it comes to the programming I am out of my wheelhouse.
Please keep the tips coming
  #17   Spotlight this post!  
Unread 18-01-2016, 16:17
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 555
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Measuring RPM

Oh hey I almost forget, so there is a closed-loop speed example in LV for CAN Talon SRX.

Open LV,
Menu bar: Help => Find Examples...

Double clock on this tree node...
FRC Robotics => roboRIO => CAN =>CAN Talon Speed Control Encoder.lvproj

Example probably should be updated to select the CTRE Mag Encoder. Relative would be better since its just velocity (not position). Or just to quickly get started set the Encoder Codes Per Revolution to 1024 and leave Quadrature selected.

This example also does not take advantage of this year's unit-scaling features in the API, so scaling to RPMis done manually, but again I think it will help get you going.
Closed Thread


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

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