Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs129-21sp
cs129-class-shared
Commits
77068560
Commit
77068560
authored
4 years ago
by
Nicholas A. Ardavin
Browse files
Options
Download
Email Patches
Plain Diff
remove explicit queue_size warning
parent
86cef3dc
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared_demo/scripts/test_ros.py
+1
-1
shared_demo/scripts/test_ros.py
with
1 addition
and
1 deletion
+1
-1
shared_demo/scripts/test_ros.py
View file @
77068560
...
@@ -14,7 +14,7 @@ if __name__ == "__main__":
...
@@ -14,7 +14,7 @@ if __name__ == "__main__":
rospy
.
init_node
(
'test_ros'
)
rospy
.
init_node
(
'test_ros'
)
# Create publisher and set up for timer
# Create publisher and set up for timer
pub
=
rospy
.
Publisher
(
'/current_time'
,
Time
)
pub
=
rospy
.
Publisher
(
'/current_time'
,
Time
,
queue_size
=
10
)
rospy
.
Timer
(
rospy
.
Duration
(
1
),
pub_time
)
rospy
.
Timer
(
rospy
.
Duration
(
1
),
pub_time
)
rospy
.
loginfo
(
'I can talk to roscore!'
)
rospy
.
loginfo
(
'I can talk to roscore!'
)
rospy
.
loginfo
(
'Publishing current time to /current_time'
)
rospy
.
loginfo
(
'Publishing current time to /current_time'
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help