View Single Post
  #2   Spotlight this post!  
Unread 16-01-2017, 13:21
forbes's Avatar
forbes forbes is offline
Software developer
AKA: Evan Forbes
FRC #3507 (Ubotics), 694 (StuyPulse)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2012
Location: New York City
Posts: 161
forbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to behold
Re: Java coding help

It's hard to tell with the formatting, but did you set the motor controller values within the RobotBase update method?

I'd also recommend skipping the d_LeftDriveMotor & d_RightDriveMotor variables and just have the update method take in two double parameters and set the motor controller values directly to prevent errors like this.
Reply With Quote