Go to Post I wonder if the FIRST Place Holiday Party partly consists of watching the site activity.... - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 21-11-2015, 15:03
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: 350
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: Arduino to Roborio coms

navX-MXP includes a number of Java examples for RoboRIO that show how to use it for several uses including Field-Centric Drive, Rotate-to-Angle and Straight-line Driving as well as others. It mounts directly onto the RoboRIO's MXP slot so it's simple to install as well as use. And it comes w/some great tools including a UI that runs on the PC so students can quickly see how its various features work. There's also STL files available for an enclosure that protects it when mounted on the RoboRIO, so you can print that yourself or order that from Shapeways. So it's easy to get this up and running in short order.

If you do want to "roll your own" IMU using the RIODuino and an Invensense MPU-6050, you might want to look at the nav6 source code. The nav6 is the precursor to the navX-MXP, and features an Arudino w/a MPU-6050 6-aixs IMU on it. If you had a shield or a breakout board w/a MPU-6050 on it that could connect the MPU's interrupt pin on it to one of the RIODuino pins, you could adapt the firmware to work. The nav6 used a UART to connect to the CRio, so you could use the same technique to communicate w/your Java robot application on the RoboRIO. Taking this on would be a very educational project, probably best reserved for off-season or for teams w/sufficient resources.

Last edited by slibert : 21-11-2015 at 15:11.
Reply With Quote
 


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 11:50.

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