Codebase list ros-ros / b6c6d13
New upstream version 1.14.4 Jochen Sprickerhof 5 years ago
25 changed file(s) with 119 addition(s) and 84 deletion(s). Raw diff Collapse all Expand all
00 ^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package mk
22 ^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>mk</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 A collection of .mk include files for building ROS architectural elements.
55 Most package authors should use cmake .mk, which calls CMake for the build of the package.
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package rosbuild
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>rosbuild</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 rosbuild contains scripts for managing the CMake-based build system for ROS.
55 </description>
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package roslang
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>roslang</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 roslang is a common package that all <a href="http://www.ros.org/wiki/Client%20Libraries">ROS client libraries</a> depend on.
55 This is mainly used to find client libraries (via 'rospack depends-on1 roslang').
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package roslib
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>roslib</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 Base dependencies and support libraries for ROS.
55 roslib contains many of the common data structures and tools that are shared across ROS client library implementations.
00 <package>
11 <name>ros</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>ROS packaging system</description>
44 <maintainer email="dthomas@osrfoundation.org">Dirk Thomas</maintainer>
55 <license>BSD</license>
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package rosbash
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
6 * rosrun: array is now properly expanded in debug-echo (`#176 <https://github.com/ros/ros/issues/176>`_)
7 * rosbash: replaced `...` with $(...) (`#177 <https://github.com/ros/ros/issues/177>`_)
8 * rosrun: replaced `...` with $(...) (`#175 <https://github.com/ros/ros/issues/175>`_)
9 * rosfish: fix syntax error (`#171 <https://github.com/ros/ros/issues/171>`_)
10 * fix zsh tab completion for symlinks (`#169 <https://github.com/ros/ros/issues/169>`_)
311
412 1.14.3 (2018-01-30)
513 -------------------
00 <package>
11 <name>rosbash</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 Assorted shell commands for using ros with bash.
55 </description>
33 # COMPREPLY is the var used by bash complete builtin
44
55 function _rossed {
6 if [[ `uname` == Darwin || `uname` == FreeBSD ]]; then
6 if [[ $(uname) == Darwin || $(uname) == FreeBSD ]]; then
77 sed -E "$@"
88 else
99 sed -r "$@"
1111 }
1212
1313 function _rosfind {
14 if [[ `uname` == Darwin || `uname` == FreeBSD ]]; then
14 if [[ $(uname) == Darwin || $(uname) == FreeBSD ]]; then
1515 # BSD find needs -E for extended regexp
1616 find -E "$@"
1717 else
2626 # stack echoes its result
2727 function _ros_location_find {
2828 local ROS_LOCATION_KEYS_ARR ROS_LOCATIONS_ARR loc
29 ROS_LOCATION_KEYS_ARR=(`echo $ROS_LOCATIONS | _rossed -e 's/([^:=]*)=([^:=]*)(:*[^=])*(:|$)/\1 /g'`)
30 ROS_LOCATIONS_ARR=(`echo $ROS_LOCATIONS | _rossed -e 's/([^:=]*)=([^:=]*)(:*[^=])*(:|$)/\2 /g' -e "s|~|$HOME|g"`)
29 ROS_LOCATION_KEYS_ARR=($(echo $ROS_LOCATIONS | _rossed -e 's/([^:=]*)=([^:=]*)(:*[^=])*(:|$)/\1 /g'))
30 ROS_LOCATIONS_ARR=($(echo $ROS_LOCATIONS | _rossed -e 's/([^:=]*)=([^:=]*)(:*[^=])*(:|$)/\2 /g' -e "s|~|$HOME|g"))
3131
3232 for (( i = 0 ; i < ${#ROS_LOCATION_KEYS_ARR[@]} ; i++ )); do
3333 if [[ $1 == ${ROS_LOCATION_KEYS_ARR[$i]} ]]; then
3737 done
3838
3939 if [[ $1 == log ]]; then
40 echo `roslaunch-logs`
40 echo $(roslaunch-logs)
4141 return 0
4242 elif [[ $1 == test_results ]]; then
43 echo `rosrun rosunit test_results_dir.py`
43 echo $(rosrun rosunit test_results_dir.py)
4444 return 0
4545 fi
4646
47 loc=`export ROS_CACHE_TIMEOUT=-1.0 && rospack find $1 2> /dev/null`
47 loc=$(export ROS_CACHE_TIMEOUT=-1.0 && rospack find $1 2> /dev/null)
4848 if [[ $? != 0 ]]; then
49 loc=`export ROS_CACHE_TIMEOUT=-1.0 && rosstack find $1 2> /dev/null`
49 loc=$(export ROS_CACHE_TIMEOUT=-1.0 && rosstack find $1 2> /dev/null)
5050 if [[ $? != 0 ]]; then
5151 return 1
5252 fi
5959
6060 function _ros_list_locations {
6161 local ROS_LOCATION_KEYS packages stacks
62 ROS_LOCATION_KEYS=`echo $ROS_LOCATIONS | _rossed -e 's/([^:=]*)=([^:=]*)(:*[^=])*(:|$)/\1 /g'`
63 packages=`export ROS_CACHE_TIMEOUT=-1.0 && rospack list-names`
64 stacks=`export ROS_CACHE_TIMEOUT=-1.0 && rosstack list-names`
62 ROS_LOCATION_KEYS=$(echo $ROS_LOCATIONS | _rossed -e 's/([^:=]*)=([^:=]*)(:*[^=])*(:|$)/\1 /g')
63 packages=$(export ROS_CACHE_TIMEOUT=-1.0 && rospack list-names)
64 stacks=$(export ROS_CACHE_TIMEOUT=-1.0 && rosstack list-names)
6565 echo $packages $stacks log test_results $ROS_LOCATION_KEYS | tr ' ' '\n'
6666 return 0
6767 }
6868
6969 function _ros_package_find {
7070 local loc
71 loc=`export ROS_CACHE_TIMEOUT=-1.0 && rospack find $1 2> /dev/null`
71 loc=$(export ROS_CACHE_TIMEOUT=-1.0 && rospack find $1 2> /dev/null)
7272 if [[ $? != 0 ]]; then
7373 return 1
7474 fi
7878
7979 function _ros_list_packages {
8080 local packages
81 packages=`export ROS_CACHE_TIMEOUT=-1.0 && rospack list-names`
81 packages=$(export ROS_CACHE_TIMEOUT=-1.0 && rospack list-names)
8282 echo $packages | tr ' ' '\n'
8383 return 0
8484 }
8585
8686 function _ros_list_stacks {
8787 local stacks
88 stacks=`export ROS_CACHE_TIMEOUT=-1.0 && rosstack list-names`
88 stacks=$(export ROS_CACHE_TIMEOUT=-1.0 && rosstack list-names)
8989 echo $stacks | tr ' ' '\n'
9090 return 0
9191 }
113113 fi
114114 fi
115115
116 rosdir=`_ros_location_find $rosname`
116 rosdir=$(_ros_location_find $rosname)
117117 if [[ $? != 0 ]]; then
118118 rosvals=(${rosname})
119119 return 1
130130 fi
131131 if [[ -z $1 ]]; then
132132 if [[ -f ./manifest.xml ]]; then
133 pkgname=`basename \`pwd\``
133 pkgname=$(basename $(pwd))
134134 python -i -c "import roslib; roslib.load_manifest('$pkgname')"
135135 else
136136 python
192192 return 0
193193 fi
194194 let count=0;
195 for items in `dirs`;
195 for items in $(dirs);
196196 do
197197 echo $count $items;
198198 let count=$((count+1));
232232 function _roscmd {
233233 local pkgdir exepath opt catkin_package_libexec_dir opts
234234 if [[ -n $CMAKE_PREFIX_PATH ]]; then
235 catkin_package_libexec_dir=`catkin_find --first-only --without-underlays --libexec $1 2> /dev/null`
236 fi
237 pkgdir=`_ros_package_find $1`
235 catkin_package_libexec_dir=$(catkin_find --first-only --without-underlays --libexec $1 2> /dev/null)
236 fi
237 pkgdir=$(_ros_package_find $1)
238238 if [[ -z $catkin_package_libexec_dir && -z $pkgdir ]]; then
239239 echo "Couldn't find package [$1]"
240240 return 1
241241 fi
242 exepath=(`find -L $catkin_package_libexec_dir $pkgdir -name $2 -type f ! -regex .*/[.].* ! -regex .*$pkgdir\/build\/.* | uniq`)
242 exepath=($(find -L $catkin_package_libexec_dir $pkgdir -name $2 -type f ! -regex .*/[.].* ! -regex .*$pkgdir\/build\/.* | uniq))
243243 if [[ ${#exepath[@]} == 0 ]] ; then
244244 echo "That file does not exist in that package."
245245 return 1
308308 local arg opts
309309 COMPREPLY=()
310310 arg="${COMP_WORDS[COMP_CWORD]}"
311 opts="`_ros_list_packages` `_ros_list_stacks`"
311 opts="$(_ros_list_packages) $(_ros_list_stacks)"
312312 IFS=$'\n'
313313 COMPREPLY=($(compgen -W "${opts}" -- ${arg}))
314314 unset IFS
330330 arg="${COMP_WORDS[COMP_CWORD]}"
331331 _ros_decode_path ${arg}
332332 if [[ -z ${rosvals[2]} ]]; then
333 opts=`_ros_list_locations`
333 opts=$(_ros_list_locations)
334334 IFS=$'\n'
335335 COMPREPLY=($(compgen -W "${opts}" -S / -- ${rosvals[0]}))
336336 unset IFS
337337 else
338338 if [ -e ${rosvals[1]}${rosvals[2]} ]; then
339 opts=`find -L ${rosvals[1]}${rosvals[2]} -maxdepth 1 -mindepth 1 -type d ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1\//g"`
339 opts=$(find -L ${rosvals[1]}${rosvals[2]} -maxdepth 1 -mindepth 1 -type d ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1\//g")
340340 else
341341 opts=''
342342 fi
358358 fi
359359
360360 if [[ -z ${searchmsg} ]]; then
361 pkgs=(`rospack list`)
361 pkgs=($(rospack list))
362362
363363 for (( i = 0 ; i < ${#pkgs[@]} ; i=i+2 )); do
364364 if [[ -d ${pkgs[i+1]}/msg ]]; then
366366 fi
367367 done
368368 else
369 path=`rospack find ${pkgname}`
369 path=$(rospack find ${pkgname})
370370 if [ -d ${path}/msg ]; then
371 echo `find -L ${path}/msg -maxdepth 1 -mindepth 1 -name *.msg ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.msg/${pkgname}\/\1/g"`
371 echo $(find -L ${path}/msg -maxdepth 1 -mindepth 1 -name *.msg ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.msg/${pkgname}\/\1/g")
372372 fi
373373 fi
374374 }
385385 fi
386386
387387 if [[ -z ${searchsrv} ]]; then
388 pkgs=(`rospack list | grep "^${pkgname}"`)
388 pkgs=($(rospack list | grep "^${pkgname}"))
389389 count=0
390390
391391 opts=""
404404 fi
405405 fi
406406
407 path=`rospack find ${pkgname} 2> /dev/null`
407 path=$(rospack find ${pkgname} 2> /dev/null)
408408
409409 if [ $? -eq 0 ] && [ -d ${path}/srv ]; then
410 echo `find -L ${path}/srv -maxdepth 1 -mindepth 1 -name *.srv ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.srv/${pkgname}\/\1/g"`
410 echo $(find -L ${path}/srv -maxdepth 1 -mindepth 1 -name *.srv ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.srv/${pkgname}\/\1/g")
411411 fi
412412 }
413413
421421 elif [[ $COMP_CWORD == 2 ]]; then
422422 case ${COMP_WORDS[1]} in
423423 show|users|md5)
424 opts=`_srv_opts ${COMP_WORDS[$COMP_CWORD]}`
424 opts=$(_srv_opts ${COMP_WORDS[$COMP_CWORD]})
425425 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
426426 ;;
427427 package)
428 opts=`rospack list-names`
428 opts=$(rospack list-names)
429429 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
430430 ;;
431431 packages|list)
438438 function _roscomplete_pkg {
439439 # complete package names that start with $1
440440 local arg=${1}
441 local opts=`_ros_list_packages`
441 local opts=$(_ros_list_packages)
442442 IFS=$'\n'
443443 COMPREPLY=($(compgen -W "${opts}" -- ${arg}))
444444 unset IFS
451451 local pkg=${2}
452452 local arg=${3}
453453 if [[ -n $CMAKE_PREFIX_PATH ]]; then
454 catkin_package_libexec_dir=`catkin_find --first-only --without-underlays --libexec ${pkg} 2> /dev/null`
455 fi
456 pkgdir=`_ros_package_find ${pkg}`
454 catkin_package_libexec_dir=$(catkin_find --first-only --without-underlays --libexec ${pkg} 2> /dev/null)
455 fi
456 pkgdir=$(_ros_package_find ${pkg})
457457 if [[ -n "$catkin_package_libexec_dir" || -n "$pkgdir" ]]; then
458 opts=`_rosfind -L $catkin_package_libexec_dir "$pkgdir" ${1} ! -regex ".*/[.][^./].*" ! -regex ".*$pkgdir\/build\/.*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g"`
458 opts=$(_rosfind -L $catkin_package_libexec_dir "$pkgdir" ${1} ! -regex ".*/[.][^./].*" ! -regex ".*$pkgdir\/build\/.*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g")
459459 else
460460 opts=""
461461 fi
476476 _roscomplete_find "${1}" "${COMP_WORDS[1]}" "${arg}"
477477 else
478478 # complete filenames
479 arg=`echo ${arg} | sed -e "s|~|$HOME|g"`
479 arg=$(echo ${arg} | sed -e "s|~|$HOME|g")
480480 if [[ $arg =~ ^/*.+/.* ]]; then
481481 path=${arg%/*}
482482 else
483483 path=.
484484 fi
485485 if [[ -e ${path} ]]; then
486 opts=`find -L $path -maxdepth 1 -type d ! -regex ".*/[.][^./].*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g"`$'\n'`find -L $path -maxdepth 1 -type f ! -regex ".*/[.][^.]*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g"`
486 opts=$(find -L $path -maxdepth 1 -type d ! -regex ".*/[.][^./].*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")$'\n'$(find -L $path -maxdepth 1 -type f ! -regex ".*/[.][^.]*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
487487 else
488488 opts=""
489489 fi
493493 if [[ ${#COMPREPLY[*]} = 1 ]]; then
494494 newpath=${COMPREPLY[0]%/*}
495495 if [[ -d ${newpath} ]]; then
496 opts=`find -L $newpath -maxdepth 1 -type d ! -regex ".*/[.][^./].*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g"`$'\n'`find -L $newpath -maxdepth 1 -type f ! -regex ".*/[.][^.]*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g"`
496 opts=$(find -L $newpath -maxdepth 1 -type d ! -regex ".*/[.][^./].*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/$/\//g" -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")$'\n'$(find -L $newpath -maxdepth 1 -type f ! -regex ".*/[.][^.]*" ! -regex "^[.]/" -print0 | tr '\000' '\n' | sed -e "s/^[.]\///g" -e "s/'/\\\\\'/g" -e "s/ /\\\\\ /g")
497497 IFS=$'\n'
498498 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
499499 unset IFS
505505
506506 function _roscomplete_exe {
507507 local perm i prev_arg
508 if [[ `uname` == Darwin ]]; then
508 if [[ $(uname) == Darwin ]]; then
509509 perm="+111"
510510 else
511511 perm="/111"
660660 opts="help find list list-names list-duplicates langs depends depends-manifests depends1 depends-indent depends-msgsrv depends-why rosdep rosdep0 vcs vcs0 depends-on depends-on1 export plugins cflags-only-I cflags-only-other libs-only-L libs-only-l libs-only-other profile"
661661 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
662662 else
663 opts=`rospack list-names`
663 opts=$(rospack list-names)
664664 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
665665 fi
666666
677677 elif [[ $COMP_CWORD == 2 ]]; then
678678 case ${COMP_WORDS[1]} in
679679 info)
680 opts=`rosnode list 2> /dev/null`
680 opts=$(rosnode list 2> /dev/null)
681681 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
682682 ;;
683683 ping|list|kill)
684684 if [[ ${arg} =~ \-\-.* ]]; then
685685 opts="--all --help"
686686 else
687 opts=`rosnode list 2> /dev/null`
687 opts=$(rosnode list 2> /dev/null)
688688 fi
689689 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
690690 ;;
696696 case ${COMP_WORDS[1]} in
697697 kill)
698698 # complete on node name
699 opts=`rosnode list 2> /dev/null`
699 opts=$(rosnode list 2> /dev/null)
700700 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
701701 ;;
702702 esac
714714 elif [[ $COMP_CWORD == 2 ]]; then
715715 case ${COMP_WORDS[1]} in
716716 set|get|delete|list)
717 opts=`rosparam list 2> /dev/null`
717 opts=$(rosparam list 2> /dev/null)
718718 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
719719 ;;
720720 load|dump)
726726 case ${COMP_WORDS[1]} in
727727 load|dump)
728728 # complete on namespace
729 opts=`rosparam list 2> /dev/null`
729 opts=$(rosparam list 2> /dev/null)
730730 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
731731 ;;
732732 esac
766766 if [[ ${COMP_WORDS[$(( $COMP_CWORD - 1 ))]} == "-b" ]]; then
767767 COMPREPLY=($(compgen -f -- ${arg}))
768768 else
769 opts=`rostopic list 2> /dev/null`
769 opts=$(rostopic list 2> /dev/null)
770770 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
771771 fi
772772 ;;
773773 find)
774 opts=`_msg_opts ${COMP_WORDS[$COMP_CWORD]}`
774 opts=$(_msg_opts ${COMP_WORDS[$COMP_CWORD]})
775775 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
776776 ;;
777777 pub)
796796 fi
797797 done
798798 if [[ $COMP_CWORD == $topic_pos ]]; then
799 opts=`rostopic list 2> /dev/null`
799 opts=$(rostopic list 2> /dev/null)
800800 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
801801 elif [[ $COMP_CWORD == $type_pos ]]; then
802802 opts=$(rostopic info ${COMP_WORDS[$COMP_CWORD-1]} 2> /dev/null | awk '/Type:/{print $2}')
803803 if [ -z "$opts" ]; then
804 opts=`_msg_opts ${COMP_WORDS[$COMP_CWORD]}`
804 opts=$(_msg_opts ${COMP_WORDS[$COMP_CWORD]})
805805 fi
806806 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
807807 elif [[ $COMP_CWORD == $msg_pos ]]; then
808 opts=`rosmsg-proto msg 2> /dev/null -s ${COMP_WORDS[$COMP_CWORD - 1]}`
808 opts=$(rosmsg-proto msg 2> /dev/null -s ${COMP_WORDS[$COMP_CWORD - 1]})
809809 if [ 0 -eq $? ]; then
810810 COMPREPLY="$opts"
811811 fi
827827 elif [[ $COMP_CWORD == 2 ]]; then
828828 case ${COMP_WORDS[1]} in
829829 args|call|info|list|type|uri)
830 opts=`rosservice list 2> /dev/null`
830 opts=$(rosservice list 2> /dev/null)
831831 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
832832 ;;
833833 find)
834834 # Need a clever way to do message searching
835 opts=`_srv_opts ${COMP_WORDS[$COMP_CWORD]}`
835 opts=$(_srv_opts ${COMP_WORDS[$COMP_CWORD]})
836836 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
837837 ;;
838838 esac
839839 elif [[ $COMP_CWORD == 3 ]]; then
840840 case ${COMP_WORDS[1]} in
841841 call)
842 type=`rosservice type ${COMP_WORDS[2]}`
843 opts=`rosmsg-proto srv 2> /dev/null -s ${type}`
842 type=$(rosservice type ${COMP_WORDS[2]})
843 opts=$(rosmsg-proto srv 2> /dev/null -s ${type})
844844 if [ 0 -eq $? ]; then
845845 COMPREPLY="$opts"
846846 fi
862862 fi
863863
864864 if [[ -z ${searchmsg} ]]; then
865 pkgs=(`rospack list | grep "^${pkgname}"`)
865 pkgs=($(rospack list | grep "^${pkgname}"))
866866 count=0
867867
868868 opts=""
881881 fi
882882 fi
883883
884 path=`rospack find ${pkgname} 2> /dev/null`
884 path=$(rospack find ${pkgname} 2> /dev/null)
885885
886886 if [ $? -eq 0 ] && [ -d ${path}/msg ]; then
887 echo `find -L ${path}/msg -maxdepth 1 -mindepth 1 -name *.msg ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.msg/${pkgname}\/\1/g"`
887 echo $(find -L ${path}/msg -maxdepth 1 -mindepth 1 -name *.msg ! -regex ".*/[.][^./].*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)\.msg/${pkgname}\/\1/g")
888888 fi
889889 }
890890
899899 elif [[ $COMP_CWORD == 2 ]]; then
900900 case ${COMP_WORDS[1]} in
901901 show|info|users|md5)
902 opts=`_msg_opts ${COMP_WORDS[$COMP_CWORD]}`
902 opts=$(_msg_opts ${COMP_WORDS[$COMP_CWORD]})
903903 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
904904 ;;
905905 package)
906 opts=`rospack list-names`
906 opts=$(rospack list-names)
907907 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
908908 ;;
909909 packages|list)
920920 arg="${COMP_WORDS[COMP_CWORD]}"
921921
922922 if [[ $COMP_CWORD != 1 ]]; then
923 opts=`rospack list-names`
923 opts=$(rospack list-names)
924924 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
925925 fi
926926 }
959959 elif [[ $COMP_CWORD == 2 ]]; then
960960 case ${COMP_WORDS[1]} in
961961 get|set|list)
962 opts=`rosnode list 2> /dev/null`
962 opts=$(rosnode list 2> /dev/null)
963963 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
964964 ;;
965965 esac
966966 elif [[ $COMP_CWORD == 3 ]]; then
967967 case ${COMP_WORDS[1]} in
968968 get|set)
969 opts=`rosconsole list ${COMP_WORDS[2]} 2> /dev/null`
969 opts=$(rosconsole list ${COMP_WORDS[2]} 2> /dev/null)
970970 COMPREPLY=($(compgen -W "$opts" -- ${arg}))
971971 ;;
972972 esac
353353 complete -x -c roslaunch -a '(_roscomplete_launch)'
354354 complete -x -c rosed -a '(_roscomplete_file)'
355355 complete -c rosed -l help --description "prints command info"
356 complete -x -c roscp -a '(_roscomplete_file)'et -x TEST works
356 complete -x -c roscp -a '(_roscomplete_file)'
357357 complete -c roscp -l help --description "prints command info"
340340 stackdir=`export ROS_CACHE_TIMEOUT=-1.0 && rosstack find ${pkg} 2> /dev/null`
341341 stack_result=$?
342342 if [[ $pkgdir_result == 0 ]]; then
343 opts=`find $pkgdir $catkin_package_libexec_dir ${=1} -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g"`
343 opts=`find -L $pkgdir $catkin_package_libexec_dir ${=1} -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g"`
344344 elif [[ $stack_result == 0 ]] ; then
345 opts=`find $stackdir ${=1} -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g"`
345 opts=`find -L $stackdir ${=1} -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g"`
346346 else
347347 opts=""
348348 fi
4848
4949 if [[ -n $CMAKE_PREFIX_PATH ]]; then
5050 IFS=$'\n'
51 catkin_package_libexec_dirs=(`catkin_find --without-underlays --libexec --share "$1" 2> /dev/null`)
51 catkin_package_libexec_dirs=($(catkin_find --without-underlays --libexec --share "$1" 2> /dev/null))
5252 unset IFS
53 debug "Looking in catkin libexec dirs: $catkin_package_libexec_dirs"
53 debug "Looking in catkin libexec dirs: ${catkin_package_libexec_dirs[*]}"
5454 fi
55 pkgdir=`rospack find "$1"`
55 pkgdir=$(rospack find "$1")
5656 debug "Looking in rospack dir: $pkgdir"
5757 if [[ ${#catkin_package_libexec_dirs[@]} -eq 0 && -z $pkgdir ]]; then
5858 exit 2
6161 # The -perm /mode usage is not available in find on the Mac
6262 #exepathlist=(`find $pkgdir -name $2 -type f -perm /u+x,g+x,o+x`)
6363 # -L: #3475
64 if [[ `uname` == Darwin ]]; then
64 if [[ $(uname) == Darwin ]]; then
6565 _perm="+111"
6666 else
6767 _perm="/111"
6868 fi
6969 debug "Searching for $2 with permissions $_perm"
70 exepathlist="`find -L "${catkin_package_libexec_dirs[@]}" "$pkgdir" -name "$2" -type f -perm "$_perm" ! -regex ".*$pkgdir\/build\/.*" | uniq`"
70 exepathlist="$(find -L "${catkin_package_libexec_dirs[@]}" "$pkgdir" -name "$2" -type f -perm "$_perm" ! -regex ".*$pkgdir\/build\/.*" | uniq)"
7171 IFS=$'\n'
7272 exepathlist=($exepathlist)
7373 unset IFS
7474 unset _perm
7575 if [[ ${#exepathlist[@]} == 0 ]]; then
7676 echo "[rosrun] Couldn't find executable named $2 below $pkgdir"
77 nonexepathlist=(`find -H "$pkgdir" -name "$2"`)
77 nonexepathlist=($(find -H "$pkgdir" -name "$2"))
7878 if [[ ${#nonexepathlist[@]} != 0 ]]; then
7979 echo "[rosrun] Found the following, but they're either not files,"
8080 echo "[rosrun] or not executable:"
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package rosboost_cfg
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>rosboost_cfg</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 Contains scripts used by the rosboost-cfg tool for determining cflags/lflags/etc. of boost on your system
55 </description>
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package rosclean
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>rosclean</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 rosclean: cleanup filesystem resources (e.g. log files).
55 </description>
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package roscreate
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>roscreate</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 roscreate contains a tool that assists in the creation of ROS filesystem resources.
55 It provides: <tt>roscreate-pkg</tt>, which creates a new package directory,
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package rosmake
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>rosmake</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 rosmake is a ros dependency aware build tool which can be used to
55 build all dependencies in the correct order.
00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 Changelog for package rosunit
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 1.14.4 (2018-05-01)
5 -------------------
36
47 1.14.3 (2018-01-30)
58 -------------------
00 <package>
11 <name>rosunit</name>
2 <version>1.14.3</version>
2 <version>1.14.4</version>
33 <description>
44 Unit-testing package for ROS. This is a lower-level library for rostest and handles unit tests, whereas rostest handles integration tests.
55 </description>