Go to Post P.S. No matter what happens a build season, you will always have memories. - Briansmithtown [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-03-2016, 07:19 AM
s5511's Avatar
s5511 s5511 is offline
Registered User
FRC #5511
 
Join Date: Jan 2016
Location: Cary, NC
Posts: 57
s5511 is an unknown quantity at this point
Exclamation navX Issues

During yesterday at tournament, our navX gyro sensor stopped returning values, causing our drivetrain PID to malfunction. The navX is protected by a plastic casing and is still directly plugged into the roborio. Are there any reasons that could cause the navX to stop functioning like this? We have been using it for over 4 weeks, and it has been working fine.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-03-2016, 08:06 AM
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: navX Issues

Quote:
Originally Posted by s5511 View Post
During yesterday at tournament, our navX gyro sensor stopped returning values, causing our drivetrain PID to malfunction. The navX is protected by a plastic casing and is still directly plugged into the roborio. Are there any reasons that could cause the navX to stop functioning like this? We have been using it for over 4 weeks, and it has been working fine.
Have you connected it to the rio via a USB cable? This will help to prevent RIO Stage 2 brownout from affecting the chip.

http://www.pdocs.kauailabs.com/navx-...oubleshooting/
__________________
"Never let your schooling interfere with your education" -Mark Twain
Reply With Quote
  #3   Spotlight this post!  
Unread 04-03-2016, 08:12 AM
s5511's Avatar
s5511 s5511 is offline
Registered User
FRC #5511
 
Join Date: Jan 2016
Location: Cary, NC
Posts: 57
s5511 is an unknown quantity at this point
Re: navX Issues

Quote:
Originally Posted by mwtidd View Post
Have you connected it to the rio via a USB cable? This will help to prevent RIO Stage 2 brownout from affecting the chip.

http://www.pdocs.kauailabs.com/navx-...oubleshooting/
The roborio is currently plugged in directly to the roborio through the custom electronics port and is using spi. When we tested it in the pit, it still wasn't returning values and the battery was at 12.8 volts.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-03-2016, 08:22 AM
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 505
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: navX Issues

Please contact Scott, at Kauai

We had an odd occurrence at Waterford where when we connected to the field, we would not get telemetry data, but when we ran on the practice field, everything worked. I replaced the Navx with a second unit, I had, on Friday at Waterford, we also added an old gyro, and rewrote our autonomous scripts, to use the gyro data. We ran all day Saturday with program working off gyro, while logging the navx data too.

The Navx worked all day Saturday in logs.

The suspect board, was found to have an old firmware, but Scott said that should not have been a problem.

We have not used that board on our comp bot, but it is on our practice bot.

We ran our second event at Marysville last weekend, and the Navx worked all weekend.

There is a tech note, to use a USB cable from the roborio to the navx, to prevent brownouts from taking the Navx down, if you do not have that installed, I would suggest that you do.

http://www.pdocs.kauailabs.com/navx-...est-practices/
__________________
The sooner we get behind schedule, the more time we have to catch up.

Reply With Quote
  #5   Spotlight this post!  
Unread 04-03-2016, 10:07 AM
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 468
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: navX Issues

Quote:
Originally Posted by s5511 View Post
During yesterday at tournament, our navX gyro sensor stopped returning values, causing our drivetrain PID to malfunction. The navX is protected by a plastic casing and is still directly plugged into the roborio. Are there any reasons that could cause the navX to stop functioning like this? We have been using it for over 4 weeks, and it has been working fine.
Are any of the LEDs on the navX lighting up at all? If none of the LEDs light up at all, even at initial power-on, then the navX is not getting power. The most likely cause of this is swarf in the various pins of the roboRIO, which can result in shutting down power to the output rails of the roboRIO, including the MXP port.

We had the above problem at one point. Vacuuming out the swarf that had fallen into the unused roboRIO I/O pins fixed the problem for us. As insurance against future occurrences, we taped over all the unused roboRIO output pins to help keep debris out of the roboRIO.
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
Reply With Quote
  #6   Spotlight this post!  
Unread 04-04-2016, 06:30 PM
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 337
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: navX Issues

Quote:
Originally Posted by s5511 View Post
During yesterday at tournament, our navX gyro sensor stopped returning values, causing our drivetrain PID to malfunction. The navX is protected by a plastic casing and is still directly plugged into the roborio. Are there any reasons that could cause the navX to stop functioning like this? We have been using it for over 4 weeks, and it has been working fine.
This is repeating the fine advice given by others, but the most likely issue is that the 5V power source to the navX-MXP, provided by the RoboRIO via the MXP connector, was cut due to a Stage 2 brownout. A related failure condition is the 5V power source was cut due to a short circuit that the RoboRIO detected as a current surge.

In each of these cases, the navX-MXP would lose power, and then begin re-initializing once power was restored. In the case of a stage 2 brownout, power could be restored as quickly as 100ms later, it just depends upon the conditions.

As discussed in the "Best Practices guide", using a USB cable to provide backup power in case the RoboRIO cuts the MXP power will address this issue.

Here at Kauai Labs, we have this year seen a few times a more fatal issue. Due to excessive current draw on the expansion IO pins, one of the expansion IO power (3.3V/5V depending upon the jumper setting on the navX-MXP) traces, or the ground return trace, can become damaged. This may cause the MXP power source to the navX-MXP processor to no longer work (a USB cable would fix this), and also mean that the power to anything connected to the Expansion IO pins on the navX-MXP would not work. If you see visible evidence of a burnt trace on the navX-MXP, please let us know (support@kauailabs.com) and we'll work with you to replace your board.

Aloha,

- scott
Reply With Quote
  #7   Spotlight this post!  
Unread 04-04-2016, 07:15 PM
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: navX Issues

I've also had problems with the NavX randomly dying (plugged in both MXP and USB).
As such, we have a kit of parts gyro on the robot as a backup (that we can switch to at any time) because we can't always trust that the navX will get us through the match.

This week, it behaved pretty well, except for one match, where it was completely dead the whole match, and then was fine again upon reboot. No idea why.
__________________
Head Programmer / Driver

Last edited by cjl2625 : 04-04-2016 at 07:18 PM.
Reply With Quote
  #8   Spotlight this post!  
Unread 04-04-2016, 10:59 PM
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 337
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: navX Issues

Quote:
Originally Posted by cjl2625 View Post
I've also had problems with the NavX randomly dying (plugged in both MXP and USB).
As such, we have a kit of parts gyro on the robot as a backup (that we can switch to at any time) because we can't always trust that the navX will get us through the match.

This week, it behaved pretty well, except for one match, where it was completely dead the whole match, and then was fine again upon reboot. No idea why.
Cory, we'd like to get to the bottom of what's going on here. Since I'm aware from our previous conversations you've followed all of the documented best practices, if you'd like we can send you a replacement navX-MXP to try; just contact support@kauailabs.com and we'll get that started for you.
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 09:06 AM.

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