Go to Post Car Nack called. He said get off his lawn. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-01-2008, 11:05
couldntthinkofa couldntthinkofa is offline
Registered User
no team
 
Join Date: Jan 2008
Location: dallas
Posts: 1
couldntthinkofa is an unknown quantity at this point
Exclamation ultrasonic sensor problems...

i can't figure out how to work the ultrasonic sensor. it works just fine when i use the test program on easyC but i cant get it to work on any of the others. i did everything that the manual said and googled it but it still wont work. can anyone help me?

Can you be a little more specific in your description? it says what it is supposed to and shows the sensor is working when i download the test code(it shows on the terminal window)

Does the sensor work with the test program? yes

What are you trying to do with your program? avoid obstacles

Can you post your program? if i could i wouldn't know how, just joined

Are you using EasyC or another compliler? im using EasyC

Are you using the IFI or Vex controller?what is IFI?

Last edited by couldntthinkofa : 05-01-2008 at 11:17.
  #2   Spotlight this post!  
Unread 05-01-2008, 11:15
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,387
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: ultrasonic sensor problems...

Can you be a little more specific in your description?

Does the sensor work with the test program?

What are you trying to do with your program?

Can you post your program?

Are you using EasyC or another compliler?

Are you using the IFI or Vex controller?

You need to give as much information as possible when asking a question. Saying its broken and you googled does not help much. A good guide to asking questions is here: How To Ask Questions The Smart Way
  #3   Spotlight this post!  
Unread 05-01-2008, 12:29
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,387
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: ultrasonic sensor problems...

A much better start....

From your note I get that you use EasyC with the Vex controller. You did the sample program and the Ultrasonic part works. You are now trying to write your own robot code to avoid things.

1)Is the Ultrasonic plugged in the same way as it was for the test program?

2)Do you have the same set of ultrasonic calls in your program, in the same order?

3)Did you try putting a PrintToScreen after the GetUltrasonic call to see if you are getting a value back?
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming ultrasonic sensor in MPlab AdamHeard FIRST Tech Challenge 1 09-05-2006 00:40
VEX Ultrasonic Sensor delay P1h3r1e3d13 Programming 4 28-03-2006 13:45
Ultrasonic Sensor output Dillon Compton Programming 5 03-02-2006 10:20
Ultrasonic Sensor winners Programming 3 02-01-2006 20:55
Using and Coding an ultrasonic sensor Jaine Perotti General Forum 14 06-08-2004 14:13


All times are GMT -5. The time now is 09:15.

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