I am trying to program the Bosch Motor RS3 193-06. We have 2 of the Same Window Motors. I will have to reverse the motor in the Programming or reverse the motor leads on one side… At the Moment am using the “Robotics Project” template.
The Template runs the 4 Motor using PWM0 (Split to 2 motor controllers) and PWM1 (Split to 2 motor controllers).
I have dug around the code some and I have found where the Input to enable the PWM Ports but I do not add/clone any of the current code to add another input to the PWM and the controls. With that Said: How can I add a Camera Feedback via the USB to the Drive Station?
Any Tips an Tricks would be helpful. ~~ Sorry for asking for stupid questions, I’m not used to writing/creating programs with a Click and Drag based interface! I used to hard coding!!! (RobotC, others… ::rtm:: )
The camera feedback is already in the template. The Vision Processing VI has a background loop that serves images to the dashboard. For it to work, you need to run the dashboard and driver station (DS tells the DB what the robot’s address is), and at the bottom of the DB is a selector for Camera choices. USB SW uses roboRIO compression to give better control over camera transmission choices. USB HW simply passes along the camera’s compressed stream, typically meaning a bigger stream, but almost no roboRIO CPU usage.
I didn’t really follow your motor question. Please clarify what you are trying to use the motors for and what portion of the code you are working on. Attached pictures do wonders for a graphical language.
Greg McKaskle
Thanks for the Reply. With regards to the Motors: I was wondering how to add to the existing code more motors for other PWM inputs. I have looked around in the code to see where the inputs are imitated and used, I have found it but I am unsure of how to add more of the PWM Inputs. :yikes: