Go to Post Its easier to solve a problem when you have a positive attitude about it. - Arefin Bari [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 06-02-2013, 16:05
ohhs4284 ohhs4284 is offline
Registered User
FRC #4284
 
Join Date: Jan 2013
Location: Cicinnati
Posts: 11
ohhs4284 is an unknown quantity at this point
Exclamation When deploying code in NetBeans it hangs.

When we deploy our code in netbeans we go through the normal upload process until it gets to this.

Quote:
[cRIO] edu.wpi.first.wpilibj.networktables2.server.Server ConnectionAdapter@8 entered connection state: GOT_CONNECTION_FROM_CLIENT
[cRIO] edu.wpi.first.wpilibj.networktables2.server.Server ConnectionAdapter@8 entered connection state: CONNECTED_TO_CLIENT
From here it just hangs and never completes. We have flashed the Crio multiple times and re-installed netbeans and the plugins.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2013, 16:10
ohhs4284 ohhs4284 is offline
Registered User
FRC #4284
 
Join Date: Jan 2013
Location: Cicinnati
Posts: 11
ohhs4284 is an unknown quantity at this point
Re: When deploying code in NetBeans it hangs.

On a side note we have ended the build in netbeans and have both green lights on communication and robotcode but the jags blink and nothing else seems to work.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2013, 16:32
Team3266Spencer's Avatar
Team3266Spencer Team3266Spencer is offline
Team Captain and Lead Programmer
AKA: Spencer Lanman
FRC #3266 (Robots-R-US)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Richmond, Indiana
Posts: 280
Team3266Spencer is an unknown quantity at this point
Re: When deploying code in NetBeans it hangs.

Does it not enable?
__________________
2012: Buckeye Regional, Queen City Regional, Human Player
2013: Queen City Regional, Buckeye Regional, Crossroads Regional
Shooter Operator
2014: Crossroads Regional, Queen City Regional
Catapult Operator
2015: Georgia Southern Classic Regional (Winner), Queen City Regional
Chainsaw Operator
Want to talk? TeamSpeak: team3266.noip.me
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2013, 16:36
ohhs4284 ohhs4284 is offline
Registered User
FRC #4284
 
Join Date: Jan 2013
Location: Cicinnati
Posts: 11
ohhs4284 is an unknown quantity at this point
Re: When deploying code in NetBeans it hangs.

I can enable but the jags blink yellow.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2013, 15:42
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: When deploying code in NetBeans it hangs.

Quote:
Originally Posted by ohhs4284 View Post
I can enable but the jags blink yellow.
thats the final stage of the deployment process, its finished, you initialized the jags in the wrong PWM slot in the code
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2013, 14:41
2185Bilal's Avatar
2185Bilal 2185Bilal is offline
Driver, Ld. Programmer, Electrical
AKA: Bilal Majeed
FRC #2185 (Ramazoidz)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Toronto, Canada
Posts: 110
2185Bilal will become famous soon enough
Re: When deploying code in NetBeans it hangs.

Quote:
Originally Posted by ohhs4284 View Post
I can enable but the jags blink yellow.
we have the same problem, either you initialized the jags in the wrong PWM slot in the code, as Arhowk said but most of the time the problem is that you wired the PWM cables wrong. What we do is flip the PWM cables and it works because up till now our electrical team (including me) dont know which way the cables go (black on the inside or outside......no idea).

Hope it helped
__________________
RAMAZOIDZ

2009 Toronto West Regional - Regional Winners
2009 Waterloo Regional - Regional Winners
Reply With Quote
  #7   Spotlight this post!  
Unread 09-02-2013, 16:52
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: When deploying code in NetBeans it hangs.

Quote:
Originally Posted by 2185Bilal View Post
we have the same problem, either you initialized the jags in the wrong PWM slot in the code, as Arhowk said but most of the time the problem is that you wired the PWM cables wrong. What we do is flip the PWM cables and it works because up till now our electrical team (including me) dont know which way the cables go (black on the inside or outside......no idea).

Hope it helped
From my experience, if PWM cables are backwards than the robot will go forwards instead of backwards than stall instead of going forwards
Reply With Quote
  #8   Spotlight this post!  
Unread 10-02-2013, 08:05
2185Bilal's Avatar
2185Bilal 2185Bilal is offline
Driver, Ld. Programmer, Electrical
AKA: Bilal Majeed
FRC #2185 (Ramazoidz)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Toronto, Canada
Posts: 110
2185Bilal will become famous soon enough
Re: When deploying code in NetBeans it hangs.

Quote:
Originally Posted by Arhowk View Post
From my experience, if PWM cables are backwards than the robot will go forwards instead of backwards than stall instead of going forwards
I am pretty sure you are mistaken sir, not to be mean at all. When the pwm cables are wired backwards the signal wire plugs into the ground slot while the ground slot goes to signal wire. So there is no possible that this mistake would make the robot go in the opposite way.

However, i think u might be talking about switching the wires from the motors to the jaguar. Meaning that u switch the arrangement so that positive goes in the negative place. When this is done u are right it makes the motors go in the opposite way.
__________________
RAMAZOIDZ

2009 Toronto West Regional - Regional Winners
2009 Waterloo Regional - Regional Winners
Reply With Quote
  #9   Spotlight this post!  
Unread 10-02-2013, 12:11
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: When deploying code in NetBeans it hangs.

Quote:
Originally Posted by 2185Bilal View Post
I am pretty sure you are mistaken sir, not to be mean at all. When the pwm cables are wired backwards the signal wire plugs into the ground slot while the ground slot goes to signal wire. So there is no possible that this mistake would make the robot go in the opposite way.

However, i think u might be talking about switching the wires from the motors to the jaguar. Meaning that u switch the arrangement so that positive goes in the negative place. When this is done u are right it makes the motors go in the opposite way.
Yeah, i was referring to the PWM cables being backwards.
Reply With Quote
  #10   Spotlight this post!  
Unread 10-02-2013, 19:46
2185Bilal's Avatar
2185Bilal 2185Bilal is offline
Driver, Ld. Programmer, Electrical
AKA: Bilal Majeed
FRC #2185 (Ramazoidz)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Toronto, Canada
Posts: 110
2185Bilal will become famous soon enough
Re: When deploying code in NetBeans it hangs.

they are not called pwm cables, wiring them backwards would basically not make the robot run, hence the blinking lights
__________________
RAMAZOIDZ

2009 Toronto West Regional - Regional Winners
2009 Waterloo Regional - Regional Winners
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 11:47.

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