You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm taking a look at this now and realizing that we already have almost all of this. The distances are properties calleddistance_inches and distance_centimeters, and presence is other_sensor_present. We don't have measuring modes though (I don't fully understand that). Do we want to rename these to be more literal translations?
yeah I'm not sure what ping vs continuous really means...it could only be continuous for so long because eventually you have to return an answer. I just found a youtube video on it....watching
The Advanced XXX mode is similar to the Measure Distance - XXX mode, except that you can choose whether the sensor sends a single ultrasonic signal or continuous signals with the Measuring Mode input. The distance in XXX is output in the Distance.
When in advanced mode you can program the sensor to generate a single ping each time the sensor block is executed. In this mode the sensor is not active unless you are actually reading the sensor value. In continuous ping mode the sensor pings continuously in the background and the latest result is stored in a buffer. When you read the sensor the block accesses the value in this buffer.
continuous means that the ultrasonic sensor is continuously sending out a sound signal. If you have multiple sensors they will interfere with each other. Ping means that the sensor does one measurement and then turns off the speaker. This allows multiple sensors to take turns without interfering with each other.
in order to get the ping to work, you have to set the mode each time you want to ping.
@dwalton76 yeah, I started on it but it wasn't too far along; it was pretty much just a new class with one property, I think. If you have the cycles to take it on, go for it! That would be much appreciated. Otherwise the next available breathing room when I might be able to take this on is the first weeks of December. Apologies for dragging it out!
😖 Yeah, it seems that new work always appears to fill the gaps. I will be carving out some time over the next week or so to knock some things off the list.
Activity
dlech commentedon Sep 20, 2017
dwalton76 commentedon Sep 22, 2017
Any of you guys own one of these? I do not
WasabiFan commentedon Sep 22, 2017
Yeah, I have a few. I'll see if I can find one and implement this later today.
WasabiFan commentedon Sep 27, 2017
I'm taking a look at this now and realizing that we already have almost all of this. The distances are properties called
distance_inchesanddistance_centimeters, and presence isother_sensor_present. We don't have measuring modes though (I don't fully understand that). Do we want to rename these to be more literal translations?dwalton76 commentedon Sep 27, 2017
yeah I'm not sure what
pingvscontinuousreally means...it could only becontinuousfor so long because eventually you have to return an answer. I just found a youtube video on it....watchingdwalton76 commentedon Sep 27, 2017
LOL well the guy in the video said "I haven't really experimented much with the advanced ping vs continuous thing"
dwalton76 commentedon Sep 27, 2017
ok found something
https://forums.usfirst.org/forum/general-discussions/first-programs/first-lego-league/the-challenge/programming-ab/12738-ev3-helpful-hints/page6
dlech commentedon Sep 27, 2017
continuous means that the ultrasonic sensor is continuously sending out a sound signal. If you have multiple sensors they will interfere with each other. Ping means that the sensor does one measurement and then turns off the speaker. This allows multiple sensors to take turns without interfering with each other.
in order to get the ping to work, you have to set the mode each time you want to ping.
dwalton76 commentedon Nov 14, 2017
@WasabiFan I think you started on this one correct? If not I have an UltraSonic sensor now and can take a stab at it.
WasabiFan commentedon Nov 14, 2017
@dwalton76 yeah, I started on it but it wasn't too far along; it was pretty much just a new class with one property, I think. If you have the cycles to take it on, go for it! That would be much appreciated. Otherwise the next available breathing room when I might be able to take this on is the first weeks of December. Apologies for dragging it out!
dwalton76 commentedon Jan 11, 2018
@WasabiFan looks like we both got swamped through December :) I'll take a stab at it
WasabiFan commentedon Jan 11, 2018
😖 Yeah, it seems that new work always appears to fill the gaps. I will be carving out some time over the next week or so to knock some things off the list.
EV3-G API: ultrasonic sensor #364 (#445)