Recently I built a robot that has one motor in the front that pivots the 2 wheels in the front to steer (like a car) and 2 motors in the back to make it move. So my best guess was to have a steeringpilot control the motors but it's constructor accepts only 2 motors. I was wondering if there's an easy way to treat those 2 Regulatedmotors like one big synchronous RegulatedMotor so it can be passed to the steeringpilot. If there's no easy way how would I go about writing a new class for this, e.g.: writing a new class implementing the nxtregulatedmotor interface that passes it's method's to 2 motors? Or manually controlling the remaining motor by copying the values from the working motor on listener events?
I hope somebody already thought about this and made a solution because i'm just starting out with Java and my skills are very very basic. Therefore if I said something incredibly stupid in this post please correct me so I can learn something from it.
