Go to Post when answering a question you throw out other teams names (thunder chickens and killer bees)...and a distinguished guest raises his hand and asks if he heard right when I said thunder chickens and asks for an explanation of what a thunder chicken is. - Devon27 [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 28-01-2009, 16:00
mbone206 mbone206 is offline
Registered User
FRC #0223
 
Join Date: Jan 2009
Location: New Jersey
Posts: 59
mbone206 is an unknown quantity at this point
Question Tracking Servo motor with drive motor in Labview

I am a new mentor, also new to First Robotics and LabView. Will Appreciate support. I am using the LabView 'Two Color Servo Camera' Example to find and track Foe.

I am attempting to add a drive motor to find location of servo camera once it locks onto foe, position motor (top of robot) & align with camera location, then have drive motor track with camera servo as target moves.

The way I am trying to do this, is read back servo (x position) and drive motor setting. If servo number more positive, then the drive motor would have to turn right??, servo will have to turn left to keep tracked. Once camera sevo approaches zero (camera is centered to Robot top), I know they are aligned, now need to track motors while still locked on Foe.

Can I use the the (1 to -1) setings on motor or do I need to read the PWM location? For example, does +1 = PWM 255 (full foward)?

Is outputting '0' to servo motor the same as sending PWM 127 (Centers Motor)?

What is the best way to correlate the servo and drive motor, ie. Servo moves +.1, how much dose drive motor have to drive?

I can read PWM location using PWM-GetValue VI, would I use PWM-SetValue VI to drive motor

Thanx....
Mark
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Motor speed sensing with the Jaguar motor controller? mminutto FRC Control System 5 13-01-2009 18:13
[FTC]: FTC Servo-Motor Problem with Labview dnhansen FIRST Tech Challenge 1 26-10-2008 00:43
Motor to Servo itzrobz Programming 8 02-02-2006 16:11
Problems tracking with CMUCam2 in LabVIEW PhilBot LabView and Data Acquisition 5 17-01-2006 20:42
What's with the New Motor Specs for the Atwood Mobile (Chiaphua) Motor. Robb Gerber Motors 2 23-01-2002 08:58


All times are GMT -5. The time now is 09:01.

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