Commit Graph

3937 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
ViktorWalter 422c8a392e [roslib] Symlink search for roslib (#225)
* Allowing for finding resources linked in packages. We needed this for using roslaunch with directories linked from other locations, but it will likely be useful in general.

* PEP8: space after comma
2019-07-15 10:44:01 -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
Alex Moriarty 9c92fa4e65 [mk] add depend on rospack (#205)
* [mk] add depend on rospack

Fixes #204

* <depend> instead of <build_export_depend>

Not using package format 2

* build_depend and run_depend

* remove build_depend
2019-02-15 16:18:12 -08:00
Dirk Thomas e3f891ee3d
disable test with invalid dependency (#202) 2019-02-04 13:42:11 -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 0383ed181c special handle python script without extension on Windows (#197)
* special handle python scripts without .py extension

* update comment about why python scripts are executable (#21)

* collapse change to only the if clause

* minor spelling

* add .lower()
2019-01-29 15:29:27 -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
James Xu 23b39a8b64 pull in CATKIN_ENV_HOOK_WORKSPACE if defined (#15) (#196) 2019-01-28 15:05:03 -08:00
James Xu b97cc7627c Use _MSC_VER for ROS_FORCE_INLINE (#194) 2019-01-28 15:04:35 -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
Johnson Shih d46534f380 Fix build issue on Windows (#186) 2018-08-03 15:00:06 -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 6f699fbfc1
replace env hooks with a dependency on ros_environment (#166) 2018-01-26 11:55:11 -08:00
Dirk Thomas 4edd0f8337 Merge remote-tracking branch 'origin/lunar-devel' into kinetic-devel 2018-01-26 11:06:34 -08:00
Dirk Thomas c9962f684d
Merge pull request #165 from ros/merge_lunar_into_kinetic
merge differences from lunar-devel branch into kinetic-devel
2018-01-26 10:56:14 -08:00
Billy Lando 91961447c9 Update installation link in README (#157) 2018-01-26 10:40:13 -08:00
Mikael Arguedas fca1cd0e8e use python constants rather than hardcoded integers for error codes 2018-01-26 10:40:07 -08:00
Billy Lando ba451d78b1 Update installation link in README (#157) 2017-11-10 05:22:39 -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 816ffda9d6
Merge pull request #155 from ros/backports_kinetic
changes between 1.13.5 and 1.14.2 for backporting
2017-10-31 10:30:46 -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