View Single Post
  #13   Spotlight this post!  
Unread 12-02-2015, 13:10
TikiTech's Avatar
TikiTech TikiTech is offline
Mr. H
FRC #3880 (Tiki Techs)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Kailua-Kona, Hawaii
Posts: 252
TikiTech is just really niceTikiTech is just really niceTikiTech is just really niceTikiTech is just really niceTikiTech is just really nice
Re: Drive Train Curves Only While Backing Up

Quote:
Originally Posted by Ozuru View Post
Got it.

We swapped the PWM cables in the RoboRIO (port 0's cables are now in 1 and port 1's cables are now in 0) and now, when reversing, we reverse while curving in the opposite direction. We hooked the output of them up to an oscilloscope and it is showing that one port's PWM is getting more signal than the other although in the code I am giving them the same values. Any ideas?

For example, if I do RobotDrive.tankDrive(-0.5, -0.5) it is producing the PWM similar to RobotDrive.tankDrive(-0.6, -0.5).
Were the motor controllers recalibrated?

Another thing to try is program for ports 1&2 to see if it related to a specific port since the issues are common to port 0

Aloha!
__________________
Team 3880 - "Tiki Techs" "Mr. H" - Tiki Technologies Coach / Mentor
Kealakehe High School Robotics - Kailua-Kona, Hawaii
__________________________________________________ _____________________________
2016 Hopper Division | Orlando Regional Engineering Inspiration Award | Hawaii Regional Chairman's Award & Finalist & Woodie Flowers Finalist
2015 Carson Division | Silicon Valley Regional Engineering Inspiration Award | HI Regional Regional Winners & Engineering Inspiration & Deans List Finalist
2014 Newton Division | Hawaii Regional Engineering Inspiration Award & Deans List Finalist
2013 Newton Division | Inland Empire Regional Regional Chairman's & Creativity Award | Los Angles Regional Engineering Inspiration Award | | HI Regional
2012 Curie Division | Hawaii Regional Engineering Inspiration Award
2011 Newton Division | Hawaii Regional Regional Winners & Industrial Design Award
.
__________________________________________________ _____________________________