Go to Post free hugs-one size fits all - joshsmithers [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-02-2013, 09:08
tomyurek tomyurek is offline
Registered User
FRC #3147
 
Join Date: Feb 2010
Location: Munster
Posts: 5
tomyurek is an unknown quantity at this point
The three lights are green, but the robot is unresponsive.

Our robot worked fine with last year's software, but once I updated everything we're having issues. We can connect to the robot just fine and deploy code to it. Upon going to the Driver Station, the three green lights are lit, but when we hit Teleop Enable, nothing happens. The Jaguars on the robot continue to blink and we don't get an image from the camera. I have tried programming our robot both in Java and LabVIEW, but both had the same problem. This problem persists whether we have a wireless or wired connection. To my knowledge, everything is up to date. Any suggestions?
  #2   Spotlight this post!  
Unread 07-02-2013, 09:17
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: The three lights are green, but the robot is unresponsive.

First, whether you get a camera image isn't related to whether teleoperated is enabled. The camera is enabled and disabled with a button on the dashboard.

The main problem that you describe of is possibly with your software. If the code doesn't do what you want, it will still compile and download but won't work when you enable the robot. Carefully look through that. Also, check that all the wiring is correct and the PWM cables are connected to the right ports.

Pardon my bad spelling; this was typed on my phone.
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
  #3   Spotlight this post!  
Unread 07-02-2013, 09:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: The three lights are green, but the robot is unresponsive.

To isolate the problem to code vs hardware, I'd suggest creating a default LabVIEW program to Build/Run as Startup just to see if the robot responds.
I assume you are using the FRC cRIO Imaging Tool to change languages?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 07-02-2013, 11:38
Wildcats1378 Wildcats1378 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: hawaii
Posts: 93
Wildcats1378 is an unknown quantity at this point
Re: The three lights are green, but the robot is unresponsive.

Make sure to check the wiring on the sidecar. If the jaguars are blinking, that means they aren't getting a signal... Try flipping the wire
There is a little diagram on the sidecar actually, it will tell you like
SIG
+
-

So make sure the signal wire (normally white) is plugged into the signal port. Same on the jaguar.
  #5   Spotlight this post!  
Unread 07-02-2013, 11:59
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: The three lights are green, but the robot is unresponsive.

Also ensure you have a cable going to your digital sidecar from you crio slot 2. Our ribbon cable fell out in the middle of a climb last night and it took us awhile to figure out why we quit moving!
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
  #6   Spotlight this post!  
Unread 07-02-2013, 16:50
tomyurek tomyurek is offline
Registered User
FRC #3147
 
Join Date: Feb 2010
Location: Munster
Posts: 5
tomyurek is an unknown quantity at this point
Re: The three lights are green, but the robot is unresponsive.

To my knowledge, it's a software issue. The same code worked just fine before I updated everything. I am using the cRIO imaging tool to change languages. The camera does not broadcast anything to the screen when the enable button is pushed (but it used to before the update). When I programmed in LabVIEW I had it run as startup.
The code did not run on the old electrical configuration or the new one we just setup (same error). I'll still check hardware when I get back on Friday, but I doubt that's the issue.
  #7   Spotlight this post!  
Unread 08-02-2013, 07:55
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: The three lights are green, but the robot is unresponsive.

The camera from the dashboard should work even when disabled. If using LabVIEW, please open the teleop VI and probe to see if the code is being called and if anything is being written to the motors.

It may also be useful to use Test mode. Put the DS into test mode, click on the dashboard tab for test, select the motor output value and set it to something nonzero. Enable the robot and hit the enable button. If the motor doesn't move or the controller doesn't blink as expected, check the PWM values in the table to the electrical wiring.

If it moves in test mode, electrical is fine, and the code is not giving the motor a value or not giving it often enough.

Greg McKaskle
  #8   Spotlight this post!  
Unread 08-02-2013, 08:14
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: The three lights are green, but the robot is unresponsive.

Just for my peace of mind, did you remember to reimage the cRIO with the latest image?
  #9   Spotlight this post!  
Unread 08-02-2013, 08:28
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: The three lights are green, but the robot is unresponsive.

For the camera problem...
The camera to Dashboard doesn't depend on the cRIO.
That should work event if there's no cRIO at all.

There are new reasons that the camera might not be working that didn't exist last year.

If you've used the FRC Bridge Configuration tool on your DLink, then there is now a 7Mb/s bandwith limit that affects the camera video stream. The easy check for this is to enable the camera then use the new Dashboard video controls to cut the video resolution/fps/compression way down, just to see if a picture appears.
Attached Thumbnails
Click image for larger version

Name:	DashboardCameraStreamControls.JPG
Views:	180
Size:	20.7 KB
ID:	13851  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 08-02-2013 at 08:36.
  #10   Spotlight this post!  
Unread 09-02-2013, 08:33
tomyurek tomyurek is offline
Registered User
FRC #3147
 
Join Date: Feb 2010
Location: Munster
Posts: 5
tomyurek is an unknown quantity at this point
Re: The three lights are green, but the robot is unresponsive.

Okay guys, I got it working. It turns out that it actually was a hardware problem, specifically that the Digital Sidecar was not receiving power. I'm not sure how we missed that twice, but oh well.
Thanks for the help everyone!
Closed Thread


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 02:09.

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