v01
This commit is contained in:
5
thirdparty/ros/ros_comm/tools/topic_tools/demos/test_drop
vendored
Executable file
5
thirdparty/ros/ros_comm/tools/topic_tools/demos/test_drop
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
xterm -e "source ~/.bashrc && rosrun roscpp_tutorials talker" &
|
||||
xterm -e "source ~/.bashrc && rosrun roscpp_tutorials listener chatter:=chatter_drop" &
|
||||
# this will make it drop 2 out of 3 messages
|
||||
rosrun topic_tools drop chatter 2 3
|
||||
9
thirdparty/ros/ros_comm/tools/topic_tools/demos/test_mux
vendored
Executable file
9
thirdparty/ros/ros_comm/tools/topic_tools/demos/test_mux
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#xterm -e "roscore" &
|
||||
#sleep 2
|
||||
xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./talker" &
|
||||
sleep 2
|
||||
xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./talker __name:=talker2 chatter:=chatter2" &
|
||||
xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./listener chatter:=chat" &
|
||||
./mux chat chatter chatter2
|
||||
#valgrind -v ./mux chat chatter chatter2
|
||||
6
thirdparty/ros/ros_comm/tools/topic_tools/demos/test_relay
vendored
Executable file
6
thirdparty/ros/ros_comm/tools/topic_tools/demos/test_relay
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
#xterm -e "roscore" &
|
||||
#sleep 2
|
||||
xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./talker" &
|
||||
xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./listener chatter:=chatter_relay" &
|
||||
./relay chatter
|
||||
6
thirdparty/ros/ros_comm/tools/topic_tools/demos/test_throttle
vendored
Executable file
6
thirdparty/ros/ros_comm/tools/topic_tools/demos/test_throttle
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
xterm -e "source ~/.bashrc && rosrun roscpp_tutorials talker" &
|
||||
xterm -e "source ~/.bashrc && rosrun roscpp_tutorials listener chatter:=chatter_throttle" &
|
||||
# this will make it drop 2 out of 3 messages
|
||||
#valgrind rosrun topic_tools throttle chatter 50 1
|
||||
valgrind ./throttle chatter 50 1
|
||||
Reference in New Issue
Block a user