| radar.range | R Documentation |
Calculates the distance of an object based on the round trip time of an echolocation pulse
radar.range(t, c = soundSpeedMedium(medium = "air"))
t |
Time in seconds |
c |
Speed of sound in transmission medium m/s (by default air) |
Distance to object
radar.range(2)
radar.range(2, c=343)
radar.range(2, c=soundSpeedMedium("sea water"))