Go to Post (The wheels) need to be green anodized, and then assembled with yellow anodized spinners. ... and then, on the spinners, you can etch "JVN is a dweeb". That would be cool. - Andy Baker [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 Rating: Thread Rating: 29 votes, 5.00 average. Display Modes
  #226   Spotlight this post!  
Unread 25-03-2015, 21:30
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,569
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by ayeckley View Post
Can anyone recommend a good tactic (that doesn't involve modifying the navX source code) to convert the yaw output from a range of -180 to 180 (i.e. modulo 360) to an accumulated total rotation? All of the approaches we can think of require an assumption of what a maximum realistic turn rate is, and we'd like to avoid that if possible. I'm confident that we're not the only team encountering this challenge.
We had this issue. However, as we were already reading the angle at 50hz, finding a reasonable assumption of turn rate wasn't hard, we used a threshold of 180 degrees, which means we'd have to be spinning at faster then 9000 degrees/sec to have a problem.
Reply With Quote
  #227   Spotlight this post!  
Unread 25-03-2015, 22:59
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by Joe Ross View Post
We had this issue. However, as we were already reading the angle at 50hz, finding a reasonable assumption of turn rate wasn't hard, we used a threshold of 180 degrees, which means we'd have to be spinning at faster then 9000 degrees/sec to have a problem.
I think you also have the angular rate data from the navX. It gives you the angle estimate but it also gives you the rate that it things you have changed. You can use this to provide a check on your accumulation calcs. There are an infinite number of angular rates that can get you from one NavX position to another (due to the Mod 360 problem) but you should choose the one that is closest to the angular rate measured by the NavX.

My 2 Cents.

Dr. Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
Reply With Quote
  #228   Spotlight this post!  
Unread 01-04-2015, 08:43
dougwilliams's Avatar
dougwilliams dougwilliams is offline
Engineer - Controls, Electronics
FRC #2053 (TigerTronics)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Vestal, NY
Posts: 109
dougwilliams is on a distinguished road
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Scott and All,
I was wondering if there's a good layman's comparison of the nav features comparing the Nav6 vs the NavX? We had the misfortune of buying the Nav6 right before the NavX announcement and have to financially consider buying a batch of NavX's now. With that said, the Nav6 provided flawless performance during our season, we implemented FOD on Mecanum, with a bunch of special alignment "rotate-to-angle" type features. Your support was also stellar (thank you!).

Your best practices page explains a lot - and there are some pros and cons to the various connection methods as compared to the Nav6. I understand all that, but need help with the Navigation features.

What benefit is the NavX providing over the Nav6? Practically speaking for an FRC robot? Does the 9-axis benefit most users? Are there other nav features I may not be considering, or future products worth waiting for? We typically were just using yaw readings for FOD - but may expand that to some of the accel features in the off season and next year.

Thanks for the help -
Reply With Quote
  #229   Spotlight this post!  
Unread 01-04-2015, 09:20
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

I've had a weird issue with the navX sometimes refusing to give readings. Like for most matches, it works fine, but sometimes it doesn't read and generally leads to catastrophic results for the match.
Has anyone else seen this?
(I have it plugged in with both MXP and USB and read with SPI)

Also, if we were to place our robot half way on the scoring platform, would this screw up the calibration due to being at an angle?
__________________
Head Programmer / Driver
Reply With Quote
  #230   Spotlight this post!  
Unread 01-04-2015, 10:23
dougwilliams's Avatar
dougwilliams dougwilliams is offline
Engineer - Controls, Electronics
FRC #2053 (TigerTronics)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Vestal, NY
Posts: 109
dougwilliams is on a distinguished road
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by cjl2625 View Post
...if we were to place our robot half way on the scoring platform, would this screw up the calibration due to being at an angle?
Anecdote only (and based on the Nav6), we set up many competition matches with one set of wheels on the platform and one set on the floor when we turned on the robot. This seemed to have no impact at all on our yaw measurements.
Reply With Quote
  #231   Spotlight this post!  
Unread 01-04-2015, 10:32
randantor randantor is offline
Registered User
AKA: James Y
FRC #0624 (CRyptonite)
Team Role: Alumni
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Katy, TX
Posts: 48
randantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of light
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

We are also having issues with reading the NavX at times. We are using LabVIEW with the SPI bus. Sometimes the data is all 0 with the 'Data Valid' output false. In every case, restarting the robot code from the driver station gets it working again. Before, I had only seen it on our comepetition robot while connected to the FMS, and I thought it was related to the clock issue mentioned earlier, but yesterday it happened twice on the practice bot, which has a diffferent roborio and NavX board. I would say it happens about 1 in every 10-12 robot starts.

I haven't tried I2C or UART, but we may switch protocols for Lone Star and see what happens.
Reply With Quote
  #232   Spotlight this post!  
Unread 01-04-2015, 11:26
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,300
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by randantor View Post
We are also having issues with reading the NavX at times. We are using LabVIEW with the SPI bus. Sometimes the data is all 0 with the 'Data Valid' output false. In every case, restarting the robot code from the driver station gets it working again. Before, I had only seen it on our comepetition robot while connected to the FMS, and I thought it was related to the clock issue mentioned earlier, but yesterday it happened twice on the practice bot, which has a diffferent roborio and NavX board. I would say it happens about 1 in every 10-12 robot starts.

I haven't tried I2C or UART, but we may switch protocols for Lone Star and see what happens.
Check your battery voltage levels. This sounds like a brownout related issue. What version of the firmware are you running on the NavX?
Reply With Quote
  #233   Spotlight this post!  
Unread 01-04-2015, 11:33
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by randantor View Post
We are also having issues with reading the NavX at times. We are using LabVIEW with the SPI bus. Sometimes the data is all 0 with the 'Data Valid' output false. In every case, restarting the robot code from the driver station gets it working again. Before, I had only seen it on our comepetition robot while connected to the FMS, and I thought it was related to the clock issue mentioned earlier, but yesterday it happened twice on the practice bot, which has a diffferent roborio and NavX board. I would say it happens about 1 in every 10-12 robot starts.

I haven't tried I2C or UART, but we may switch protocols for Lone Star and see what happens.
This is precisely what happens for us.
I don't think it's a brownout issue, because it happens with a fresh battery upon booting up.
__________________
Head Programmer / Driver
Reply With Quote
  #234   Spotlight this post!  
Unread 01-04-2015, 11:40
Shahil_FRC's Avatar
Shahil_FRC Shahil_FRC is offline
Mentor
FRC #0176 (Aces High)
Team Role: Engineer
 
Join Date: Mar 2015
Rookie Year: 2004
Location: connecticut
Posts: 9
Shahil_FRC is on a distinguished road
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by cjl2625 View Post
This is precisely what happens for us.
I don't think it's a brownout issue, because it happens with a fresh battery upon booting up.
This exact issue has happened to us as well, in autonomous mode with a fresh battery at the Waterbury District. We are running labview with the navx configured for SPI communications.
Reply With Quote
  #235   Spotlight this post!  
Unread 01-04-2015, 12:00
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,300
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by Shahil_FRC View Post
This exact issue has happened to us as well, in autonomous mode with a fresh battery at the Waterbury District. We are running labview with the navx configured for SPI communications.
Can you guys confirm firmware versions? We can look at testing this.
Reply With Quote
  #236   Spotlight this post!  
Unread 01-04-2015, 12:13
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Is there a way to check what firmware version is being used?
__________________
Head Programmer / Driver
Reply With Quote
  #237   Spotlight this post!  
Unread 01-04-2015, 12:48
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 349
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by cjl2625 View Post
Is there a way to check what firmware version is being used?
A process for displaying the firmware version number is on this page; look under the "Connecting to the navX MXP" section.
Reply With Quote
  #238   Spotlight this post!  
Unread 01-04-2015, 15:14
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 349
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by randantor View Post
We are also having issues with reading the NavX at times. We are using LabVIEW with the SPI bus. Sometimes the data is all 0 with the 'Data Valid' output false. In every case, restarting the robot code from the driver station gets it working again. Before, I had only seen it on our comepetition robot while connected to the FMS, and I thought it was related to the clock issue mentioned earlier, but yesterday it happened twice on the practice bot, which has a diffferent roborio and NavX board. I would say it happens about 1 in every 10-12 robot starts.

I haven't tried I2C or UART, but we may switch protocols for Lone Star and see what happens.
In the case where the 'Data Valid" output is false, do you know if the "Opened" indicator is also false?
Reply With Quote
  #239   Spotlight this post!  
Unread 01-04-2015, 16:52
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 349
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by dougwilliams View Post
Scott and All,
I was wondering if there's a good layman's comparison of the nav features comparing the Nav6 vs the NavX?

...

What benefit is the NavX providing over the Nav6? Practically speaking for an FRC robot? Does the 9-axis benefit most users? Are there other nav features I may not be considering, or future products worth waiting for? We typically were just using yaw readings for FOD - but may expand that to some of the accel features in the off season and next year.

Thanks for the help -
The nav6 is fine for FOD (Field-Centric Drive), rotate to angle and "Straight Strafing". The navX MXP provides a simplified mounting solution, and integrated I/O Expansion.

The navX MXP also provides I2C/SPI interfaces and a USB interface - which are faster than the RS-232 interface of the nav6. But many teams use the serial interface successfully.

As you note, the navX MXP also provides 9-axis features, but these are not required for FOD; and indeed, they require more effort to calibrate and are sensitive to magnetic disturbances. The 9-axis heading does give an "absolute" heading, but the 6-axis yaw is simpler to use. There are certain applications where measuring the compass heading at the beginning of a match (before the motors are turned on) can allow the robot software to figure out where "zero degrees" on the field is at the beginning of a match, but it's an individual decision as to whether this is worth the effort to perform magnetometer calibration.

The navX MXP will be where future firmware development efforts are focused, since the navX MXP has a much more capable processor. Moving ahead, we plan to develop a features that only the navX MXP will have: (a) vertical mounting for the navX MXP, and (b) improving the navX MXP Linear Acceleration measures to be more useful for velocity/displacement calculations. Existing navX MXP customers will be able to upgrade to these at no charge w/a firmware upgrade.
Reply With Quote
  #240   Spotlight this post!  
Unread 01-04-2015, 22:15
randantor randantor is offline
Registered User
AKA: James Y
FRC #0624 (CRyptonite)
Team Role: Alumni
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Katy, TX
Posts: 48
randantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of light
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by slibert View Post
In the case where the 'Data Valid" output is false, do you know if the "Opened" indicator is also false?
I didn't check. I'll start logging that value for Lone Star. Chances are we'll see the issue happen at least once.


Quote:
Originally Posted by marshall View Post
Can you guys confirm firmware versions? We can look at testing this.
The tool reports firmware rev 1.0.482.
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 20:13.

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