09-29-2015 09:36 PM
I'm a high school student working on an ROV project using MyRio. First Tech FRC uses a NI device called a RoboRio with a control system desinged for RoboRio in High School Robotics competitions.
Since I own the MyRio I'm trying to find out if I can use the components of the control system such as the PDP, Modules and Motor Controllers. See the components here, https://wpilib.screenstepslive.com/s/4485/m/24166/l/144968-2015-frc-control-system-hardware-overview...
I'd like to just substitute the MyRio for the RoboRio and use the same control system with labview. This is a personal project and not bound by FRC regulations.
Any advice would be greatly appreciated - Thank you - Steven
10-02-2015 12:15 PM
Hi NavyTech,
To answer your question, the PDP is connected to the motor driver and does care what target you are using, so you should be fine with that. The only issue in this case is that you cannot use the roboRIO API that are normally used, so in this case to control the motors you have program a normal PWM. This is due to the fact the API are programming an specifc hardware, that is different from the MyRIO. I couldn't open the link so I guess that you are using this motor controller:
http://www.roxbotix.org/TalonSRManual.pdf
In this case, you may have to test the PWM to know the direction of the motor. Below you can find a video that shoes how to create a PWM in LabVIEW.
https://www.youtube.com/watch?v=mVN9jfwXleI
regards,