Skip to content

Commit

Permalink
[jsk_network_tools] Add event_driven mode to lowspeed streamer
Browse files Browse the repository at this point in the history
  • Loading branch information
garaemon committed Feb 19, 2015
1 parent 9361d80 commit e3f4b03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions jsk_network_tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ Features of `silverhammer_lowspeed_{streamer,receiver}.py` are:
* `~send_rate` (default: `1`)

Fixed rate in Hz to send message.
* `~event_driven` (default: `False`)

Streamer sends UDP packet immediately `~input` topic is published.
#### `silverhammer_lowspeed_receiver.py`
##### Publishing Topics
* `~output`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self):
self.to_port = rospy.get_param("~to_port", 1024)
self.to_ip = rospy.get_param("~to_ip", "127.0.0.1")
self.send_rate = rospy.get_param("~send_rate", 1)
self.event_driven = rospy.get_param("~event_driven", True)
self.event_driven = rospy.get_param("~event_driven", False)
self.latest_message = None
self.socket_client = socket(AF_INET, SOCK_DGRAM)
self.send_format = msgToStructFormat(self.send_message())
Expand Down

0 comments on commit e3f4b03

Please sign in to comment.