Go to Post It sounded like a good idea, and then I thought about it. :-/ - Wetzel [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 21-01-2014, 17:31
IronBenderII IronBenderII is offline
Registered User
FRC #3859
 
Join Date: Dec 2010
Location: Elk Grove, CA
Posts: 52
IronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond reputeIronBenderII has a reputation beyond repute
Re: We Need Serious Robot Help!

Alexander. We can probably assist you tonight, maybe Skype or Face Time. I will send you a PM with my contact information...
__________________
Jack Covert

Team 3859

wolfpackrobotics.org
Reply With Quote
  #17   Spotlight this post!  
Unread 21-01-2014, 17:33
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Re: We Need Serious Robot Help!

Quote:
Originally Posted by alexander.h View Post
It's because, physically, they are. Go to http://wpilib.screenstepslive.com/s/...control-system and do a ctrl+f to search for "4 Controllers - PWM Cables".
Sorry. I'm used to running a tank drive with four different PWM cables.

If you have anything that you can test power output with, try it on the motor controllers and post it here. That may help us to narrow down possible causes for your problem.
Reply With Quote
  #18   Spotlight this post!  
Unread 21-01-2014, 17:38
alexander.h's Avatar
alexander.h alexander.h is offline
Lead Programmer, Captain, Driver
FRC #3975 (The Dragons)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Montreal, Quebec, Canada
Posts: 261
alexander.h has a spectacular aura aboutalexander.h has a spectacular aura aboutalexander.h has a spectacular aura about
Re: We Need Serious Robot Help!

Quote:
Originally Posted by E Dawg View Post
Sorry. I'm used to running a tank drive with four different PWM cables.

If you have anything that you can test power output with, try it on the motor controllers and post it here. That may help us to narrow down possible causes for your problem.
On the red plus sign of the talon, there's 11 volts. On the other side, it's 0 volts.
__________________



2012 - Rebound Rumble - Montreal Robotics Festival - Qualified 15th - Semifinalists thanks to 3379 and 3710 (Record : 8-8-1)
2013 - Ultimate Ascent - Montreal Robotics Festival - Qualified 33rd - Dean's List Finalist : Yazid Djenadi (Record : 4-8-0)
2014 - Aerial Assist - Montreal Robotics Festival - Qualified 9th (Record : 6-4-1)
2015 - Recycle Rush *** I predicted the game ***

Reply With Quote
  #19   Spotlight this post!  
Unread 21-01-2014, 17:40
Bryce2471's Avatar
Bryce2471 Bryce2471 is offline
Alumnus
AKA: Bryce Croucher
FRC #2471 (Team Mean Machine)
Team Role: Mechanical
 
Join Date: Feb 2013
Rookie Year: 2007
Location: Camas, WA
Posts: 430
Bryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud of
Re: We Need Serious Robot Help!

Does your joystick show up on the driver station?
If it does, is it in the right slot/configuration?
__________________
FLL Team Future imagineers
2010 Oregon State Championships: Winners
2011 International Invite: First place Robot design, Second Place Robot Performance
FRC Team Mean Machine
2012 Seattle: Winning alliance
2013 Portland: Winning alliance
2013 Spokane: Winning alliance
2014 Wilsonville: Winning alliance
2014 Worlds: Deans List Winner
Reply With Quote
  #20   Spotlight this post!  
Unread 21-01-2014, 17:48
Tem1514 Mentor's Avatar
Tem1514 Mentor Tem1514 Mentor is offline
Registered User
FRC #1514
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 239
Tem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to behold
Re: We Need Serious Robot Help!

Quote:
Originally Posted by alexander.h View Post
The PWMs are properly seated. We can still turn the drivetrain by ourselves. How can we tell if the DSC is properly powered (only 2 out of 3 LEDs are on). No, our motors aren't fighting against each other. Does that help?
If don't have all three LED's lighted on the digital sidecar none of your drive motors will work.

So go back to basics and check your wiring. The first place to start is with the digital sidecar and make sure are supplying 12 Volts NOT 5 volts to it. You get
12 volts from a 20 amp breaker on the PDB. Start with that and go forward one step at a time.
Reply With Quote
  #21   Spotlight this post!  
Unread 21-01-2014, 18:02
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: We Need Serious Robot Help!

Quote:
Originally Posted by alexander.h View Post
The colors on the Talons are the same (orange), but two flash and two are solid.
Which 2 are solid? Are they on the same side or different sides?

Flashing orange means the Talon isn't getting any signal. Solid orange means the Talon is getting a signal, but it won't output anything since that signal is 0.

If it's flashing, it could be a code issue or a wiring issue. If it's solid, it's most likely a code issue, since the code has to be the one to send the Talon a signal of 0.

Quote:
Originally Posted by alexander.h View Post
On the red plus sign of the talon, there's 11 volts. On the other side, it's 0 volts.
I don't think this is the issue, but replace your battery with a fully charged one just to be sure.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #22   Spotlight this post!  
Unread 21-01-2014, 18:02
Chris_Ely's Avatar
Chris_Ely Chris_Ely is offline
Registered User
AKA: luckof13
FRC #3414 (HackBots)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Farmington, Michigan
Posts: 366
Chris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond repute
Re: We Need Serious Robot Help!

Check your wiring.
All power should be wired according to this diagram.
All data (PWM, camera, and sensors) should be wired according to this diagram.
__________________
2013: Waterford Finalist, Livonia Winner, MSC Quarterfinalist, Curie Division
2012: Waterford, Northville, Livonia
2011: Waterford Finalist, Livonia
2010: Ann Arbor Rookie Inspiration Award, Troy

Mechanical Engineering Student,
Michigan Technological University
Reply With Quote
  #23   Spotlight this post!  
Unread 21-01-2014, 18:09
chris.boyle's Avatar
chris.boyle chris.boyle is offline
Programming Mentor
FRC #0068 (Truck Town Thunder)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Truck Town Thunder (Brandon)
Posts: 36
chris.boyle is on a distinguished road
Re: We Need Serious Robot Help!

I suspect that since you opened two instances of the drive system, they were competing with each other.

I'm enclosing a VI that shows how we opened our Joystick and the Archade Drive System using 4 motors. The code only identifies a 2 motor drive system, the "Y" cable from PWM1 goes to both motor controllers on the left side and the "Y" cable from PWM2 goes to both motor controllers on the right side. All motor control's MUST be of the same type; ie: Talon, Victor, Jaguar.
Attached Files
File Type: vi ArchadeDriveSystem.vi (18.1 KB, 6 views)
__________________
2014 Chairman's Award--Michigan State Championship
2014 Chairman's Award--Waterford District
2014 Winner--Great Lakes Bay District
2013 Chairman's Award--Kettering District
2012 Championship Division Finalists--Thanks 330 and 639
Reply With Quote
  #24   Spotlight this post!  
Unread 21-01-2014, 18:37
AGPapa's Avatar
AGPapa AGPapa is offline
Registered User
AKA: Antonio Papa
FRC #5895
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Robbinsville, NJ
Posts: 323
AGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond repute
Re: We Need Serious Robot Help!

Quote:
Originally Posted by chris.boyle View Post
I suspect that since you opened two instances of the drive system, they were competing with each other.
This is almost certainly the problem.

You only need to have one drive system, the default arcade drive code works fine for your application and did not need to be changed.

I've attached a photo if you don't want to download Chris's code.
Attached Thumbnails
Click image for larger version

Name:	Chris.JPG
Views:	34
Size:	50.6 KB
ID:	15904  
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]
Reply With Quote
  #25   Spotlight this post!  
