Go to Post FIRST is the only high-school sport where everyone can become a pro - David Brinza [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 05-01-2015, 06:05 PM
Cinnamon Toast's Avatar
Cinnamon Toast Cinnamon Toast is offline
Registered User
FRC #3641 (The Flying Toasters)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Michigan
Posts: 32
Cinnamon Toast is an unknown quantity at this point
Re: Using an SPI Gyro

Quote:
Originally Posted by slibert View Post
If you haven't already purchased the eval kit for the ADXRS450, please consider also the navX MXP. This was released since the original article you mention above, and is a plug-n-play sensor designed specifically for use w/the RoboRIO. It's a 9-axis sensor (3 gyros, 3 accelerometers, 3 magnetometers) with a motion processor, and it provides accurate, low-drift readings for use in driving straight, as well as field-centric drive. Hundreds of these boards are in use by FIRST FRC teams, and it includes libraries for LabView, Java and C++ as well as examples and other documentation.
I have not gone ahead and bought the ADXRS450 so I'll go ahead and take a look at that! Reading on the website though, it mentioned that the device plugs straight into the MXP port on the roborio. Is it possible to get an extension cord out of the MXP port so I can mount this device somewhere else in the robot? The roborio is at quite the awkward angle right now, and I believe it's actually butted against the battery when in operation. Thank you for the recommendation though!

-Cinnamon Toast
Reply With Quote
  #2   Spotlight this post!  
Unread 05-01-2015, 06:10 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: Using an SPI Gyro

Quote:
Originally Posted by Cinnamon Toast View Post
Reading on the website though, it mentioned that the device plugs straight into the MXP port on the roborio. Is it possible to get an extension cord out of the MXP port so I can mount this device somewhere else in the robot? The roborio is at quite the awkward angle right now, and I believe it's actually butted against the battery when in operation.
See https://code.google.com/p/navxmxp/wi...InstallOptions
Reply With Quote
  #3   Spotlight this post!  
Unread 05-01-2015, 06:34 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: Using an SPI Gyro

Quote:
Originally Posted by Cinnamon Toast View Post
Is it possible to get an extension cord out of the MXP port so I can mount this device somewhere else in the robot?
http://www.andymark.com/product-p/am-2997.htm
Reply With Quote
  #4   Spotlight this post!  
Unread 05-01-2015, 10:18 PM
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 429
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Using an SPI Gyro

We used the ADXRS453 this year and wrote a class in Java to interface with it.

I've described how to use the class in another thread on CD
See the post here: http://www.chiefdelphi.com/forums/sh...94&postcount=4

The port over to C++ should be pretty straight forward.

Feel free to contact me if you have any questions. james [at] team2168.org
__________________
http://team2168.org
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 10:45 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