Go to Post Good robots with bad drivers can lose. Bad robots with good drivers can win. Good robots with good drivers can dominate. - James Tonthat [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
  #106   Spotlight this post!  
Unread 02-01-2015, 03:08 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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by cjl2625 View Post
How likely is it that a mini USB with a choke will screw up the calibration?
That's the only cord I've been able to get my hands on
The choke will only cause a problem if it moves. If it stays in the same place during the calibration and while in use, then there should not be a problem. For our calibration w/a choke, I've actually taped it in place to make sure it doesn't cause a problem (moving relative to the navX MXP during calibration).
Reply With Quote
  #107   Spotlight this post!  
Unread 02-02-2015, 12:42 AM
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by Mastonevich View Post
Any expected delivery date for the CAD files for the enclosure? Or has anyone come up with them on their own?
A first cut of the Sketchup and STL files for a lid-style enclosure for the navX MXP when mounted on the MXP port of the RoboRio are now available.

The STL file is what one would typically use to 3D-print the enclosure. If you want to modify the design, you can use Sketchup 2015 and the STL Import/Export Extension to generate the STL file from that.

We're testing this by sending out a order to Sculpteo, they are charging about 10.00 plus 6.00 shipping for a white plastic version (prices increase depending upon the materials and colors chosen). Shapeways charges a similar amount.

Last edited by slibert : 02-02-2015 at 12:51 AM.
Reply With Quote
  #108   Spotlight this post!  
Unread 02-02-2015, 10:07 AM
mklinker's Avatar
mklinker mklinker is offline
Coach FRC4485
AKA: Mike Klinker
FRC #4485 (Tribe Tech Robotics)
Team Role: Mentor
 
Join Date: Oct 2012
Rookie Year: 2013
Location: Danville, IN
Posts: 96
mklinker is a splendid one to beholdmklinker is a splendid one to beholdmklinker is a splendid one to beholdmklinker is a splendid one to beholdmklinker is a splendid one to beholdmklinker is a splendid one to beholdmklinker is a splendid one to behold
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

[quote=slibert;1437174]A first cut of the Sketchup and STL files for a lid-style enclosure for the navX MXP when mounted on the MXP port of the RoboRio are now available.

There does not appear to be a link to the STL file. Will these be made available for download?
__________________
Mike Klinker Mentor, Tribe Tech Robotics FRC 4485

2016 Walker Warren District Semi-Finalist
2015 Indiana District Championship Semi-Finalist, Purdue District Quarter Finalist, Kokomo District Quarter Finalist, R2OC Finalist
2014 Boilermaker Regional Quarter Finalist


Reply With Quote
  #109   Spotlight this post!  
Unread 02-02-2015, 11:25 AM
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

We have been having some problems with brownouts causing us to lose the NavX. Essentially, if the NavX loses power for even a fraction of a second, the roboRIO loses connection with it and isnt able to reconnect. I have tried to reinstantiate the IMU object, but it seems like FIRST does not want you doing that outside of robotInit. Do you have any solutions to this? I'm not sure how frequent brownouts will be, but 7 volts sounds like something teams will be running into often.
Reply With Quote
  #110   Spotlight this post!  
Unread 02-02-2015, 11:45 AM
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

[quote=mklinker;1437227]
Quote:
Originally Posted by slibert View Post
A first cut of the Sketchup and STL files for a lid-style enclosure for the navX MXP when mounted on the MXP port of the RoboRio are now available.

There does not appear to be a link to the STL file. Will these be made available for download?
An explicit link has been added to clarify it, if you download the latest build .zip file, it's in the enclosure directory.
Reply With Quote
  #111   Spotlight this post!  
Unread 02-02-2015, 11:54 AM
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by Pault View Post
We have been having some problems with brownouts causing us to lose the NavX. Essentially, if the NavX loses power for even a fraction of a second, the roboRIO loses connection with it and isnt able to reconnect. I have tried to reinstantiate the IMU object, but it seems like FIRST does not want you doing that outside of robotInit. Do you have any solutions to this? I'm not sure how frequent brownouts will be, but 7 volts sounds like something teams will be running into often.
The navX can be powered simultaneously by the MXP and the USB ports. So if your robot design allows for power to drop below the threshold required to power the RoboRio, you can do something like adding either a custom USB cable (whose 5V comes from the VRM) or a powered USB hub. The USB cable will automatically be used as a power supply if the MXP power should drop below a threshold. The navX has an onboard op-amp that monitors the voltage and an onboard fast-switching MOSFET to control the switch. Your limitation w/this design will be the minimum voltage required for the voltage regulator (which outputs 5V) to operate properly.

Another option you have is to use the "Low Level Connect via Power and Signal pins on MXP connector". In your case, the power could be supplied from a separate 5VDC source. I think the USB cable option indicated above would be simpler.

Finally, as to the recovery when the roborio restarts, what language and communication interface are you using?
Reply With Quote
  #112   Spotlight this post!  
Unread 02-02-2015, 12:05 PM
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,547
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 Pault View Post
I have tried to reinstantiate the IMU object, but it seems like FIRST does not want you doing that outside of robotInit.
Can you explain what you mean by this?
Reply With Quote
  #113   Spotlight this post!  
Unread 02-02-2015, 03:30 PM
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

Quote:
Originally Posted by Joe Ross View Post
Can you explain what you mean by this?
I should probably mention that I am using Java.

In disabledInit(), I called the constructor for IMU if I knew that I lost connection. This caused the RoboRIO to throw a slew of errors related to NI-VISA and HALUTIL. Unfortunately I dont have a log of these errors available to me. On second thought, there is a good chance this was being caused because I had already instantiated the IMU once, and I'm not allowed to access the port twice.

Anyways, USB should solve my problems. The 5V rail apparently is supposed to stay alive down until the RoboRIO itself experiences a brownout.
Reply With Quote
  #114   Spotlight this post!  
Unread 02-02-2015, 03:38 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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by Pault View Post
I should probably mention that I am using Java.

In disabledInit(), I called the constructor for IMU if I knew that I lost connection. This caused the RoboRIO to throw a slew of errors related to NI-VISA and HALUTIL. Unfortunately I dont have a log of these errors available to me. On second thought, there is a good chance this was being caused because I had already instantiated the IMU once, and I'm not allowed to access the port twice.

Anyways, USB should solve my problems. The 5V rail apparently is supposed to stay alive down until the RoboRIO itself experiences a brownout.
There should be no need to re-instantiate the IMU class when connection is lost, the IMU class will continually attempt to re-establish communications if the connection is ever lost.

If the 5V (MXP) rail stays alive until the RoboRio itself experiences a brownout, then the navX MXP should continue to receive 5V and should therefore not reset. It's theoretically possible that the RoboRio has onboard capacitors that allow it to "ride over" a dropout for a longer period of time than the nav MXP's capacitor. However, if this is the case, your RoboRio is already dangerously close to browning out. Are you confident that the navX MXP was being reset due to an undervoltage situation on the RoboRio's 5V MXP Rail?
Reply With Quote
  #115   Spotlight this post!  
Unread 02-03-2015, 08:12 AM
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,355
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor

Problem, Our Roborio is going to be mounted vertically. What are the implications for the Navx MXP. We are using some of the break out ports and do not want to mount the board off the robo rio.
Reply With Quote
  #116   Spotlight this post!  
Unread 02-03-2015, 01:39 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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by Gdeaver View Post
Problem, Our Roborio is going to be mounted vertically. What are the implications for the Navx MXP. We are using some of the break out ports and do not want to mount the board off the robo rio.
For this RoboRIO configuration, the recommendation is the "One-wire connect via 'Floppy-disk' Extension Cable". This approach both allows the I/O expansion to be used, and also allows the RoboRIO to be mounted in a different orientation than the navX MXP.

The navX MXP's motion processing requires the unit be mounted horizontally, parallel to the earth's surface; the implications of non-standard mounting include the invalidation of the assumption that the z-axis is perpendicular to the earths surface. This will cause the MPU-9250 accelerometer self-tests to fail. While the calibrated gyro data should still be usable (as this is unaffected by gravity), the accelerometer data and the fusion of that data with the gyros to derive a yaw angle will all be negatively impacted. It is for these reasons that this approach is discouraged.

If you do choose to embark upon this non-standard mounting experiment, please let us know your results. It's possible the navX MXP will generate useful information under these circumstances, though that would seem doubtful based upon the above discussion and some quick experiments here at Kauai Labs.
Reply With Quote
  #117   Spotlight this post!  
Unread 02-03-2015, 02:11 PM
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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by slibert View Post
The navX MXP's motion processing requires the unit be mounted horizontally, parallel to the earth's surface; the implications of non-standard mounting include the invalidation of the assumption that the z-axis is perpendicular to the earths surface.
Is this a hardware limitation of the MPU-9250? If not, would it be possible in theory to change the firmware either to deduce on powerup which axis is the up/down one, or to accept a configuration instruction describing its mounting orientation?
Reply With Quote
  #118   Spotlight this post!  
Unread 02-03-2015, 04:22 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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by Alan Anderson View Post
Is this a hardware limitation of the MPU-9250? If not, would it be possible in theory to change the firmware either to deduce on powerup which axis is the up/down one, or to accept a configuration instruction describing its mounting orientation?
That will take some research; there are several processes that will be impacted (selftest, gyro/accel calibration, yaw offsets, magnetometer calibration), some of which occur in the MPU-9250 silicon, and some in the navX MXP firmware.

The MPU-9250 driver includes a orientation matrix that can be sent to the MPU-9250's DMP; this is intended to be used to identify the orientation of the MPU-9250 relative to the circuit board it is mounted on. This could potentially be investigated as a method for allowing alternate mounting configuration of the navX MXP itself.

It's theoretically possible to have an advanced configuration option whereby one could specify an alternate mounting configuration. If there's enough interest, we can study this further; such a change would require a non-trivial amount of work and testing.
Reply With Quote
  #119   Spotlight this post!  
Unread 02-10-2015, 11:07 AM
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: 743
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

I'm looking at the printing the .stl. Can you alter the extruded text on the top of the cover to a cut? This cover is best printed with the top facing down on the bed. Thanks for providing a nice cover!
Reply With Quote
  #120   Spotlight this post!  
Unread 02-10-2015, 03:20 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: ANNOUNCING: navX MXP Robotics Navigation Sensor

Quote:
Originally Posted by stinglikeabee View Post
I'm looking at the printing the .stl. Can you alter the extruded text on the top of the cover to a cut? This cover is best printed with the top facing down on the bed. Thanks for providing a nice cover!
Hmm, you make a good point about the printing w/the top facing down on the bed. We'll get to work on your suggestion; we're also planning on thickening the edges a bit to enhance durability. This will likely take several days to complete and test, an update will be posted on this thread when the updated .stl is available.
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 03:47 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