Go to Post Test your code and your assumptions. - ShotgunNinja [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2016, 10:41
MasterSamurai's Avatar
MasterSamurai MasterSamurai is offline
Registered User
AKA: Thomas Contis
FRC #3694 (North Atlanta Warbotz (The 'Staches))
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2015
Location: Atlanta, GA
Posts: 3
MasterSamurai is an unknown quantity at this point
How to program FRC Gyro and Accel 2016?

I am trying to program http://firstchoicebyandymark.com/fc16-000 in Java, but I cannot find any documentation and have no idea how to access values since it uses the Roborio's SPI ports.

How do we access the Gyro and Accelerometer values on the board in Java from the board then?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2016, 11:01
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,719
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to program FRC Gyro and Accel 2016?

See
https://github.com/juchong/ADIS16448-RoboRIO-Driver
for sample Java/C++/LabVIEW code
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2016, 11:34
MasterSamurai's Avatar
MasterSamurai MasterSamurai is offline
Registered User
AKA: Thomas Contis
FRC #3694 (North Atlanta Warbotz (The 'Staches))
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2015
Location: Atlanta, GA
Posts: 3
MasterSamurai is an unknown quantity at this point
Re: How to program FRC Gyro and Accel 2016?

While helpful, we would love Java documentation pertaining to the FRC Accelerometer and Gyro from the link: http://firstchoicebyandymark.com/fc16-000, which is 2016-GYROACCEL
Attached Thumbnails
Click image for larger version

Name:	0000550_sensor-board-accelerometer-gyro-fc16-000_300.jpeg
Views:	20
Size:	13.1 KB
ID:	20062  

Last edited by MasterSamurai : 14-02-2016 at 11:48.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2016, 14:20
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,559
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: How to program FRC Gyro and Accel 2016?

They are both in the wpilib javadocs.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2016, 19:52
MasterSamurai's Avatar
MasterSamurai MasterSamurai is offline
Registered User
AKA: Thomas Contis
FRC #3694 (North Atlanta Warbotz (The 'Staches))
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2015
Location: Atlanta, GA
Posts: 3
MasterSamurai is an unknown quantity at this point
Re: How to program FRC Gyro and Accel 2016?

Ah! Thank you so much, I was being silly
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 08:44.

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