Go to Post YES!!!!!! I read this and jumped! This is awesome and amazing! Thank you so much Dean Kamen and FIRST!!! YOU ARE AMAZING! - torihoelscher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2013, 20:23
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Beginner mistake with drivetrain setup

Late one night last week, we finally got our practice bot with a working drivetrain. I threw on a simple teleop drive command (we're using C++ with robot builder) using ArcadeDrive. It didn't drive correctly, so I thought the motors were wired backward from WPILib convention. After setting the left motors to inverted, ArcadeDrive worked great.

Later we started autonomous programming and nothing worked right.

It turns out that I originally had the magnitude + direction sticks switched for ArcadeDrive. The motors are wired correctly--WPILib convention must be that both left and right side motors are wired the same way.

Switching the sticks and removing the inverted motors made ArcadeDrive work properly and also all the other driving modes.

If any other beginners are scratching their heads over why the drivetrain doesn't do what it should, I hope this helps!
Closed Thread


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:11.

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