Go to Post If you do mentor FIRST, be an asset to your team, but know that your students will admire you all the more if you set an example and finish your own homework. - Eugenia Gabrielov [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
  #166   Spotlight this post!  
Unread 21-02-2015, 20:20
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,207
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by stinglikeabee View Post
I don't think it would be cost-effective to inventory custom cables. Teams should be plenty capable of cutting one end off of a USB cable
A lot of USB cables are 24-28 AWG. Per R38, it would need to be 22 AWG.

Also, a lot of those type cables to not strip nicely.

Finally, regarding custom cables: I'm guessing that Andymark has sold 200 of the navX boards, and have another batch arriving soon. If half bought the cable, it might be worthwhile. I know that we would buy two for the two navX boards we have.
Reply With Quote
  #167   Spotlight this post!  
Unread 21-02-2015, 20:29
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 rich2202 View Post
A lot of USB cables are 24-28 AWG. Per R38, it would need to be 22 AWG.
You would be using the 500ma output on the VRM, which allows 28awg or larger.
Reply With Quote
  #168   Spotlight this post!  
Unread 21-02-2015, 20:36
protoserge's Avatar
protoserge protoserge is offline
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 750
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by rich2202 View Post
A lot of USB cables are 24-28 AWG. Per R38, it would need to be 22 AWG.

Also, a lot of those type cables to not strip nicely.

Finally, regarding custom cables: I'm guessing that Andymark has sold 200 of the navX boards, and have another batch arriving soon. If half bought the cable, it might be worthwhile. I know that we would buy two for the two navX boards we have.
Not necessarily. Is there a spec on the current required for the NavX? I don't see anything on the board that indicates it would require greater than 500mA, thus it would be covered by the signal level output (28 AWG).

Digikey and Mouser don't carry custom cables (at least as listed under USB cables) aside from the regular USB male plug to cable leads. Unless you want to pay $20-30 a cable, it's unlikely worthwhile for any vendor to carry the mini USB to bare wire cable.

I think one off-the-shelf solution may be this: http://www.amazon.com/USB-Female-Min...le+usb+to+mini and this http://www.digikey.com/product-detai...363-ND/1531290. I'll keep searching for a single cable.

Last edited by protoserge : 21-02-2015 at 20:39.
Reply With Quote
  #169   Spotlight this post!  
Unread 21-02-2015, 21:59
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 stinglikeabee View Post
Not necessarily. Is there a spec on the current required for the NavX? I don't see anything on the board that indicates it would require greater than 500mA, thus it would be covered by the signal level output (28 AWG).

Digikey and Mouser don't carry custom cables (at least as listed under USB cables) aside from the regular USB male plug to cable leads. Unless you want to pay $20-30 a cable, it's unlikely worthwhile for any vendor to carry the mini USB to bare wire cable.

I think one off-the-shelf solution may be this: http://www.amazon.com/USB-Female-Min...le+usb+to+mini and this http://www.digikey.com/product-detai...363-ND/1531290. I'll keep searching for a single cable.
NavX MXP current consumption is <= 250 mA.
Reply With Quote
  #170   Spotlight this post!  
Unread 21-02-2015, 23:18
Pault's Avatar
Pault Pault is offline
Registered User
FRC #0246 (Overclocked)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Boston
Posts: 618
Pault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Our practice chassis has been running off the 5V 500mA rail using USB for a while now, and we have never experienced a problem*. Literally just took a mini USB cable (buy it at RadioShack or Amazon), cut off the other end, peeled back the shielding, stripped the red and black wires, and plugged it in. It's not that hard.
Reply With Quote
  #171   Spotlight this post!  
Unread 22-02-2015, 09:09
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,207
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

1) Should the Magnetometer be calibrated at each event?

2) Should we start posting questions in the Control System, Sensor sub forum, and start each title with "navX"?
Reply With Quote
  #172   Spotlight this post!  
Unread 22-02-2015, 09:48
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 294
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Speaking of calibrating the Magnometer,

Is there an easy way to do it? Right now, you need to turn it to every axis (+ and -), which I get. But, how do people handle the cable coming out? Do you guys just hang that part off the edge of the table?

We're probably going to re-calibrate it before our first district just to be safe.

Thanks!
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
Reply With Quote
  #173   Spotlight this post!  
Unread 22-02-2015, 12:12
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 rich2202 View Post
1) Should the Magnetometer be calibrated at each event?
Magnetometer re-calibration is theoretically only necessary when changes to the structure of the robot are made which add/remove metals.

