View Single Post
  #4   Spotlight this post!  
Unread 01-03-2015, 22:05
RobOTies RobOTies is offline
Registered User
FRC #5122
 
Join Date: Mar 2015
Location: Old Town, ME
Posts: 3
RobOTies is an unknown quantity at this point
Re: JAVA code to drive straight using H-drive

Thank you for the suggestions! We did put encoders on both gearboxes before we bagged up, but we weren't sure how to use them with PIDs. Any tips on setting the constant values if we try using velocity? Will that work in auto since the robot would not be getting input from a joystick?

I'm a little confused about how to control the voltages independently for each axis because we use arcade drive. Is there another drive class that would work better for this task?

We will check the gyro when we unbag - thank you for that tip!
Reply With Quote