Go to Post Is any robot ever actually done? - BlondeNerd [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 27-01-2015, 10:25
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Two Motors one PWM help?

Quote:
Originally Posted by notmattlythgoe View Post
This unfortunately is not legal, each motor controller must be hooked up to one port.
Matt,
R57 Every relay module, servo, and PWM motor controller shall be connected to a corresponding port (relays to Relay ports, servos and PWM controllers to PWM ports) on the roboRIO or via a legal MXP connection (per R58). They shall not be controlled by signals from any other source.

This actually provides that no other source can be used to provide control for the listed devices except the RoboRio. This is safety issue in that we know the RoboRio can be disabled/enabled via the FMS. Other devices likely would not provide this level of control and might cause robot movement when the robot is disabled. That is the underlying reason, active MXP boards must be pre-approved by FIRST Engineering.

To the OP, how are your two motors designed to operate? Are they connected together on a mechanism? Can you tell us what indications on the motor controllers are present?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2015, 10:26
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is online now
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,717
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Two Motors one PWM help?

Quote:
Originally Posted by Al Skierkiewicz View Post
Matt,
R57 Every relay module, servo, and PWM motor controller shall be connected to a corresponding port (relays to Relay ports, servos and PWM controllers to PWM ports) on the roboRIO or via a legal MXP connection (per R58). They shall not be controlled by signals from any other source.

This actually provides that no other source can be used to provide control for the listed devices except the RoboRio. This is safety issue in that we know the RoboRio can be disabled/enabled via the FMS. Other devices likely would not provide this level of control and might cause robot movement when the robot is disabled. That is the underlying reason, active MXP boards must be pre-approved by FIRST Engineering.

To the OP, how are your two motors designed to operate? Are they connected together on a mechanism? Can you tell us what indications on the motor controllers are present?
Jefferson, thanks for the correction.

Al, thanks for the verification.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2015, 14:30
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 69
RoboBucs is an unknown quantity at this point
Re: Two Motors one PWM help?

Quote:
Originally Posted by Al Skierkiewicz View Post
Matt,
R57 Every relay module, servo, and PWM motor controller shall be connected to a corresponding port (relays to Relay ports, servos and PWM controllers to PWM ports) on the roboRIO or via a legal MXP connection (per R58). They shall not be controlled by signals from any other source.

This actually provides that no other source can be used to provide control for the listed devices except the RoboRio. This is safety issue in that we know the RoboRio can be disabled/enabled via the FMS. Other devices likely would not provide this level of control and might cause robot movement when the robot is disabled. That is the underlying reason, active MXP boards must be pre-approved by FIRST Engineering.

To the OP, how are your two motors designed to operate? Are they connected together on a mechanism? Can you tell us what indications on the motor controllers are present?
We used a wire splitter to connect two of the four talon drive motors we have to a single PWM. Again I believe the wiring is fine, here some pocture of what we have in labview.
[IMG][/IMG]
[IMG][/IMG]
[IMG][/IMG]
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2015, 14:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Two Motors one PWM help?

A few things are wrong here.

If all four of these motors are for driving, then you need some consistency.
Either:
  1. Change Open 2 Motor to Open 4 Motor in Begin and use 4 PWM outputs
  2. Or keep Open 2 Motor and use PWM Y splitters on both sides of your drive train
The immediate things wrong with what you are doing:
PWM 0 and PWM 1 are signals for opposite sides of the drive train. So those are where your two splitters should come from. One splitter for each side.
The Arcade Drive is mixing the joystick x/y to produce the correct PWM0 & 1 outputs. The Dual Motors isn't compatible that that.

Motor Set Output has an incorrect wire.
The one with the red dot needs to be removed.
It looks like you are trying to treat it like Arcade Drive. It isn't.

There are duplicates for Robot Drive Motors, Joystick 1/Axes/Buttons, etc. setting every one of these in two places. Only one will win.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-01-2015 at 14:55.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2015, 17:21
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 69
RoboBucs is an unknown quantity at this point
Re: Two Motors one PWM help?

Quote:
Originally Posted by Mark McLeod View Post
A few things are wrong here.

If all four of these motors are for driving, then you need some consistency.
Either:
  1. Change Open 2 Motor to Open 4 Motor in Begin and use 4 PWM outputs
  2. Or keep Open 2 Motor and use PWM Y splitters on both sides of your drive train
The immediate things wrong with what you are doing:
PWM 0 and PWM 1 are signals for opposite sides of the drive train. So those are where your two splitters should come from. One splitter for each side.
The Arcade Drive is mixing the joystick x/y to produce the correct PWM0 & 1 outputs. The Dual Motors isn't compatible that that.

Motor Set Output has an incorrect wire.
The one with the red dot needs to be removed.
It looks like you are trying to treat it like Arcade Drive. It isn't.

There are duplicates for Robot Drive Motors, Joystick 1/Axes/Buttons, etc. setting every one of these in two places. Only one will win.
YES it worked!!! Thank you so much!
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 08:53.

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