As noted on the wiki, "Initial Gyro Calibration" (press/hold the cal button) is encouraged whenever the ambient temperature changes significantly. This should likely be done when first arriving at an event, and is expected to be the only per-event calibration required unless mods like those mentioned above occur.
Reply With Quote
  #174   Spotlight this post!  
Unread 22-02-2015, 13:51
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 slibert View Post
Magnetometer re-calibration is theoretically only necessary when changes to the structure of the robot are made which add/remove metals.
Our robot has significant pieces of aluminum as well as a motor that move from 12 inches away from the the navx to only about 2 inches away during normal operation. However, at this time, we're only using the yaw from the navX. Do non-ferrous metals matter? If so, does it only matter for teams using the compass?
Reply With Quote
  #175   Spotlight this post!  
Unread 22-02-2015, 13:57
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 Joe Ross View Post
Our robot has significant pieces of aluminum as well as a motor that move from 12 inches away from the the navx to only about 2 inches away during normal operation. However, at this time, we're only using the yaw from the navX. Do non-ferrous metals matter? If so, does it only matter for teams using the compass?
Ferrous and non-ferrous metals can impact magnetometer readings (each type impacts in different ways).

However they should not impact the inertial sensor readings; theoretically, only compass readings could be impacted.
Reply With Quote
  #176   Spotlight this post!  
Unread 23-02-2015, 15:51
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 rich2202 View Post
Should we start posting questions in the Control System, Sensor sub forum, and start each title with "navX"?
This thread is getting rather long, indeed. Yet, it also serves as a useful "digest" of the issues are encountering and what the solutions and options are.

We're updating the navX MXP Wiki (esp., the FAQ and Troubleshooting sections) w/the key issues that arise here. navX MXP is a new and unique product, and tailored specifically to the FIRST FRC community, so the best result for all will almost surely come from this type of continued interaction; often, the answers come from other people in the ChiefDelphi community.

My recommendation is to continue to post new questions to this thread (after of course reviewing this thread's current contents and the FAQ/Troubleshooting pages on the Wiki).

Any navX MXP customer who has continued trouble even after reviewing this thread and the Wiki documentation can contact us at support@kauailabs, or private message me.

Longer term (say, this summer after Nationals are over) we can work on setting up a different system. As always, your feedback is welcome, as the goal is to provide the best support possible to FIRST FRC teams.
Reply With Quote
  #177   Spotlight this post!  
Unread 23-02-2015, 16:20
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,207
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

The reason I thought of posting new threads is that it makes it easier to find an answer to questions already asked. For example, if I wanted help setting up navX for field drive with Mecanum wheels, it would be hard to search through this thread (already 11 pages) for relevant posts.
Reply With Quote
  #178   Spotlight this post!  
Unread 23-02-2015, 18:01
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 rich2202 View Post
The reason I thought of posting new threads is that it makes it easier to find an answer to questions already asked. For example, if I wanted help setting up navX for field drive with Mecanum wheels, it would be hard to search through this thread (already 11 pages) for relevant posts.
The "Search this thread" tool provides a simple way to search for answers on this thread.
Reply With Quote
  #179   Spotlight this post!  
Unread 24-02-2015, 00: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

What are the units for the raw gyro output in the LabVIEW Library? It looks like it could be radians/second but I'm not entirely sure.
Reply With Quote
  #180   Spotlight this post!  
Unread 24-02-2015, 11:44
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
What are the units for the raw gyro output in the LabVIEW Library? It looks like it could be radians/second but I'm not entirely sure.
Raw Gyro data is a 16-bit signed value, in hardware units. Conversion to a real-world value requires knowledge of the sensor Full Scale Range (FSR).

The Gyro FSR is configured for 2000 deg/sec. To convert raw gyro data to deg/sec, simply divide the raw gyro value by 2000:

float curr_deg_sec_x = (float)raw_gyro_x / 2000.0;

Note that gyro values are calibrated, so have had offsets automatically applied to them by the Digital Motion Processor (DMP) on the Invensense MPU-9250 silicon.

[Raw acceleration data is similar; in this case, in units of Gs and since the Accelerometer FSR is configured for +/- 2G, the calculation is:

float curr_accel_x = (float)raw_accel_x / 2.0;]

Most users don't access the raw gyro data directly, since to be useful it typically requires the user software to integrate the data - and for typical use cases, this work is offloaded to the navX MXP processor.

Last edited by slibert : 24-02-2015 at 12:46.
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:15.

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