Go to the documentation of this file.00001
00002
00003
00004
00005 import subprocess
00006 import rospkg
00007 import time
00008
00009
00010 subprocess.call("reset")
00011
00012
00013 process = subprocess.Popen(['rqt', '--clear-config'])
00014 time.sleep(1)
00015
00016
00017
00018
00019
00020
00021
00022 process = subprocess.Popen(['rqt', '--command-start-plugin', 'rqt_gauges'])
00023 process.wait()
00024
00025
00026 process = subprocess.Popen(['rosparam', 'set', '/rqt_gauges/topic1', '/pitch'])
00027 process = subprocess.Popen(['rosparam', 'set', '/rqt_gauges/gauge_name1', 'Pitch'])
00028
00029
00030 process = subprocess.Popen(['rostopic', 'pub', '-r', '1', '/pitch', 'std_msgs/Float64', '13'])
00031
00032
00033 process = subprocess.Popen(['rqt', '--command-start-plugin', 'rqt_gauges'])
00034 process.wait()
00035
00036
00037 process = subprocess.Popen(['rosparam', 'set', '/rqt_gauges/topic2', '/yaw'])
00038 process = subprocess.Popen(['rosparam', 'set', '/rqt_gauges/gauge_name2', 'Yaw'])
00039
00040
00041 process = subprocess.Popen(['rostopic', 'pub', '-r', '1', '/yaw', 'std_msgs/Float64', '57'])