This commit is contained in:
Ivan
2022-04-05 11:42:28 +03:00
commit 6dc0eb0fcf
5565 changed files with 1200500 additions and 0 deletions

View 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

View 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

View 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

View 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