Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
skullim opened this issue Apr 24, 2018 · 1 comment
Open

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

skullim opened this issue Apr 24, 2018 · 1 comment

Comments

@skullim
Copy link

skullim commented Apr 24, 2018

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
Copy link
Contributor

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants