Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Not a Valid Identifier

I am following the tutorial found on the book Learning ROS by Martinez page 40. When creating a new workspace, after adding a folder and trying to add this path to ROS_PACKAGE_PATH I keep getting the following:

bash: export: `ROS_PACKAGE_PATH~/dev/rosbook:/opt/ros/kinetic/share:/opt/ros/kinetic/stacks': not a valid identifier

These are the commands: clare@clare-VirtualBox:~$ echo "export ROS_PACKAGE_PATH"~/dev/rosbook:${ROS_PACKAGE_PATH} >> ~/.bashrc clare@clare-VirtualBox:~$ . ~/.bashrc

Not a Valid Identifier

I am following the tutorial found on the book Learning ROS by Martinez page 40. When creating a new workspace, after adding a folder and trying to add this path to ROS_PACKAGE_PATH I keep getting the following:

bash: export: `ROS_PACKAGE_PATH~/dev/rosbook:/opt/ros/kinetic/share:/opt/ros/kinetic/stacks': not a valid identifier

identifier

These are the commands: commands:

clare@clare-VirtualBox:~$ echo "export ROS_PACKAGE_PATH"~/dev/rosbook:${ROS_PACKAGE_PATH} >> ~/.bashrc
clare@clare-VirtualBox:~$ . ~/.bashrc

~/.bashrc