autorally icon indicating copy to clipboard operation
autorally copied to clipboard

Problem with starting the simulator, PATH is not set.

Open skullim opened this issue 6 years ago • 1 comments

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

skullim avatar Apr 24 '18 18:04 skullim

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.

bgoldfai avatar Apr 25 '18 18:04 bgoldfai