00001
00002
00003
00004
00005
00006
00007 import rospy
00008 import math
00009 from jsk_rviz_plugins.msg import Pictogram, PictogramArray
00010 from random import random, choice
00011 rospy.init_node("pictogram_all_sample")
00012 p = rospy.Publisher("/pictogram_array", PictogramArray)
00013
00014 r = rospy.Rate(1)
00015 actions = [Pictogram.JUMP, Pictogram.JUMP_ONCE, Pictogram.ADD,
00016 Pictogram.ROTATE_X, Pictogram.ROTATE_Y, Pictogram.ROTATE_Z]
00017 pictograms = ["phone",
00018 "mobile",
00019 "mouse",
00020 "address",
00021 "mail",
00022 "paper-plane",
00023 "pencil",
00024 "feather",
00025 "attach",
00026 "inbox",
00027 "reply",
00028 "reply-all",
00029 "forward",
00030 "user",
00031 "users",
00032 "add-user",
00033 "vcard",
00034 "export",
00035 "location",
00036 "map",
00037 "compass",
00038 "direction",
00039 "hair-cross",
00040 "share",
00041 "shareable",
00042 "heart",
00043 "heart-empty",
00044 "star",
00045 "star-empty",
00046 "thumbs-up",
00047 "thumbs-down",
00048 "chat",
00049 "comment",
00050 "quote",
00051 "home",
00052 "popup",
00053 "search",
00054 "flashlight",
00055 "print",
00056 "bell",
00057 "link",
00058 "flag",
00059 "cog",
00060 "tools",
00061 "trophy",
00062 "tag",
00063 "camera",
00064 "megaphone",
00065 "moon",
00066 "palette",
00067 "leaf",
00068 "note",
00069 "beamed-note",
00070 "new",
00071 "graduation-cap",
00072 "book",
00073 "newspaper",
00074 "bag",
00075 "airplane",
00076 "lifebuoy",
00077 "eye",
00078 "clock",
00079 "mic",
00080 "calendar",
00081 "flash",
00082 "thunder-cloud",
00083 "droplet",
00084 "cd",
00085 "briefcase",
00086 "air",
00087 "hourglass",
00088 "gauge",
00089 "language",
00090 "network",
00091 "key",
00092 "battery",
00093 "bucket",
00094 "magnet",
00095 "drive",
00096 "cup",
00097 "rocket",
00098 "brush",
00099 "suitcase",
00100 "traffic-cone",
00101 "globe",
00102 "keyboard",
00103 "browser",
00104 "publish",
00105 "progress-3",
00106 "progress-2",
00107 "progress-1",
00108 "progress-0",
00109 "light-down",
00110 "light-up",
00111 "adjust",
00112 "code",
00113 "monitor",
00114 "infinity",
00115 "light-bulb",
00116 "credit-card",
00117 "database",
00118 "voicemail",
00119 "clipboard",
00120 "cart",
00121 "box",
00122 "ticket",
00123 "rss",
00124 "signal",
00125 "thermometer",
00126 "water",
00127 "sweden",
00128 "line-graph",
00129 "pie-chart",
00130 "bar-graph",
00131 "area-graph",
00132 "lock",
00133 "lock-open",
00134 "logout",
00135 "login",
00136 "check",
00137 "cross",
00138 "squared-minus",
00139 "squared-plus",
00140 "squared-cross",
00141 "circled-minus",
00142 "circled-plus",
00143 "circled-cross",
00144 "minus",
00145 "plus",
00146 "erase",
00147 "block",
00148 "info",
00149 "circled-info",
00150 "help",
00151 "circled-help",
00152 "warning",
00153 "cycle",
00154 "cw",
00155 "ccw",
00156 "shuffle",
00157 "back",
00158 "level-down",
00159 "retweet",
00160 "loop",
00161 "back-in-time",
00162 "level-up",
00163 "switch",
00164 "numbered-list",
00165 "add-to-list",
00166 "layout",
00167 "list",
00168 "text-doc",
00169 "text-doc-inverted",
00170 "doc",
00171 "docs",
00172 "landscape-doc",
00173 "picture",
00174 "video",
00175 "music",
00176 "folder",
00177 "archive",
00178 "trash",
00179 "upload",
00180 "download",
00181 "save",
00182 "install",
00183 "cloud",
00184 "upload-cloud",
00185 "bookmark",
00186 "bookmarks",
00187 "open-book",
00188 "play",
00189 "paus",
00190 "record",
00191 "stop",
00192 "ff",
00193 "fb",
00194 "to-start",
00195 "to-end",
00196 "resize-full",
00197 "resize-small",
00198 "volume",
00199 "sound",
00200 "mute",
00201 "flow-cascade",
00202 "flow-branch",
00203 "flow-tree",
00204 "flow-line",
00205 "flow-parallel",
00206 "left-bold",
00207 "down-bold",
00208 "up-bold",
00209 "right-bold",
00210 "left",
00211 "down",
00212 "up",
00213 "right",
00214 "circled-left",
00215 "circled-down",
00216 "circled-up",
00217 "circled-right",
00218 "triangle-left",
00219 "triangle-down",
00220 "triangle-up",
00221 "triangle-right",
00222 "chevron-left",
00223 "chevron-down",
00224 "chevron-up",
00225 "chevron-right",
00226 "chevron-small-left",
00227 "chevron-small-down",
00228 "chevron-small-up",
00229 "chevron-small-right",
00230 "chevron-thin-left",
00231 "chevron-thin-down",
00232 "chevron-thin-up",
00233 "chevron-thin-right",
00234 "left-thin",
00235 "down-thin",
00236 "up-thin",
00237 "right-thin",
00238 "arrow-combo",
00239 "three-dots",
00240 "two-dots",
00241 "dot",
00242 "cc",
00243 "cc-by",
00244 "cc-nc",
00245 "cc-nc-eu",
00246 "cc-nc-jp",
00247 "cc-sa",
00248 "cc-nd",
00249 "cc-pd",
00250 "cc-zero",
00251 "cc-share",
00252 "cc-remix",
00253 "db-logo",
00254 "db-shape",
00255 "github",
00256 "c-github",
00257 "flickr",
00258 "c-flickr",
00259 "vimeo",
00260 "c-vimeo",
00261 "twitter",
00262 "c-twitter",
00263 "facebook",
00264 "c-facebook",
00265 "s-facebook",
00266 "google+",
00267 "c-google+",
00268 "pinterest",
00269 "c-pinterest",
00270 "tumblr",
00271 "c-tumblr",
00272 "linkedin",
00273 "c-linkedin",
00274 "dribbble",
00275 "c-dribbble",
00276 "stumbleupon",
00277 "c-stumbleupon",
00278 "lastfm",
00279 "c-lastfm",
00280 "rdio",
00281 "c-rdio",
00282 "spotify",
00283 "c-spotify",
00284 "qq",
00285 "instagram",
00286 "dropbox",
00287 "evernote",
00288 "flattr",
00289 "skype",
00290 "c-skype",
00291 "renren",
00292 "sina-weibo",
00293 "paypal",
00294 "picasa",
00295 "soundcloud",
00296 "mixi",
00297 "behance",
00298 "google-circles",
00299 "vk",
00300 "smashing",
00301 "fa-adjust",
00302 "fa-adn",
00303 "fa-align-center",
00304 "fa-align-justify",
00305 "fa-align-left",
00306 "fa-align-right",
00307 "fa-ambulance",
00308 "fa-anchor",
00309 "fa-android",
00310 "fa-angellist",
00311 "fa-angle-double-down",
00312 "fa-angle-double-left",
00313 "fa-angle-double-right",
00314 "fa-angle-double-up",
00315 "fa-angle-down",
00316 "fa-angle-left",
00317 "fa-angle-right",
00318 "fa-angle-up",
00319 "fa-apple",
00320 "fa-archive",
00321 "fa-area-chart",
00322 "fa-arrow-circle-down",
00323 "fa-arrow-circle-left",
00324 "fa-arrow-circle-o-down",
00325 "fa-arrow-circle-o-left",
00326 "fa-arrow-circle-o-right",
00327 "fa-arrow-circle-o-up",
00328 "fa-arrow-circle-right",
00329 "fa-arrow-circle-up",
00330 "fa-arrow-down",
00331 "fa-arrow-left",
00332 "fa-arrow-right",
00333 "fa-arrow-up",
00334 "fa-arrows",
00335 "fa-arrows-alt",
00336 "fa-arrows-h",
00337 "fa-arrows-v",
00338 "fa-asterisk",
00339 "fa-at",
00340 "fa-automobile",
00341 "fa-backward",
00342 "fa-ban",
00343 "fa-bank",
00344 "fa-bar-chart",
00345 "fa-bar-chart-o",
00346 "fa-barcode",
00347 "fa-bars",
00348 "fa-beer",
00349 "fa-behance",
00350 "fa-behance-square",
00351 "fa-bell",
00352 "fa-bell-o",
00353 "fa-bell-slash",
00354 "fa-bell-slash-o",
00355 "fa-bicycle",
00356 "fa-binoculars",
00357 "fa-birthday-cake",
00358 "fa-bitbucket",
00359 "fa-bitbucket-square",
00360 "fa-bitcoin",
00361 "fa-bold",
00362 "fa-bolt",
00363 "fa-bomb",
00364 "fa-book",
00365 "fa-bookmark",
00366 "fa-bookmark-o",
00367 "fa-briefcase",
00368 "fa-btc",
00369 "fa-bug",
00370 "fa-building",
00371 "fa-building-o",
00372 "fa-bullhorn",
00373 "fa-bullseye",
00374 "fa-bus",
00375 "fa-cab",
00376 "fa-calculator",
00377 "fa-calendar",
00378 "fa-calendar-o",
00379 "fa-camera",
00380 "fa-camera-retro",
00381 "fa-car",
00382 "fa-caret-down",
00383 "fa-caret-left",
00384 "fa-caret-right",
00385 "fa-caret-square-o-down",
00386 "fa-caret-square-o-left",
00387 "fa-caret-square-o-right",
00388 "fa-caret-square-o-up",
00389 "fa-caret-up",
00390 "fa-cc",
00391 "fa-cc-amex",
00392 "fa-cc-discover",
00393 "fa-cc-mastercard",
00394 "fa-cc-paypal",
00395 "fa-cc-stripe",
00396 "fa-cc-visa",
00397 "fa-certificate",
00398 "fa-chain",
00399 "fa-chain-broken",
00400 "fa-check",
00401 "fa-check-circle",
00402 "fa-check-circle-o",
00403 "fa-check-square",
00404 "fa-check-square-o",
00405 "fa-chevron-circle-down",
00406 "fa-chevron-circle-left",
00407 "fa-chevron-circle-right",
00408 "fa-chevron-circle-up",
00409 "fa-chevron-down",
00410 "fa-chevron-left",
00411 "fa-chevron-right",
00412 "fa-chevron-up",
00413 "fa-child",
00414 "fa-circle",
00415 "fa-circle-o",
00416 "fa-circle-o-notch",
00417 "fa-circle-thin",
00418 "fa-clipboard",
00419 "fa-clock-o",
00420 "fa-close",
00421 "fa-cloud",
00422 "fa-cloud-download",
00423 "fa-cloud-upload",
00424 "fa-cny",
00425 "fa-code",
00426 "fa-code-fork",
00427 "fa-codepen",
00428 "fa-coffee",
00429 "fa-cog",
00430 "fa-cogs",
00431 "fa-columns",
00432 "fa-comment",
00433 "fa-comment-o",
00434 "fa-comments",
00435 "fa-comments-o",
00436 "fa-compass",
00437 "fa-compress",
00438 "fa-copy",
00439 "fa-copyright",
00440 "fa-credit-card",
00441 "fa-crop",
00442 "fa-crosshairs",
00443 "fa-css3",
00444 "fa-cube",
00445 "fa-cubes",
00446 "fa-cut",
00447 "fa-cutlery",
00448 "fa-dashboard",
00449 "fa-database",
00450 "fa-dedent",
00451 "fa-delicious",
00452 "fa-desktop",
00453 "fa-deviantart",
00454 "fa-digg",
00455 "fa-dollar",
00456 "fa-dot-circle-o",
00457 "fa-download",
00458 "fa-dribbble",
00459 "fa-dropbox",
00460 "fa-drupal",
00461 "fa-edit",
00462 "fa-eject",
00463 "fa-ellipsis-h",
00464 "fa-ellipsis-v",
00465 "fa-empire",
00466 "fa-envelope",
00467 "fa-envelope-o",
00468 "fa-envelope-square",
00469 "fa-eraser",
00470 "fa-eur",
00471 "fa-euro",
00472 "fa-exchange",
00473 "fa-exclamation",
00474 "fa-exclamation-circle",
00475 "fa-exclamation-triangle",
00476 "fa-expand",
00477 "fa-external-link",
00478 "fa-external-link-square",
00479 "fa-eye",
00480 "fa-eye-slash",
00481 "fa-eyedropper",
00482 "fa-facebook",
00483 "fa-facebook-square",
00484 "fa-fast-backward",
00485 "fa-fast-forward",
00486 "fa-fax",
00487 "fa-female",
00488 "fa-fighter-jet",
00489 "fa-file",
00490 "fa-file-archive-o",
00491 "fa-file-audio-o",
00492 "fa-file-code-o",
00493 "fa-file-excel-o",
00494 "fa-file-image-o",
00495 "fa-file-movie-o",
00496 "fa-file-o",
00497 "fa-file-pdf-o",
00498 "fa-file-photo-o",
00499 "fa-file-picture-o",
00500 "fa-file-powerpoint-o",
00501 "fa-file-sound-o",
00502 "fa-file-text",
00503 "fa-file-text-o",
00504 "fa-file-video-o",
00505 "fa-file-word-o",
00506 "fa-file-zip-o",
00507 "fa-files-o",
00508 "fa-film",
00509 "fa-filter",
00510 "fa-fire",
00511 "fa-fire-extinguisher",
00512 "fa-flag",
00513 "fa-flag-checkered",
00514 "fa-flag-o",
00515 "fa-flash",
00516 "fa-flask",
00517 "fa-flickr",
00518 "fa-floppy-o",
00519 "fa-folder",
00520 "fa-folder-o",
00521 "fa-folder-open",
00522 "fa-folder-open-o",
00523 "fa-font",
00524 "fa-forward",
00525 "fa-foursquare",
00526 "fa-frown-o",
00527 "fa-futbol-o",
00528 "fa-gamepad",
00529 "fa-gavel",
00530 "fa-gbp",
00531 "fa-ge",
00532 "fa-gear",
00533 "fa-gears",
00534 "fa-gift",
00535 "fa-git",
00536 "fa-git-square",
00537 "fa-github",
00538 "fa-github-alt",
00539 "fa-github-square",
00540 "fa-gittip",
00541 "fa-glass",
00542 "fa-globe",
00543 "fa-google",
00544 "fa-google-plus",
00545 "fa-google-plus-square",
00546 "fa-google-wallet",
00547 "fa-graduation-cap",
00548 "fa-group",
00549 "fa-h-square",
00550 "fa-hacker-news",
00551 "fa-hand-o-down",
00552 "fa-hand-o-left",
00553 "fa-hand-o-right",
00554 "fa-hand-o-up",
00555 "fa-hdd-o",
00556 "fa-header",
00557 "fa-headphones",
00558 "fa-heart",
00559 "fa-heart-o",
00560 "fa-history",
00561 "fa-home",
00562 "fa-hospital-o",
00563 "fa-html5",
00564 "fa-ils",
00565 "fa-image",
00566 "fa-inbox",
00567 "fa-indent",
00568 "fa-info",
00569 "fa-info-circle",
00570 "fa-inr",
00571 "fa-instagram",
00572 "fa-institution",
00573 "fa-ioxhost",
00574 "fa-italic",
00575 "fa-joomla",
00576 "fa-jpy",
00577 "fa-jsfiddle",
00578 "fa-key",
00579 "fa-keyboard-o",
00580 "fa-krw",
00581 "fa-language",
00582 "fa-laptop",
00583 "fa-lastfm",
00584 "fa-lastfm-square",
00585 "fa-leaf",
00586 "fa-legal",
00587 "fa-lemon-o",
00588 "fa-level-down",
00589 "fa-level-up",
00590 "fa-life-bouy",
00591 "fa-life-buoy",
00592 "fa-life-ring",
00593 "fa-life-saver",
00594 "fa-lightbulb-o",
00595 "fa-line-chart",
00596 "fa-link",
00597 "fa-linkedin",
00598 "fa-linkedin-square",
00599 "fa-linux",
00600 "fa-list",
00601 "fa-list-alt",
00602 "fa-list-ol",
00603 "fa-list-ul",
00604 "fa-location-arrow",
00605 "fa-lock",
00606 "fa-long-arrow-down",
00607 "fa-long-arrow-left",
00608 "fa-long-arrow-right",
00609 "fa-long-arrow-up",
00610 "fa-magic",
00611 "fa-magnet",
00612 "fa-mail-forward",
00613 "fa-mail-reply",
00614 "fa-mail-reply-all",
00615 "fa-male",
00616 "fa-map-marker",
00617 "fa-maxcdn",
00618 "fa-meanpath",
00619 "fa-medkit",
00620 "fa-meh-o",
00621 "fa-microphone",
00622 "fa-microphone-slash",
00623 "fa-minus",
00624 "fa-minus-circle",
00625 "fa-minus-square",
00626 "fa-minus-square-o",
00627 "fa-mobile",
00628 "fa-mobile-phone",
00629 "fa-money",
00630 "fa-moon-o",
00631 "fa-mortar-board",
00632 "fa-music",
00633 "fa-navicon",
00634 "fa-newspaper-o",
00635 "fa-openid",
00636 "fa-outdent",
00637 "fa-pagelines",
00638 "fa-paint-brush",
00639 "fa-paper-plane",
00640 "fa-paper-plane-o",
00641 "fa-paperclip",
00642 "fa-paragraph",
00643 "fa-paste",
00644 "fa-pause",
00645 "fa-paw",
00646 "fa-paypal",
00647 "fa-pencil",
00648 "fa-pencil-square",
00649 "fa-pencil-square-o",
00650 "fa-phone",
00651 "fa-phone-square",
00652 "fa-photo",
00653 "fa-picture-o",
00654 "fa-pie-chart",
00655 "fa-pied-piper",
00656 "fa-pied-piper-alt",
00657 "fa-pinterest",
00658 "fa-pinterest-square",
00659 "fa-plane",
00660 "fa-play",
00661 "fa-play-circle",
00662 "fa-play-circle-o",
00663 "fa-plug",
00664 "fa-plus",
00665 "fa-plus-circle",
00666 "fa-plus-square",
00667 "fa-plus-square-o",
00668 "fa-power-off",
00669 "fa-print",
00670 "fa-puzzle-piece",
00671 "fa-qq",
00672 "fa-qrcode",
00673 "fa-question",
00674 "fa-question-circle",
00675 "fa-quote-left",
00676 "fa-quote-right",
00677 "fa-ra",
00678 "fa-random",
00679 "fa-rebel",
00680 "fa-recycle",
00681 "fa-reddit",
00682 "fa-reddit-square",
00683 "fa-refresh",
00684 "fa-remove",
00685 "fa-renren",
00686 "fa-reorder",
00687 "fa-repeat",
00688 "fa-reply",
00689 "fa-reply-all",
00690 "fa-retweet",
00691 "fa-rmb",
00692 "fa-road",
00693 "fa-rocket",
00694 "fa-rotate-left",
00695 "fa-rotate-right",
00696 "fa-rouble",
00697 "fa-rss",
00698 "fa-rss-square",
00699 "fa-rub",
00700 "fa-ruble",
00701 "fa-rupee",
00702 "fa-save",
00703 "fa-scissors",
00704 "fa-search",
00705 "fa-search-minus",
00706 "fa-search-plus",
00707 "fa-send",
00708 "fa-send-o",
00709 "fa-share",
00710 "fa-share-alt",
00711 "fa-share-alt-square",
00712 "fa-share-square",
00713 "fa-share-square-o",
00714 "fa-shekel",
00715 "fa-sheqel",
00716 "fa-shield",
00717 "fa-shopping-cart",
00718 "fa-sign-in",
00719 "fa-sign-out",
00720 "fa-signal",
00721 "fa-sitemap",
00722 "fa-skype",
00723 "fa-slack",
00724 "fa-sliders",
00725 "fa-slideshare",
00726 "fa-smile-o",
00727 "fa-soccer-ball-o",
00728 "fa-sort",
00729 "fa-sort-alpha-asc",
00730 "fa-sort-alpha-desc",
00731 "fa-sort-amount-asc",
00732 "fa-sort-amount-desc",
00733 "fa-sort-asc",
00734 "fa-sort-desc",
00735 "fa-sort-down",
00736 "fa-sort-numeric-asc",
00737 "fa-sort-numeric-desc",
00738 "fa-sort-up",
00739 "fa-soundcloud",
00740 "fa-space-shuttle",
00741 "fa-spinner",
00742 "fa-spoon",
00743 "fa-spotify",
00744 "fa-square",
00745 "fa-square-o",
00746 "fa-stack-exchange",
00747 "fa-stack-overflow",
00748 "fa-star",
00749 "fa-star-half",
00750 "fa-star-half-empty",
00751 "fa-star-half-full",
00752 "fa-star-half-o",
00753 "fa-star-o",
00754 "fa-steam",
00755 "fa-steam-square",
00756 "fa-step-backward",
00757 "fa-step-forward",
00758 "fa-stethoscope",
00759 "fa-stop",
00760 "fa-strikethrough",
00761 "fa-stumbleupon",
00762 "fa-stumbleupon-circle",
00763 "fa-subscript",
00764 "fa-suitcase",
00765 "fa-sun-o",
00766 "fa-superscript",
00767 "fa-support",
00768 "fa-table",
00769 "fa-tablet",
00770 "fa-tachometer",
00771 "fa-tag",
00772 "fa-tags",
00773 "fa-tasks",
00774 "fa-taxi",
00775 "fa-tencent-weibo",
00776 "fa-terminal",
00777 "fa-text-height",
00778 "fa-text-width",
00779 "fa-th",
00780 "fa-th-large",
00781 "fa-th-list",
00782 "fa-thumb-tack",
00783 "fa-thumbs-down",
00784 "fa-thumbs-o-down",
00785 "fa-thumbs-o-up",
00786 "fa-thumbs-up",
00787 "fa-ticket",
00788 "fa-times",
00789 "fa-times-circle",
00790 "fa-times-circle-o",
00791 "fa-tint",
00792 "fa-toggle-down",
00793 "fa-toggle-left",
00794 "fa-toggle-off",
00795 "fa-toggle-on",
00796 "fa-toggle-right",
00797 "fa-toggle-up",
00798 "fa-trash",
00799 "fa-trash-o",
00800 "fa-tree",
00801 "fa-trello",
00802 "fa-trophy",
00803 "fa-truck",
00804 "fa-try",
00805 "fa-tty",
00806 "fa-tumblr",
00807 "fa-tumblr-square",
00808 "fa-turkish-lira",
00809 "fa-twitch",
00810 "fa-twitter",
00811 "fa-twitter-square",
00812 "fa-umbrella",
00813 "fa-underline",
00814 "fa-undo",
00815 "fa-university",
00816 "fa-unlink",
00817 "fa-unlock",
00818 "fa-unlock-alt",
00819 "fa-unsorted",
00820 "fa-upload",
00821 "fa-usd",
00822 "fa-user",
00823 "fa-user-md",
00824 "fa-users",
00825 "fa-video-camera",
00826 "fa-vimeo-square",
00827 "fa-vine",
00828 "fa-vk",
00829 "fa-volume-down",
00830 "fa-volume-off",
00831 "fa-volume-up",
00832 "fa-warning",
00833 "fa-wechat",
00834 "fa-weibo",
00835 "fa-weixin",
00836 "fa-wheelchair",
00837 "fa-wifi",
00838 "fa-windows",
00839 "fa-won",
00840 "fa-wordpress",
00841 "fa-wrench",
00842 "fa-xing",
00843 "fa-xing-square",
00844 "fa-yahoo",
00845 "fa-yelp",
00846 "fa-yen",
00847 "fa-youtube",
00848 "fa-youtube-play",
00849 "fa-youtube-square"]
00850
00851 counter = 0
00852 while not rospy.is_shutdown():
00853 initial_x = -int(math.sqrt(len(pictograms)))/2
00854 arr = PictogramArray()
00855 arr.header.frame_id = "/base_link"
00856 arr.header.stamp = rospy.Time.now()
00857 prev_xyz = [initial_x, -10, 0]
00858 for character in pictograms:
00859 msg = Pictogram()
00860 msg.header.frame_id = "/base_link"
00861 msg.action = choice(actions)
00862 msg.header.stamp = rospy.Time.now()
00863 msg.pose.position.x = prev_xyz[0] + 1
00864 msg.pose.position.y = prev_xyz[1]
00865 msg.pose.position.z = 0
00866 msg.pose.orientation.w = 0.7
00867 msg.pose.orientation.x = 0
00868 msg.pose.orientation.y = -0.7
00869 msg.pose.orientation.z = 0
00870 msg.size = 1
00871 msg.color.r = 25 / 255.0
00872 msg.color.g = 255 / 255.0
00873 msg.color.b = 240 / 255.0
00874 msg.color.a = 1.0
00875 msg.character = character
00876 arr.pictograms.append(msg)
00877 prev_xyz = [msg.pose.position.x, msg.pose.position.y, msg.pose.position.z]
00878 if prev_xyz[0] > -initial_x:
00879 prev_xyz[0] = initial_x
00880 prev_xyz[1] = prev_xyz[1] + 1
00881 p.publish(arr)
00882 r.sleep()
00883 counter = counter + 1
00884 if len(pictograms) == counter:
00885 counter = 0