Unread 21-01-2014, 18:40
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,602
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: We Need Serious Robot Help!

Quote:
Originally Posted by alexander.h View Post
I followed your advice, but it still doesn't work.
What did you do? When you removed the DB-37 cable, which power LEDs (if any were still lit). List them by name. How did you verify power to a 20 amp breaker on the PDB? Find a mentor who is proficient with a multi-meter to verify 12 volts at the Digital Sidecar power connector.

Your programming is also wrong, as pointed out by other people. However, do not ignore the power LEDs on the Digital Sidecar, even if the software changes "fix" your immediate problem. You need to get the Digital sidecar power fixed or else you will have more problems down the road.

Last edited by Joe Ross : 21-01-2014 at 18:45.
Reply With Quote
  #26   Spotlight this post!  
Unread 21-01-2014, 21:59
John's Avatar
John John is offline
Registered User
AKA: John Gillespie
FRC #1153 (Roborebels)
Team Role: Mechanical
 
Join Date: Sep 2011
Rookie Year: 2009
Location: Walpole MA
Posts: 71
John is just really niceJohn is just really niceJohn is just really niceJohn is just really niceJohn is just really nice
Re: We Need Serious Robot Help!

Quote:
Originally Posted by AGPapa View Post
This is almost certainly the problem.

You only need to have one drive system, the default arcade drive code works fine for your application and did not need to be changed.

I've attached a photo if you don't want to download Chris's code.
The code is the a problem. You are commanding the same motor to go forward and reverse at once, making it not move.

This is actually not a direct result of using two drive systems (they cannot fight each other, drive one only uses PWM 1 and drive two PWM 2). The problem is because you have configured the left and right motors on each drive to feed to the same PWM, and then inverted one of them.

So your code works like this (when you go forward).
-->Get joystick value (1)
-->Set leftmotor to inverted joystick value (-1)
-->Set rightmotor to noninverted joystick value (1)
-->Left motor is PWM 1, set PWM 1 to value of -1
-->Right motor is PWM 1, set PWM 1 to value of 1

Nothing ever happens because you make the motors go full forward and full backward as fast as the code can execute.

Use Chris's code, but modify it for 4 talons (or use y-cables)

