Go to Post Leaders are those whom inspire people; a good mentor inspires students. - Jeffy [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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
  #14   Spotlight this post!  
Unread 12-02-2016, 19:46
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,844
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: PWM

There is a little anomaly in Begin.vi with both
- the constants for PWM 0 and PWM 1, and
- the Inverted flags

They still have the labels from previously being part of an Open 2 Motor.
I'd recommend that you delete those four constants and do a create constant for them again.

After you've gotten new constants there, turn on the label for each of them by hovering the cursor over them and right-clicking to get the popup menu and choosing Visible Items -> Label (You can drag the labels around to better places too if you would like.)
With the Open 4 Motor there are also two more Inverts located along the bottom edge of the Open 4 icon that you need to create constants (and labels) for.

An issue is that because you had constants left over from the 2 Motor, they reverse only one of the motors on the left side (I think the left rear). So the left side motors would be fighting each other.

So, make sure to Invert both Left side motors (make them T for true).
If when you test the robot you find that the front and back are reversed, then just reverse all the Inverts and make the Left side motors False and the right side motors True.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-02-2016 at 19:53.
Reply With Quote
 


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 01:02.

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