AutoRally / autorally

Software for the AutoRally platform
http://autorally.github.io
738 stars 229 forks source link

Problem with starting the simulator, PATH is not set. #66

Open skullim opened 6 years ago

skullim commented 6 years ago

When I try to run the simulator I have the following error: environment variable 'AR_CONFIG_PATH' is not set. I followed the tutorial and ran setupEnvLocal.sh file (it returned me these two errors: ./setupEnvLocal.sh: 9: ./setupEnvLocal.sh: Bad substitution ./setupEnvLocal.sh: 10: ./setupEnvLocal.sh: source: not found)

When I changed the first line from #!/bin/sh to #!/bin/bash I dont have these errors anymore, but still the simulator does not work. Can you help me?

Thank you in Advance Adrian

bgoldfai commented 6 years ago

It looks like you are executing the script with ./, please try source setupEnvLocal.sh instead in your terminal before launching the simulator.

If that does not work, AR_CONFIG_PATH is set on line 31 of autorally_util/setupEnvVariables.sh. It could be that your ROS environment is not setup properly, so the autorally_util package cannot be automatically found by the rospack command.

Let me know if that helps.