Go to Post Look guys, I am telling you for the fourth time - you are NEVER going to earn your official "Geek" certificates if you keep spelling "pwned" with an "O" in it! - dlavery [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
  #16   Spotlight this post!  
Unread 25-01-2015, 01:24
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,570
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Random questions from first year programmer

Quote:
Originally Posted by Commando386 View Post
To talk about how the motors are backwards I agree how setup might be backwards as it has happened to me but also make sure that the electrical wiring is not backwards. I can't really explain it well as I am Software Lead and not Electrical Lead. If not you could always insert a negative block (It's under Numerical and it has a -x on it) and attacth it to you inputs and it will flip your Y-axis controls (forwards and backwards) and that should fix it software wise. Also a note that in autonomous coding forward is negative and backwards is positive values. I have always run into this situation in the old labview and the new one.
If you do have the motors swapped, it can be fixed in at least three ways as I believe the post above was trying to explain:
  1. Software (swap left and right port numbers or variables in the code)
  2. Controls (swap one end of the PWM cables, either the controller or the RIO)
  3. motors - swap the wiring from motor to controller at one end
  4. Actually, you could physically swap the motors along with the wires, but that would be more work than necessary
Reply With Quote
  #17   Spotlight this post!  
Unread 26-01-2015, 19:21
Wawa's Avatar
Wawa Wawa is offline
Wawa
FRC #3659 (Mighty Patriots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Miami
Posts: 30
Wawa is an unknown quantity at this point
Re: Random questions from first year programmer

Thanks guys! I went down the list of possible issues and it turns out the motors weren't connected to the right controllers. I swapped the positions of the PWM cables and it worked perfectly!

Thank you all so much!
__________________
Our Plan B is our Plan A.
Reply With Quote
  #18   Spotlight this post!  
Unread 08-02-2015, 22:01
Wawa's Avatar
Wawa Wawa is offline
Wawa
FRC #3659 (Mighty Patriots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Miami
Posts: 30
Wawa is an unknown quantity at this point
Re: Random questions from first year programmer

Alright, so programming has run pretty smoothly. I've got everything for teleop set and running perfectly, thanks to all of you wonderful people. This will probably be my one of my last questions:

How do I program pneumatics and another motor(for the arm) in autonomous?

I can figure out the driving through all the examples, but I can't find a lot on pneumatics and extra motors.
__________________
Our Plan B is our Plan A.
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:00.

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