I am new to linux, but I'm trying my best to deal with the terminal command line. I've finally got the right version of linux and ros diamondback installed in a virtual machine and I'm trying to work my way through the tutorials so I can eventually be able to port a control system onto a quadrotor. I've gotten to the "Create a Package" tutorial and I can't get roscd working. It returns "roscd: command not found". I did some digging and apparently the installations have changed some policy having to do with the difference between setup.sh and setup.bash:
As of rosinstall version 0.5.12 it will no longer use bashisms in the setup.sh file. They have been moved to setup.bash. And for zsh users there is also a setup.zsh generated.For existing bash users this will mean that until you switch to use setup.bash instead of setup.sh you will not have the command line tools you are used to such as rosrun roscd and tab completion.
The tutorial only instructs me on how to create a setup.sh file. There is no setup.bash file in my tutorial directory so I can't just write setup.bash vs setup.sh in my bashrc file. Can anybody help me?
Originally posted by ww3ace on ROS Answers with karma: 15 on 2011-11-01
Post score: 0
Original comments
Comment by Daniel Canelhas on 2011-11-02:
Is there a specific reason why you're using diamondback instead of the latest version (electric)?