View Single Post
  #14   Spotlight this post!  
Unread 12-02-2015, 13:58
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: Drive Train Curves Only While Backing Up

Thanks for all of the replies so far everyone.

I'm not there testing but have someone else testing. I'm going to be recalibrating them (and consequently posting here with my findings) sometime around 3 PM EST today. Maybe I'm interpreting the oscilloscope wrong -- here are the images I received. Linking to rather than embedding the pictures because they're massive.

Oscilloscope Reading #1
Oscilloscope Reading #2

The readings are from the PWM signals with the ports swapped running the very basic code below I wrote to confirm it wasn't a programming issue.

As for my code testing this, I literally just created a new IterativeRobot I just did:

Code:
RobotInit() {
Talon t = new Talon(0);
Talon t2 = new Talon(1);
RobotDrive rDrive = new RobotDrive(t, t2);
} 

TeleopPeriodic() {
rDrive.tankDrive(-1, -1);
}
and this causes the curvature we're seeing. I have a more complex method in my actual robot code for CommandBased but, seeing as it curves with that basic code, I concluded that it was probably not my code.