Go to Post A good teacher always needs to be a good student - Redhead Jokes [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-02-2016, 15:27
btcshields6 btcshields6 is offline
Registered User
FRC #4206
 
Join Date: Aug 2014
Location: Texas
Posts: 107
btcshields6 is an unknown quantity at this point
Motor Potentiometer Integration

I'm attempting to integrate this year's vision code and 2009's servo example (https://decibel.ni.com/content/docs/DOC-46774).

I'd like to use the Gimbal Control.vi in the servo camera example to move our shooter/camera based on the bounding box from the 2016 Vision stuff. I've pretty much figured out how both of those VIs work, but I'm having trouble making the switch from servo control to motor control.

The problem is that the Gimbal Control stuff expects servo values inputted and outputs servo values. Those values (I think) are readings of the angles. I don't know how to input the values from my motors. My plan is to use a potentiometer to track the rotation of my motors (similar to the servos themselves). So how can I input motor position?

I'm using some 10 turn pots btw.

Thanks,

Benjamin
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:05.

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