|
Page 1 of 1
|
[ 6 posts ] |
|
Author |
Message |
jaredkpln1
Rookie
Joined: Wed Mar 30, 2016 10:48 am Posts: 4
|
 Ultrasonic Sensor
I am having issues with my student's ultrasonic sensor. The robot always shows very erratic readings, even though it is not moving, or is moving very slowly. Below is a link to see what I mean. https://youtu.be/sx78SSwGnVg Please help.
|
Mon Jan 07, 2019 12:37 pm |
|
 |
jkandra
Rookie
Joined: Thu Sep 25, 2014 8:34 pm Posts: 26
|
 Re: Ultrasonic Sensor
Double-check your motors and sensors setup. Look at the pragmas created by the software. Are you sure the ultrasonic sensor is connected to that port? Is the cable plugged in securely to the sensor and the VEX brick?
|
Tue Jan 15, 2019 11:04 am |
|
 |
jaredkpln1
Rookie
Joined: Wed Mar 30, 2016 10:48 am Posts: 4
|
 Re: Ultrasonic Sensor
Im fairly certain everything is securely connected. This problem is occurring in my other robots as well. I am a teacher and this issue is happening with my student's robots. I am thinking it is something with the hardware since this is the only sensor that is having the issue, it just happens to be an important sensor.
|
Tue Jan 15, 2019 4:31 pm |
|
 |
jkandra
Rookie
Joined: Thu Sep 25, 2014 8:34 pm Posts: 26
|
 Re: Ultrasonic Sensor
Can you post the code (program) that you're using?
|
Fri Jan 18, 2019 10:44 am |
|
 |
jaredkpln1
Rookie
Joined: Wed Mar 30, 2016 10:48 am Posts: 4
|
 Re: Ultrasonic Sensor
1. Set multiple motors (-20, leftmotor, rightmotor) 2. Waituntil Distance sensor < 100 3. Stop all motors
|
Tue Apr 09, 2019 10:09 am |
|
 |
jkandra
Rookie
Joined: Thu Sep 25, 2014 8:34 pm Posts: 26
|
 Re: Ultrasonic Sensor
Can you post the actual RobotC code? (include the pragmas)
|
Wed Apr 10, 2019 12:18 pm |
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|