View Single Post
  #4   Spotlight this post!  
Unread 27-01-2015, 14:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,833
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