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
that line you're trying to run, is from the book Aaron wrote right? I got the same problem. looks like the book is pretty old and not gonna work for me.