Skip to content

Commit 9e3cea0

Browse files
committed
Incorrect reference to sleep in readme
1 parent 607a552 commit 9e3cea0

File tree

3 files changed

+2
-29
lines changed

3 files changed

+2
-29
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ republishes them as Points.
195195
while ! is_shutdown()
196196
npt = Point(rand(), rand(), 0.0)
197197
publish(pub_obj, npt)
198-
sleep(loop_rate)
198+
rossleep(loop_rate)
199199
end
200200
end
201201

src/time.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#All time related types and functions
22

3-
import Base: convert, isless
3+
import Base: convert, isless, sleep
44
export Time, Duration, Rate, to_sec, to_nsec, get_rostime, rossleep
55

66
#Time type definitions

test/pub.jl

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)