Mecanum 2.0 code samples

We’ve got our kit basically together, and have run sketch#1, and it is working for the front wheels.

Are there any additional sample sketches specific to the mecanum wheeled rover 2.0 that you can refer us to?
What are the pins for the rear wheels, so we can alter sketch #1?

Thanks.

Sorry, will check Sketch #3 - don’t know how I missed that.
Would be interested in seeing some collision avoidance sketches with an IR or Sonar, if any are available - any suggestions?

The Mecanum kit has the second motor controller; if you have the Sparkfun version (red PCB), the pins to assign are 3, 11, 12 and 13. If you have the DFRobotShop Rover version, the pins are the same as those in the sample code, and they are marked on the PCB itself (M1, E1, M2, E2).

We’d like to work on additional code, but we have so many new versions of the DFRobotShop Rover in the queue that we need to finish the sample code for those first. The Mecanum version was only the start of many DFRobotShop Rover versions which all use the same PCB. Not to worry - there will be upgrade kits as well if you purchased a V1, V1.5 or V2.