Go to Post "Programming is 1% talent and 99% not getting distracted by the Internet." - FRC4ME [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 15-11-2016, 15:56
BlackKnight219 BlackKnight219 is offline
Registered User
FRC #4809
 
Join Date: Nov 2016
Location: Marceline, Mo
Posts: 2
BlackKnight219 is an unknown quantity at this point
Need Mercanum Help

We are trying to program a mercanum drive prototype and only have two Talons and two Jaguars. How can we program it to run using these motor controllers? Help is much appreciated.
Thanks,
Team 4809
Reply With Quote
  #2   Spotlight this post!  
Unread 15-11-2016, 18:36
solomondg solomondg is offline
Registered User
FRC #2898 (Flying Hedgehogs)
Team Role: Programmer
 
Join Date: Aug 2016
Rookie Year: 2016
Location: Portland, Oregon
Posts: 7
solomondg is an unknown quantity at this point
Re: Need Mercanum Help

Here's a document that might help you out:
https://www.chiefdelphi.com/media/papers/download/2934
Reply With Quote
  #3   Spotlight this post!  
Unread 15-11-2016, 18:39
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 482
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Need Mercanum Help

Is mercanum a new drive system, or yet another misspelling of mecanum? If it is a misspelling, check out Ether's mecanum analysis here. If it's a new drive system, I've never heard of it so good luck.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote
  #4   Spotlight this post!  
Unread 15-11-2016, 18:44
BlackKnight219 BlackKnight219 is offline
Registered User
FRC #4809
 
Join Date: Nov 2016
Location: Marceline, Mo
Posts: 2
BlackKnight219 is an unknown quantity at this point
Re: Need Mercanum Help

Okay, thanks. Hopefully this helps.
Reply With Quote
  #5   Spotlight this post!  
Unread 16-11-2016, 12:20
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Need Mercanum Help

If you're using labview, it's already programmed in. See the 'Holonomic Drive' vi
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #6   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: 59
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
  #7   Spotlight this post!  
Unread 20-11-2016, 23:15
GeeTwo's Avatar
GeeTwo GeeTwo is offline
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,494
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 02:32.

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