Go to Post Nice going guys!! Not only did you succeed in reviving this thread, but you woke up Dave from his mid summer slumber. Now we are going to get 6 months of pre-kickoff torture!! - Rosiebotboss [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
  #1   Spotlight this post!  
Unread 09-02-2014, 11:54
Maxchrist Maxchrist is offline
Registered User
FRC #4458 (Infernobotix)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Center Moriches, NY
Posts: 10
Maxchrist is an unknown quantity at this point
Using an Analog Ultrasonic Sensor

Hi, I have been trying to use a maxbotix ultrasonic sensor to get a distance using java. The sensor is on an analog channel so it seems that I cannot use the frc api for the ultrasonic sensor. I have the math worked out, and it prints a distance in inches, however the voltage on the sensor is not changing when I move the sensor, which means it is not sending out signals. How can you start the sensor and make it send out sonar signals? Or if I am not going about this the right way, is there a better way to do this? this is what I have so far:
ultra.txt

Last edited by Maxchrist : 09-02-2014 at 12:13.
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 09:30.

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