Go to Post Hey people, I found out the answer to my question and that one guy eric is right all you have to do is read the manual. The rules are in chapter 7.3.5.1, sections - .:) - ronald [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2016, 20:28
nhalstead's Avatar
nhalstead nhalstead is offline
Noah H
FRC #5420 (Velocity)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: New Jersey
Posts: 13
nhalstead is an unknown quantity at this point
Red face Programming the Bosch Motor 6004 RA3 194-06

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...... )
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2016, 08:31
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Programming the Bosch Motor 6004 RA3 194-06

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
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2016, 20:02
nhalstead's Avatar
nhalstead nhalstead is offline
Noah H
FRC #5420 (Velocity)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: New Jersey
Posts: 13
nhalstead is an unknown quantity at this point
Red face Re: Programming the Bosch Motor 6004 RA3 194-06

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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:18.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi