Commit Graph

1994 Commits

Author SHA1 Message Date
Dirk Thomas 4a71d3a251
use condition attributes to specify Python 2 and 3 dependencies (#226) 2019-08-13 15:14:42 -07:00
jexner c3ce35dc3d Prevent filename glob expansion in _msg_opts in rosbash (#218)
The `find` argument glob is not properly quoted resulting in bash filename
expansion. This leads to incorrect `find` calls.

This fixes issue #192.
2019-08-12 11:48:08 -07:00
James Xu 71d5d01377 use rd on Windows (#224) 2019-07-15 10:44:09 -07:00
James Xu 5a29312432 correct name of the findpath script (#27) (#213) 2019-03-29 14:16:17 -07:00
Markus Grimm 79d07b53e0 Python 3 support (#212) 2019-03-26 11:26:59 -07:00
Dirk Thomas 9ae30ba95a 1.14.6 2019-03-18 10:16:34 -07:00
Dirk Thomas 121a86e0dd update changelogs 2019-03-18 10:16:22 -07:00
James Xu 496184db95 add roscd, rosls support (#210)
* Add roscd, rosls support (#16)

* refactor findpath.py, remove error msg from ros_location_find

* rename findpath.py to rosfindpath.py
2019-03-18 10:15:13 -07:00
Christophe 28b5778712 rosbash: exclude files when completing roslaunch args (#211)
This changes roslaunch-complete so that it excludes files/directories
when completing launch file args.
2019-03-08 09:25:07 -08:00
Dirk Thomas 51772c2eec 1.14.5 2019-03-04 16:16:56 -08:00
Dirk Thomas e4f3c5e7ac update changelogs 2019-03-04 16:16:46 -08:00
James Xu 757840019d add rosrun.bat (#208)
* enable rosrun on Windows

* rosrun_fix

* fix indent

* revert unnecessary changes

* Fix libexec path search issue.

* another round of rosrun fix.

* Fix File Not Found messages.

* fix parameter processing

* Rosrun.bat fix (#10)

* Check if file exists and return correct error code

* Generate toplevel forward bat script for rosrun on Windows

* Fix issue that rosrun cannot handle wild char parameter (#11)

* Fix typo (#12)

* Fix rosrun.

* fix rosrun parameter parsing issue (#14)

* fix rosrun parameter parsing issue

* correct file extension extraction

* Fix rosrun bash script (#18)

Fix rosrun bash script

* update rosrun.bat to find python scripts (files with extensions) (#20)

This change makes it so it does a deep search first in the rospack file, then the whole path.

* fix rosrun search path pecking order. (#24)

* fix.
* fix.

* update catkin version requirement for script.bat.in
2019-03-04 16:08:37 -08:00
Timo Korthals 41d6f1cc6f Add verbose output to rosrun if catkin_find fails (#182)
* Add verbose output to rosrun if catkin_find fails


Signed-off-by: Timo Korthals <tkorthals@cit-ec.uni-bielefeld.de>

* Add verbose output including stderr of catkin_find if debug is enabled

Signed-off-by: Timo Korthals tkorthals@cit-ec.uni-bielefeld.de
2019-01-30 10:56:19 -08:00
James Xu 60910eff26 fall back to default value if modules are not available (#199)
* fcntl is not available on Windows, fall back to default value

* nipick order
2019-01-28 15:21:26 -08:00
James Xu 651c997e60 Add python executable to ROSUNIT_EXE so it runs correctly on Windows (#200) 2019-01-28 15:11:50 -08:00
James Xu 40c44bcb5f enable rosclean on Windows (#198)
* enable rosclean on Windows

* Fix indent error.

* convert long to string for get_human_readable_disk_usage()

* On Windows, get disk usage by walking the tree

* use rd /s /q to remove directory on Windows (#19)
2019-01-28 15:07:49 -08:00
Andrew Blakey fd860146ff rosunit python 3 support (#190)
* rosunit python 3 support

Address https://github.com/ros/ros/issues/158 by explicitly decoding to utf-8 before writing to stream.

* added python3 test support

* Reintroduce erroneous whitespace.
2018-08-28 07:25:06 -07:00
Paul Bovbel d0aa6a9095 Add missing rospack dependency (#189)
Needed for roscd and rosrun at the very least.
2018-08-16 09:29:34 -07:00
Aaron Miller 973fecacb9 Fix rosfish (#172)
* Initial cleanup, first commands fixed

Commands that are now functional:
roslaunch
rosrun
rosservice
rosmsg

* Added -- to echo for protection

* Formatting

* Fixed use of > for gt in test

* Implemented for rostopic; currently really slow

* Implemented rosnode

* Added rosbag and rospack

* Fixed _srv_opts, added rossrv

* Formatting

* Removed gibberish

* Fix indentation

* Finish roslaunch (equivalent to completion in rosbash)

* Replace uses of find with _rosfind

* Formatting cleanup

* Mostly finished roscomplete_search_dir

* Finished rosrun except --prefix commands

* Implemented roscat, fixed roscmd

* Fixed rosmake

* Fixed roscp

* Fixed rosed

* Fixed rosls

* Fixed rospd

* Fixed rosd

* Fixed roscd

* Fixed rospython

* Fixed rosmake completions

* Made things safer

* Finished initial implementation of all commands

* Change rosparam load file completion

* Improved completion for package subdirs

* Implemented some filename and command completion in various places

* Improved completion for files in subdirs

* Fix completions for roscd, rospd, and rosls

* Fixed roslaunch finding local launchfiles

* Removed caret redirection since it was deprecated

* Add delay to rostopic commands

* Improved rosbag file completion
2018-08-15 09:06:32 -07:00
Atsushi Watanabe f21e88cc9a rosclean: support BusyBox du (#185)
* rosclean: support busybox du

* Fix coding styles

* Fix exception handling for symlink check
2018-08-15 09:05:26 -07:00
Jochen Sprickerhof 8a855e74ff chmod -x on Python modules (#183) 2018-08-13 09:20:55 -07:00
Dirk Thomas 9f2051dd80
add missing dependencies (#181) 2018-06-07 17:56:25 -07:00
Dirk Thomas 33b74d57a7 1.14.4 2018-05-01 12:34:42 -07:00
Dirk Thomas 2dfa6fda9b update changelogs 2018-05-01 12:34:28 -07:00
Christopher Wecht 2ec20d9322 rosrun: array is now properly expanded in debug-echo (#176) 2018-04-03 10:48:01 -07:00
Christopher Wecht cdb0be3a52 rosbash: replaced `...` with $(...) (#177) 2018-04-03 08:45:27 -07:00
Christopher Wecht 9b4ebfdc54 rosrun: replaced `...` with $(...) (#175) 2018-04-02 11:19:49 -07:00
Tiago Marques 9585a2904b Fixed compiling error on line 356 (#171) 2018-02-21 14:20:12 -08:00
hannometer 5be8cf1340 fix zsh tab completion for symlinks (#169)
- add '-L' flag to 'find' command used, for example, for tab completion of launch files and package nodes/executables
- building a workspace with catkin tools creates symlinks in a package's libexec folder, in which case the tab completion for the executable with rosrun didn't work
2018-02-14 08:53:13 -08:00
Dirk Thomas 492d417612 1.14.3 2018-01-30 10:34:56 -08:00
Dirk Thomas 1d2ce934c2 update changelogs 2018-01-30 10:34:26 -08:00
nalt 06a3597afe Do not remove paths containing ./ or ../ (#162) 2018-01-26 11:57:08 -08:00
Dirk Thomas 4edd0f8337 Merge remote-tracking branch 'origin/lunar-devel' into kinetic-devel 2018-01-26 11:06:34 -08:00
Mikael Arguedas fca1cd0e8e use python constants rather than hardcoded integers for error codes 2018-01-26 10:40:07 -08:00
Dirk Thomas 9a509a6531 1.13.6 2017-10-31 10:35:16 -07:00
Dirk Thomas 06445d12b5 update changelogs 2017-10-31 10:34:44 -07:00
Dirk Thomas e82bc9363f fix syntax of unicode raw string in Python 3 2017-10-26 14:47:28 -07:00
Michael Kopp 36dcbd7715 add options in completion for roslaunch to roszsh 2017-10-26 14:46:30 -07:00
Isaac I.Y. Saito 80990117d0 [rosunit] More searchable testcase result message.
Printed message of the result of each testcase/testmethod? is hard to find when browsing through the test result. Example below:
```
:
[ INFO] [1487343289.092146469]: Constructing FaceDetector.
[ INFO] [1487343289.537363058]: You must subscribe to one of FaceDetector's outbound topics or else it will not publish anything.
Error opening rosout log file '/root/.ros/07335a6c-f521-11e6-a2a7-0242ac110002/rosout.log': No such file or directoryError opening rosout log file '/root/.ros/07335a6c-f521-11e6-a2a7-0242ac110002/rosout.log': No such file or directoryWaiting for service /wide_stereo/driver/set_parameters...
hztest_withface_/face_detector/faces_cloud ... ok

[ROSTEST]-----------------------------------------------------------------------
:
```

(This example is easier.)

This PR makes the result line(s) stand out more, also text-searchable.
2017-10-26 14:45:59 -07:00
Attila Sztupak 8b7dc3cc41 allow arguments in EDITOR env in zsh rosed 2017-10-26 14:45:12 -07:00
Dirk Thomas fb6c2c79b9 ensure cwd exists 2017-10-26 14:41:56 -07:00
Dirk Thomas b202645dc6 1.14.2 2017-10-26 14:38:05 -07:00
Dirk Thomas 3e4840dd53 update changelogs 2017-10-26 14:36:02 -07:00
Mikael Arguedas 6d01a2a75e use python constants rather than hardcoded integers for error codes 2017-09-30 10:31:45 -07:00
Dirk Thomas 782d333f26 1.14.1 2017-07-27 07:39:18 -07:00
Dirk Thomas a1dc9d2b76 update changelogs 2017-07-27 07:38:32 -07:00
Dirk Thomas 5479c969a1 fix syntax of unicode raw string in Python 3 2017-07-06 10:34:39 -07:00
Dirk Thomas 819f1c3058 Merge pull request #147 from kopp/fix_zsh_completion
add options in completion for roslaunch to roszsh
2017-05-29 10:49:20 -07:00
Michael Kopp 668b26299a add options in completion for roslaunch to roszsh 2017-05-29 18:29:06 +02:00
Dirk Thomas ee203ef6ef Merge pull request #139 from 130s/k/rosunit/msg_testresult
[rosunit] More searchable testcase result message.
2017-05-23 09:35:14 -07:00