Go to Post -Best FIRST Robot: One that Makes it to Competition - Conor Ryan [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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, 19:41
cgranata cgranata is offline
Team Captain
FRC #1396 (Pyrobots)
Team Role: Electrical
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Staten Island, NY
Posts: 39
cgranata is an unknown quantity at this point
We have robot comm, robot code, and joysticks, why doesnt the robot move?

Hey Chief Delphi, our team is having an issue and I'm hoping someone out there can lend us a hand.

Our 2013 robot has Robot communication, robot code and joysticks connection. In the driver station each of these displays a green light. However, whenever we move the joysticks or press any buttons on the joysticks, nothing happens.

We have tried different joysticks/usb ports on multiple computers. We have the latest version of everything from Driver Station to Windriver Workbench.

The electronics and cRio are connected properly and have been checked, double checked, triple checked, etc. This leads me to believe it is a programming error.

Anyone have an idea? Any help would be greatly appreciated and my team and I thank you in advance for your support.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2013, 21:19
ferret_guy ferret_guy is offline
Registered User
AKA: Mark Omo
FRC #1703 (RATS)
Team Role: Leadership
 
Join Date: Mar 2012
Rookie Year: 2008
Location: Henderson
Posts: 97
ferret_guy is on a distinguished road
Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?

Couple things to check:
  1. Is the robot enabled? (in tele-op mode)
  2. Are you correctly using the safety VIs?
  3. Is your joystick showing up as connected?
  4. Have you correctly initialized all your motors ect...
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2013, 21:27
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?

Can you post your code?
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2013, 10:20
cgranata cgranata is offline
Team Captain
FRC #1396 (Pyrobots)
Team Role: Electrical
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Staten Island, NY
Posts: 39
cgranata is an unknown quantity at this point
Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?

Quote:
Originally Posted by ferret_guy View Post
Couple things to check:
  1. Is the robot enabled? (in tele-op mode)
  2. Are you correctly using the safety VIs?
  3. Is your joystick showing up as connected?
  4. Have you correctly initialized all your motors ect...
1. Yes
2. What do you mean by VIs?
3. Yes
4. Yes
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2013, 11:16
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: We have robot comm, robot code, and joysticks, why doesnt the robot move?

Quote:
Originally Posted by cgranata View Post
2. What do you mean by VIs?
VI stands for Virtual Instrument. It's the LabVIEW equivalent of a function. The question was probably meant to ask whether you were enabling any motor safeties, or disabling the drive safety. You'd be getting diagnostic error messages on the driver station if it were a motor safety issue.

A better question might be: what motor speed controllers are you using, and what do the status LEDs on them do when you try to run the robot? Also, what pattern is the orange Robot Signal Light blinking?
Reply With Quote
  #6   Spotlight this post!  
Unread 10-02-2013, 18:03
nightpool's Avatar
nightpool nightpool is offline
robotRectifier
AKA: Evan
no team (formerly of CORE 2062)
Team Role: Alumni
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Waukesha, WI
Posts: 81
nightpool is on a distinguished road
Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?

Quote:
Originally Posted by ferret_guy View Post
Couple things to check:
  1. Are you correctly using the safety VIs?
*cough* This IS the Windriver C++ forum...
__________________
Proud alum of CORE 2062.
www.core2062.com
Reply With Quote
  #7   Spotlight this post!  
Unread 10-02-2013, 18:08
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 494
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?

Check the Diagnostics Tab on your driver station and see what errors you are getting there.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-02-2013, 18:33
ferret_guy ferret_guy is offline
Registered User
AKA: Mark Omo
FRC #1703 (RATS)
Team Role: Leadership
 
Join Date: Mar 2012
Rookie Year: 2008
Location: Henderson
Posts: 97
ferret_guy is on a distinguished road
Quote:
Originally Posted by nightpool View Post
*cough* This IS the Windriver C++ forum...
ya ya i know didn't see that when i skimmed the new posts
Reply With Quote
  #9   Spotlight this post!  
Unread 11-02-2013, 17:33
cgranata cgranata is offline
Team Captain
FRC #1396 (Pyrobots)
Team Role: Electrical
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Staten Island, NY
Posts: 39
cgranata is an unknown quantity at this point
Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?

Thanks guys for all your help. My team looked at the error messages in the driver station and it led them to check the code. Apparently, our lead programmer put the "compressor command" in the operator control section of the code which constantly repeats over and over. When it was enabled, the robot didn't move because the code was being overflowed with this one command and "shut off"

Excuse me for my lack of technical explanation concerning the problem, I'm not in the programming department.

But thanks again guys! My team and I greatly appreciate your help.
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 12:02.

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