Go to Post There's "FIRST the organization" and then there's "FIRST the vision for the future through a set of ideals". I've grown somewhat skeptical of the former in recent years, but, after 10 years, I'd still throw myself in front of a bus for the latter. - Rich Kressly [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-11-2016, 22:39
Jonathan L. Jonathan L. is offline
Registered User
FRC #1094
 
Join Date: Jan 2013
Location: St. Louis MO
Posts: 60
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Need Mercanum Help

The TeleOp programming should be straightforward as described above. To your question about the different motor controllers.

There is not a ton of difference between the PWM signals used for different motor controllers. However, I would recommend re-calibrating all the motor controllers (really with any motor but) especially with option 1 below. Also, there may be a difference with linearity and I'm not sure how much software helps.

1. In the Begin VI use the Open 4 motors VI. On the drop-down menu below the VI select either Talons or Jaguars. Re-calibrate ALL motor controllers with THE SAME motor controller selected.

2. Use the same Open 4 motors VI but select Existing Motors from the drop-down. You can then wire in individual motor references, selecting the appropriate motor controllers for each motor.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-11-2016, 23:15
GeeTwo's Avatar
GeeTwo GeeTwo is online now
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,512
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Need Mercanum Help

Quote:
Originally Posted by Jonathan L. View Post
There is not a ton of difference between the PWM signals used for different motor controllers.
Except Jaguars. Talons and Victors and SPARKs and SD540s are practically interchangeable unless you're working at the edge of the envelope, but Jaguars use a different span of pulse widths than the others; be sure that you use the jaguar objects to control jaguars and talon objects to control talons. Calibration of the motor controllers is particularly important if you do NOT have an encoder on each wheel; if you are using encoders*, this should automatically compensate for any minor mis-calibration.

* I have read posts of teams who depend strongly on feed-forward and provide high values for P and D in their PID loops but leave I at zero, even for velocity control. I am not sure through any experience if this statement is true if you use the encoders this way, but my back-of-the-envelope figuring seems to indicate that this would still compensate for minor mis-calibration.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
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 20:41.

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