Coding X drive

I need help coding an X drive… my team doesn’t really have a coder or someone who knows how, we have a normal 4 wheel drive train but are struggling to code an X drive on top of the 4 wheel drive… (4 wheel on the left joystick and strafing and normal X drive functions on the right) we are able to do this due to the slight angle of our wheels

A picture of your drive would help, but have you looked at youtube and jhawks x drive. @9MotorGang would probably know more than me about x drives.

This code was originally intended for mechanum wheels but should still work fine here with a bit of tuning to your robot.

Umm… code originally written by Cody Smith for X-drive?
Holonomic drives 2.0: A video tutorial by Cody - VEX V5 General Discussion / General Forum - VEX Forum
The thing that both X-drive programs have in common is the speed of each motor is Y component, X component, Rotation

I hope this helped! If you need any assistance with making the code work on your robot just ask me and I can probably help!

I understand that I may not be crediting the original author of the code, however I was doing the best I could by citing my source. I was desperate for a working mechanum wheel driver control when I found the code last year and crediting the original author wasn’t exactly my biggest priority. I also never even stated that I made the code, in the image I gave credit to muradmalik (Murad Malik) who at the time I assumed made the code I found the code on Mecanum Drive Coding on VEXCode Blocks, which as you can see from the name was a topic regarding mechanum wheels, and therefore I assumed the code was originally made for mechanum wheels, it also worked with mechanum wheels so I had no reason to doubt that it was. I was just trying to be helpful to somebody who is in a very stressful situation that I have been, and currently am, in multiple times. I understand how very stressful it is to not know much about coding and then have to code something that could make even some skilled coders give up, and then if you don’t code it your team will probably fail(not saying his robot is bad just that coding is very important). That kind of situation puts very high levels of pressure & stress on people, especially if you’re the only coder. I would only wish the levels of pressure & stress that occur in that situation apon my worst enemies. So again, I am sorry if I didn’t credit the original author of the code, however I do not see how me crediting the person I got the code from instead of the original author is a high enough level of malice to outweigh the fact I was attempting to help somebody who is in a extremely stressful situation I have been in multiple times and therefore sympathize with. So I am sorry that I may not have credited the original author, however I also don’t really care

Okay sorry, I admit my post didn’t contribute much to the conversation.

Yeah, I can’t really tell from the original post what the drivetrain looks like.

So is the drivetrain an X-drive but the angle of the wheels more similar to a tank drive? You can still use the normal X-drive code posted above.