To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to uses Cartesian Coordinate Rotation to rotate a Cartesian coordinate by 45 degrees.
Description
This example uses Cartesian Coordinate Rotation to rotate the Cartesian coordinate output of a joystick or joystick emulator by 45 degrees. This aligns the output with a two motor tank drive robot such as the type that can be built with the Lego Mindstorms NXT kit. The example also performs a "saturation check" to ensure that the outputs do not exceed a preset value.
This example works well with the joystick emulator on the community. Simply wire the joystick position into this example VI to create a tank drive program that can be controlled from the joystick emulator.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
can you post a 8.5 version for those of us in the FIRST community?
8.5 version uploaded. Enjoy!
LV still says it's 8.6!
Should be fixed now. Let me know if it works.
It does! Thanks!