Go to Post There are always going to be tough calls, and you just have to trust in your officials to do the right thing. - Jeff Waegelin [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
  #4   Spotlight this post!  
Unread 12-02-2012, 03:13
LukeS LukeS is offline
4272 mentor, 1024 alumnus
AKA: Luke Shumaker
FRC #4272
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Indianapolis, IN
Posts: 60
LukeS is an unknown quantity at this point
Re: Trouble with the AXDL345_I2C accelerometer.

Quote:
Originally Posted by wireties View Post
Ours is working (albeit very noisy) with the default code so the library does not need changing.
Thank you, that is good to know. Now, I am curious though, how it works at all if I'm reading the spec sheet correctly.

Quote:
Originally Posted by wireties View Post
- do you have your sidecar power connected?
Yes, as verified by it running several servos (as mentioned), and on all the power LEDs. However, it was pointed out to me shortly before I left today that it had 24V going in to it (it should have 12V), so that may be the issue. My mind is blown that it was properly running the servos at the correct voltage with twice the voltage running in to it.

Quote:
Originally Posted by wireties View Post
- are you sure the accelerometer is not plugged in backwards?
Yes, we must have checked that 100 times today.

Quote:
Originally Posted by wireties View Post
I'm not a java expert but should accel be a pointer if you are going to instantiate the class with 'new'?
In Java anything that's not a primitive (various sized ints, 32&64 bit floats, boolean and char) is automatically a pointer (or "reference" in Java-speak).
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 10:48.

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