View Single Post
  #2   Spotlight this post!  
Unread 06-02-2016, 15:39
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,242
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Any help appreciated

I don't know Java, but my guess is skip using robotdrive.motortype. That class presumes 4 control signals, whereas you only have 2.

Use robotdrive(left channel, right channel) to set your motor channels.

Also, I presume you are using one motor controller per motor, and splitting the Pwm signal. You can't drive 2 cim motors with one controller.