Last edited by John : 21-01-2014 at 22:07. Reason: I should not have presumed that this is the only problem.
Reply With Quote
  #27   Spotlight this post!  
Unread 22-01-2014, 08:21
alexander.h's Avatar
alexander.h alexander.h is offline
Lead Programmer, Captain, Driver
FRC #3975 (The Dragons)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Montreal, Quebec, Canada
Posts: 261
alexander.h has a spectacular aura aboutalexander.h has a spectacular aura aboutalexander.h has a spectacular aura about
Re: We Need Serious Robot Help!

Quote:
Originally Posted by Bryce2471 View Post
Does your joystick show up on the driver station?
If it does, is it in the right slot/configuration?
Yes and yes again.
__________________



2012 - Rebound Rumble - Montreal Robotics Festival - Qualified 15th - Semifinalists thanks to 3379 and 3710 (Record : 8-8-1)
2013 - Ultimate Ascent - Montreal Robotics Festival - Qualified 33rd - Dean's List Finalist : Yazid Djenadi (Record : 4-8-0)
2014 - Aerial Assist - Montreal Robotics Festival - Qualified 9th (Record : 6-4-1)
2015 - Recycle Rush *** I predicted the game ***

Reply With Quote
  #28   Spotlight this post!  
Unread 22-01-2014, 08:22
alexander.h's Avatar
alexander.h alexander.h is offline
Lead Programmer, Captain, Driver
FRC #3975 (The Dragons)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Montreal, Quebec, Canada
Posts: 261
alexander.h has a spectacular aura aboutalexander.h has a spectacular aura aboutalexander.h has a spectacular aura about
Re: We Need Serious Robot Help!

Quote:
Originally Posted by Tem1514 Mentor View Post
If don't have all three LED's lighted on the digital sidecar none of your drive motors will work.

So go back to basics and check your wiring. The first place to start is with the digital sidecar and make sure are supplying 12 Volts NOT 5 volts to it. You get
12 volts from a 20 amp breaker on the PDB. Start with that and go forward one step at a time.
Thanks, all three are on now, but what do i do next?
__________________



2012 - Rebound Rumble - Montreal Robotics Festival - Qualified 15th - Semifinalists thanks to 3379 and 3710 (Record : 8-8-1)
2013 - Ultimate Ascent - Montreal Robotics Festival - Qualified 33rd - Dean's List Finalist : Yazid Djenadi (Record : 4-8-0)
2014 - Aerial Assist - Montreal Robotics Festival - Qualified 9th (Record : 6-4-1)
2015 - Recycle Rush *** I predicted the game ***

Reply With Quote
  #29   Spotlight this post!  
Unread 22-01-2014, 08:23
alexander.h's Avatar
alexander.h alexander.h is offline
Lead Programmer, Captain, Driver
FRC #3975 (The Dragons)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Montreal, Quebec, Canada
Posts: 261
alexander.h has a spectacular aura aboutalexander.h has a spectacular aura aboutalexander.h has a spectacular aura about
Re: We Need Serious Robot Help!

Quote:
Originally Posted by cgmv123 View Post
Which 2 are solid? Are they on the same side or different sides?

Flashing orange means the Talon isn't getting any signal. Solid orange means the Talon is getting a signal, but it won't output anything since that signal is 0.

If it's flashing, it could be a code issue or a wiring issue. If it's solid, it's most likely a code issue, since the code has to be the one to send the Talon a signal of 0.



I don't think this is the issue, but replace your battery with a fully charged one just to be sure.
My bad, all three are now and changing the battery doesn't work either.
__________________



2012 - Rebound Rumble - Montreal Robotics Festival - Qualified 15th - Semifinalists thanks to 3379 and 3710 (Record : 8-8-1)
2013 - Ultimate Ascent - Montreal Robotics Festival - Qualified 33rd - Dean's List Finalist : Yazid Djenadi (Record : 4-8-0)
2014 - Aerial Assist - Montreal Robotics Festival - Qualified 9th (Record : 6-4-1)
2015 - Recycle Rush *** I predicted the game ***

Reply With Quote
  #30   Spotlight this post!  
Unread 22-01-2014, 08:34
magnets's Avatar
magnets magnets is offline
Registered User
no team
 
Join Date: Jun 2013
Rookie Year: 2012
Location: United States
Posts: 748
magnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond repute
Re: We Need Serious Robot Help!

We really need pictures to help you. Somebody on your team must have an iphone with camera who would be willing to take a picture for you.

Anyway, the flashing orange light on the talon means the talon has power, but no signal. If you're using the code posted earlier, which is correct, and you followed joe's advice to remove all cables but the power one and confirmed that all three leds are lit, then you need to check your pwm cable. Is it plugged in the right way? Try flipping the connector. Is it plugged in all the way?

The solid orange light means that your code is wrong (make sure you copy what was posted) or your driver station isn't recognizing your joystick. Under the diagnostic tabs, what color does the joystick 1 indicator turn when you push a button?
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 16:20.

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