ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

mackorone's profile - activity

2015-03-05 16:12:22 -0500 received badge  Famous Question (source)
2014-03-06 19:18:33 -0500 received badge  Notable Question (source)
2014-01-31 03:20:02 -0500 received badge  Editor (source)
2014-01-31 03:14:43 -0500 commented answer Package paths with spaces don't work with rosbash?

I've tried added quotes and taking out the backslash. I've also tried quotes with the backslash. Nothing seems to be working. I think the issue is that I'm not calling the cd command, ROS is. Therefore, I don't have any control over whether or not the path is quoted when cd is called.

2014-01-31 00:59:51 -0500 received badge  Popular Question (source)
2014-01-30 14:39:55 -0500 asked a question Package paths with spaces don't work with rosbash?

The location of the package I am working in is

/host/Users/Mark\ Won/Documents/School\ Work/College/Junior/Junior\ 2nd\ Semester/CSE\ 468/workspace/tutorials

I have added the following to my ~/.bashrc

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/host/Users/Mark\ Won/Documents/School\ Work/College/Junior/Junior\ 2nd\ Semester/CSE\ 468/workspace/

However, when I try to run roscd tutorials, I get the following error:

bash: cd: /host/Users/MarkWon/Documents/SchoolWork/College/Junior/Junior: No such file or directory

Does anyone know how to get package paths with spaces in the name to comply with the rosbash suite?

---------UPDATE: I've tried adding the following to my ~/.bashrc, but to no avail:-------

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:"/host/Users/Mark\ Won/Documents/School\ Work/College/Junior/Junior\ 2nd\ Semester/CSE\ 468/workspace/"

and

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:"/host/Users/Mark Won/Documents/School Work/College/Junior/Junior 2nd Semester/CSE 468/workspace/"

and

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:"\"/host/Users/Mark Won/Documents/School Work/College/Junior/Junior 2nd Semester/CSE 468/workspace/\""

and

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:"/host/Users/Mark\\ Won/Documents/School Work/College/Junior/Junior\\ 2nd\\ Semester/CSE\\ 468/workspace/"

and

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/host/Users/Mark\\ Won/Documents/School Work/College/Junior/Junior\\ 2nd\\ Semester/CSE\\ 468/workspace/