Go to Post In my opinion, the hardest part of the competition is not that actual manufacture of the robot, but the design process. It is the enginners that go through the design process all the time that will have the edge in this competition, not the best machinist. - Wetzel [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 19-02-2016, 15:02
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Programming issues

Quote:
Originally Posted by Unexas View Post
We used the default roborio project to test with and 1 motor spun. We have a splitter coming from PWM 0 and 1 going to 2 victors on each side.
If a motor ran without being commanded to by your program, it sounds like you might have at least one of your Victors wired backwards. Power goes to the V+ and V- terminals, and the M+ and M- terminals go to the motor. If you had the motor terminals connected to battery power, you've probably fried the Victor and it'll take an expert to have a chance of repairing it.

Quote:
We used a Arduino to send the PWM signal to the motor controllers while they are on the robot...
That violates the robot rules. You may only connect motor speed controller PWM inputs to the PWM outputs of the RoboRIO. I can't help you further until you have wired the robot in a way can pass inspection.

You didn't mention the switch that I saw in the code. The programming for that switch was definitely going to break the program completely. Take out all of the related code and get the motors running first.

You said you're using Victors. Those are notoriously difficult to get the PWM connector properly plugged in. If the LED on the Victor is still blinking when you enable the robot, either it isn't connected right or you have failed to initialize the PWM output it's connect to.
Reply With Quote
 


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:21.

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