Permalink
Browse files

Added Robot/ROS Status Indicator tool

  • Loading branch information...
1 parent 2effe9c commit 1336e810fd1b977072afb299367ecfe4cd01f2e7 I Heart Robotics committed Aug 31, 2010
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 2.4.6)
+include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
+
+# Append to CPACK_SOURCE_IGNORE_FILES a semicolon-separated list of
+# directories (or patterns, but directories should suffice) that should
+# be excluded from the distro. This is not the place to put things that
+# should be ignored everywhere, like "build" directories; that happens in
+# rosbuild/rosbuild.cmake. Here should be listed packages that aren't
+# ready for inclusion in a distro.
+#
+# This list is combined with the list in rosbuild/rosbuild.cmake. Note
+# that CMake 2.6 may be required to ensure that the two lists are combined
+# properly. CMake 2.4 seems to have unpredictable scoping rules for such
+# variables.
+#list(APPEND CPACK_SOURCE_IGNORE_FILES /core/experimental)
+
+rosbuild_make_distribution(0.1.0)
View
@@ -0,0 +1 @@
+include $(shell rospack find mk)/cmake_stack.mk
@@ -0,0 +1,2 @@
+bin/
+build/
View
@@ -0,0 +1,12 @@
+In Ubuntu 10.04 libindicator has a few issues to say the least.
+
+1) No underscores in topic names
+The most annoying bug is that topics do not contain underscores due to
+https://bugs.launchpad.net/indicator-application/+bug/611943
+
+2) Submenus are disables due to horrible performance, lack of signals and being displayed in the reverse order.
+https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/564034
+
+3) Other stupid bugs
+"Remove from Panel" removes all the indicators
+set_state(gtk.STATE_NORMAL) does not replace set_state(gtk.STATE_INACTIVE)
@@ -0,0 +1,30 @@
+cmake_minimum_required(VERSION 2.4.6)
+include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
+
+# Set the build type. Options are:
+# Coverage : w/ debug symbols, w/o optimization, w/ code-coverage
+# Debug : w/ debug symbols, w/o optimization
+# Release : w/o debug symbols, w/ optimization
+# RelWithDebInfo : w/ debug symbols, w/ optimization
+# MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries
+#set(ROS_BUILD_TYPE RelWithDebInfo)
+
+rosbuild_init()
+
+#set the default path for built executables to the "bin" directory
+set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
+#set the default path for built libraries to the "lib" directory
+set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
+
+#uncomment if you have defined messages
+#rosbuild_genmsg()
+#uncomment if you have defined services
+#rosbuild_gensrv()
+
+#common commands for building c++ executables and libraries
+#rosbuild_add_library(${PROJECT_NAME} src/example.cpp)
+#target_link_libraries(${PROJECT_NAME} another_library)
+#rosbuild_add_boost_directories()
+#rosbuild_link_boost(${PROJECT_NAME} thread)
+#rosbuild_add_executable(example examples/example.cpp)
+#target_link_libraries(example ${PROJECT_NAME})
@@ -0,0 +1 @@
+include $(shell rospack find mk)/cmake.mk
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.0" width="22" height="22" id="svg3459" inkscape:version="0.47 r22583" sodipodi:docname="rind-green.svg">
+<metadata id="metadata27444">
+<rdf:RDF>
+<cc:Work rdf:about="">
+<dc:format>image/svg+xml</dc:format>
+<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+<dc:title></dc:title>
+</cc:Work>
+</rdf:RDF>
+</metadata>
+<sodipodi:namedview pagecolor="#ffff47" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0.38431373" inkscape:pageshadow="2" inkscape:window-width="1680" inkscape:window-height="975" id="namedview27442" showgrid="true" inkscape:zoom="33.045455" inkscape:cx="11" inkscape:cy="11" inkscape:window-x="0" inkscape:window-y="24" inkscape:window-maximized="1" inkscape:current-layer="g28442">
+<inkscape:grid type="xygrid" id="grid27520" empspacing="5" visible="true" enabled="true" snapvisiblegridlinesonly="true" />
+</sodipodi:namedview>
+<defs id="defs3461">
+<linearGradient id="linearGradient28434">
+<stop style="stop-color:#ffffff;stop-opacity:1;" offset="0" id="stop28436" />
+<stop style="stop-color:#ffffff;stop-opacity:0;" offset="1" id="stop28438" />
+</linearGradient>
+<linearGradient id="linearGradient28336">
+<stop id="stop28338" offset="0" style="stop-color:#f9f9f9;stop-opacity:1;" />
+<stop id="stop28340" offset="1" style="stop-color:#5e6c3d;stop-opacity:1;" />
+</linearGradient>
+<linearGradient id="linearGradient28328">
+<stop style="stop-color:#bfbfbf;stop-opacity:1;" offset="0" id="stop28330" />
+<stop style="stop-color:#5b5b5b;stop-opacity:0;" offset="1" id="stop28332" />
+</linearGradient>
+<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 11 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="22 : 11 : 1" inkscape:persp3d-origin="11 : 7.3333333 : 1" id="perspective27446" />
+<inkscape:perspective id="perspective28314" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d" />
+<inkscape:perspective id="perspective28356" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d" />
+<inkscape:perspective id="perspective4411" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d" />
+<inkscape:perspective id="perspective4451" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d" />
+<inkscape:perspective id="perspective4477" inkscape:persp3d-origin="0.5 : 0.33333333 : 1" inkscape:vp_z="1 : 0.5 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_x="0 : 0.5 : 1" sodipodi:type="inkscape:persp3d" />
+</defs>
+<g id="g28442-7" transform="matrix(0.90909093,0,0,0.90909093,0.99999966,0.9090907)" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.3">
+<path d="m 7.9501899,5.8251392 c 0,0.6765402 -0.5485548,1.2250949 -1.2250949,1.2250949 -0.6765402,0 -1.2250949,-0.5485547 -1.2250949,-1.2250949 0,-0.6765401 0.5485547,-1.2250949 1.2250949,-1.2250949 0.6765401,0 1.2250949,0.5485548 1.2250949,1.2250949 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2912-1" />
+<path d="m 7.9501899,10 c 0,0.676541 -0.5485548,1.225095 -1.2250949,1.225095 -0.6765402,0 -1.2250949,-0.548554 -1.2250949,-1.225095 0,-0.6765396 0.5485547,-1.2250944 1.2250949,-1.2250944 0.6765401,0 1.2250949,0.5485548 1.2250949,1.2250944 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2914-4" />
+<path d="m 7.9501899,14.174862 c 0,0.67654 -0.5485548,1.225095 -1.2250949,1.225095 -0.6765402,0 -1.2250949,-0.548555 -1.2250949,-1.225095 0,-0.67654 0.5485547,-1.225095 1.2250949,-1.225095 0.6765401,0 1.2250949,0.548555 1.2250949,1.225095 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2916-9" />
+<path d="m 12.225095,10 c 0,0.676541 -0.548555,1.225095 -1.225095,1.225095 -0.67654,0 -1.2250948,-0.548554 -1.2250948,-1.225095 0,-0.6765396 0.5485548,-1.2250944 1.2250948,-1.2250944 0.67654,0 1.225095,0.5485548 1.225095,1.2250944 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2918-7" />
+<path d="m 12.225095,5.8251392 c 0,0.6765402 -0.548555,1.2250949 -1.225095,1.2250949 -0.67654,0 -1.2250948,-0.5485547 -1.2250948,-1.2250949 0,-0.6765401 0.5485548,-1.2250949 1.2250948,-1.2250949 0.67654,0 1.225095,0.5485548 1.225095,1.2250949 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2920-8" />
+<path d="m 16.5,10 c 0,0.676541 -0.548555,1.225095 -1.225095,1.225095 -0.67654,0 -1.225095,-0.548554 -1.225095,-1.225095 0,-0.6765396 0.548555,-1.2250944 1.225095,-1.2250944 C 15.951445,8.7749056 16.5,9.3234604 16.5,10 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2922-7" />
+<path d="m 16.5,5.8251392 c 0,0.6765402 -0.548555,1.2250949 -1.225095,1.2250949 -0.67654,0 -1.225095,-0.5485547 -1.225095,-1.2250949 0,-0.6765401 0.548555,-1.2250949 1.225095,-1.2250949 0.67654,0 1.225095,0.5485548 1.225095,1.2250949 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2924-7" />
+<path d="m 16.5,14.174862 c 0,0.67654 -0.548555,1.225095 -1.225095,1.225095 -0.67654,0 -1.225095,-0.548555 -1.225095,-1.225095 0,-0.67654 0.548555,-1.225095 1.225095,-1.225095 0.67654,0 1.225095,0.548555 1.225095,1.225095 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2926-2" />
+<path d="m 12.225095,14.174862 c 0,0.67654 -0.548555,1.225095 -1.225095,1.225095 -0.67654,0 -1.2250948,-0.548555 -1.2250948,-1.225095 0,-0.67654 0.5485548,-1.225095 1.2250948,-1.225095 0.67654,0 1.225095,0.548555 1.225095,1.225095 z" style="fill:none;stroke:#ffffff;stroke-width:0.55000000999999998;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path2928-2" />
+</g>
+<path style="opacity:1;fill:#dfd8c8;fill-opacity:1;stroke:none;stroke-width:0.50000000000000000;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round" d="M 4,2 C 2,2 2,4 2,4 l 0,12 c 0,2 2,2 2,2 l 5,0 -2,1 -2,0 0,1 12,0 0,-1 -2,0 -2,-1 5,0 c 2,0 2,-2 2,-2 L 20,4 C 20,2 18,2 18,2 L 4,2 z M 4,4 18,4 18,16 4,16 4,4 z" id="rect28429" sodipodi:nodetypes="cccccccccccccccccccccc" />
+<g id="g28442" transform="matrix(0.90909093,0,0,0.90909093,0.99999973,0.90909073)">
+<path d="m 7.9501899,5.8251392 c 0,0.6765402 -0.5485548,1.2250949 -1.2250949,1.2250949 -0.6765402,0 -1.2250949,-0.5485547 -1.2250949,-1.2250949 0,-0.6765401 0.5485547,-1.2250949 1.2250949,-1.2250949 0.6765401,0 1.2250949,0.5485548 1.2250949,1.2250949 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2912" />
+<path d="m 7.9501899,10 c 0,0.676541 -0.5485548,1.225095 -1.2250949,1.225095 -0.6765402,0 -1.2250949,-0.548554 -1.2250949,-1.225095 0,-0.6765396 0.5485547,-1.2250944 1.2250949,-1.2250944 0.6765401,0 1.2250949,0.5485548 1.2250949,1.2250944 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2914" />
+<path d="m 7.9501899,14.174862 c 0,0.67654 -0.5485548,1.225095 -1.2250949,1.225095 -0.6765402,0 -1.2250949,-0.548555 -1.2250949,-1.225095 0,-0.67654 0.5485547,-1.225095 1.2250949,-1.225095 0.6765401,0 1.2250949,0.548555 1.2250949,1.225095 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2916" />
+<path d="m 12.225095,10 c 0,0.676541 -0.548555,1.225095 -1.225095,1.225095 -0.67654,0 -1.2250948,-0.548554 -1.2250948,-1.225095 0,-0.6765396 0.5485548,-1.2250944 1.2250948,-1.2250944 0.67654,0 1.225095,0.5485548 1.225095,1.2250944 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2918" />
+<path d="m 12.225095,5.8251392 c 0,0.6765402 -0.548555,1.2250949 -1.225095,1.2250949 -0.67654,0 -1.2250948,-0.5485547 -1.2250948,-1.2250949 0,-0.6765401 0.5485548,-1.2250949 1.2250948,-1.2250949 0.67654,0 1.225095,0.5485548 1.225095,1.2250949 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2920" />
+<path d="m 16.5,10 c 0,0.676541 -0.548555,1.225095 -1.225095,1.225095 -0.67654,0 -1.225095,-0.548554 -1.225095,-1.225095 0,-0.6765396 0.548555,-1.2250944 1.225095,-1.2250944 C 15.951445,8.7749056 16.5,9.3234604 16.5,10 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2922" />
+<path d="m 16.5,5.8251392 c 0,0.6765402 -0.548555,1.2250949 -1.225095,1.2250949 -0.67654,0 -1.225095,-0.5485547 -1.225095,-1.2250949 0,-0.6765401 0.548555,-1.2250949 1.225095,-1.2250949 0.67654,0 1.225095,0.5485548 1.225095,1.2250949 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2924" />
+<path d="m 16.5,14.174862 c 0,0.67654 -0.548555,1.225095 -1.225095,1.225095 -0.67654,0 -1.225095,-0.548555 -1.225095,-1.225095 0,-0.67654 0.548555,-1.225095 1.225095,-1.225095 0.67654,0 1.225095,0.548555 1.225095,1.225095 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2926" />
+<path d="m 12.225095,14.174862 c 0,0.67654 -0.548555,1.225095 -1.225095,1.225095 -0.67654,0 -1.2250948,-0.548555 -1.2250948,-1.225095 0,-0.67654 0.5485548,-1.225095 1.2250948,-1.225095 0.67654,0 1.225095,0.548555 1.225095,1.225095 z" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path2928" />
+</g>
+<rect style="opacity:0.3;fill:none;stroke:#ffffff;stroke-width:0.48137331;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="rect28346-1" width="13.518627" height="11.518626" x="4.2406864" y="4.2406874" />
+<path style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;opacity:0.6;color:#000000;fill:#43423e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:'.Aqua Kana';-inkscape-font-specification:'.Aqua Kana'" d="M 4,2 C 2.916667,2 2.311064,2.5653715 2.03125,3.125 1.751436,3.6846285 1.75,4.25 1.75,4.25 l 0,12 c 0,1.083333 0.565372,1.688936 1.125,1.96875 C 3.434628,18.498564 4,18.5 4,18.5 l 3.9375,0 -1,0.5 L 5,19 c -0.08801,-7.83e-4 -0.174741,0.04878 -0.21875,0.125 -0.0165,0.02876 -0.02719,0.06084 -0.03125,0.09375 -6.51e-4,0.0104 -6.51e-4,0.02085 0,0.03125 l 0,1 c -0.0026,0.02072 -0.0026,0.04178 0,0.0625 0.02092,0.09079 0.09671,0.166581 0.1875,0.1875 0.02072,0.0026 0.04178,0.0026 0.0625,0 l 12,0 c 0.0104,6.51e-4 0.02085,6.51e-4 0.03125,0 0.03291,-0.0041 0.06499,-0.01475 0.09375,-0.03125 0.01131,-0.0095 0.02178,-0.01994 0.03125,-0.03125 0.04921,-0.03799 0.08339,-0.09495 0.09375,-0.15625 6.51e-4,-0.0104 6.51e-4,-0.02085 0,-0.03125 l 0,-1 C 17.2479,19.19283 17.22539,19.136621 17.1875,19.09375 17.178,19.08244 17.16756,19.07197 17.15625,19.0625 17.13701,19.04923 17.11591,19.03868 17.09375,19.03125 17.064985,19.014754 17.032909,19.004062 17,19 L 15.03125,19 15,19 14.03125,18.5 18,18.5 c 1.083333,0 1.688936,-0.565371 1.96875,-1.125 C 20.248564,16.815372 20.25,16.25 20.25,16.25 l 0,-12 C 20.25,3.1666667 19.653378,2.5610642 19.09375,2.28125 18.534121,2.0014358 18,2 18,2 L 4,2 z m 0,0.5 14,0 c 0,0 0.434628,-0.00144 0.875,0.21875 0.440371,0.2201858 0.875,0.6145833 0.875,1.53125 l 0,12 c 0,0 0.0014,0.434628 -0.21875,0.875 C 19.311064,17.565371 18.916667,18 18,18 l -5,0 c -0.08801,-7.83e-4 -0.174741,0.04878 -0.21875,0.125 -0.0165,0.02876 -0.02719,0.06084 -0.03125,0.09375 -0.01053,0.04078 -0.01053,0.08422 0,0.125 0.02478,0.05489 0.07011,0.100218 0.125,0.125 l 2,1 c 0.01924,0.01327 0.04034,0.02382 0.0625,0.03125 0.02072,0.0026 0.04178,0.0026 0.0625,0 l 1.75,0 0,0.5 -11.5,0 0,-0.5 1.75,0 c 0.0104,6.51e-4 0.02085,6.51e-4 0.03125,0 0.02216,-0.0074 0.04326,-0.01798 0.0625,-0.03125 L 9,18.5 9.09375,18.46875 C 9.11591,18.46135 9.13701,18.45077 9.15625,18.4375 9.16756,18.428 9.17803,18.41756 9.1875,18.40625 9.26648,18.30681 9.25187,18.14607 9.15625,18.0625 9.13701,18.04923 9.11591,18.03868 9.09375,18.03125 9.064986,18.014754 9.032909,18.004062 9,18 L 4,18 C 4,18 3.534122,18.0014 3.09375,17.78125 2.653378,17.561064 2.25,17.166667 2.25,16.25 l 0,-12 c 0,0 -0.0014,-0.4346285 0.21875,-0.875 C 2.688936,2.9346285 3.083333,2.5 4,2.5 z" id="rect28429-5" sodipodi:nodetypes="csccsccccssccssccssssccssscccccsccsccccsccsccsssccsccccccscccssssccsccsc" />
+</svg>
Oops, something went wrong.

0 comments on commit 1336e81

Please sign in to comment.