I’ve been working on inplementing gyro into our mecanum drive robot and as far as I can tell it seems fairly simple. once you establish the gyro object the .driveCartesian function asks for a gyro angle. Is it really as simple as running gyro.getAngle() and plugging that value into the function, or is there more to it?
The documentation states " degrees around the Z axis" which makes it seem like there might be some background process involving your z axis controller input.
If anyone could clear this up that would be great.
Most controller’s don’t have 3 dimensions of movement so you can’t literally have x, y, & z values to pass. What you can do is use a standard 2-axis joystick (x, y) for translation and the x-axis of another joystick for that z value.