-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Robot Server won't start #55
Comments
I got it to spawn Rviz and robot model. Now it spawns Rviz too many times. And for spawning the MiR robot, the wheels' joints failed to load URDF.
I have a Turtlebot3. I don't know if it can replace the MiR robot on robo-gym platform ... |
Hi @hayday100 I just stumbled over this repo and installation was pretty easy and straight forward for me. It seems your installation was a success! I am working with the MiR-100 simulation for quite some time now, you can ignore the error messages, they are known issues of the MiR-100-simulation. You do not need a real robot! These are my installation steps:
|
Hello there, I am writing this as I faced with this error and could solve it. Hopefully, it works for you. If you do NOT get any error during installation, but still have this issue, the problem is in sourcing in bashrc. Look at the line below which is from installing robo-gym-robot-servers: printf "source /opt/ros/$ROS_DISTRO/setup.bash\nsource $ROBOGYM_WS/devel/setup.bash" >> ~/.bashrc here, the path is $ROBOGYM_WS/devel/setup.bash, while it is highly likely that you installed it in another directory. Therefor, you should change the address accordingly. To check if it is changed correctly, run the command "tail .bashrc" and you should see the last line of the response being like "source correct path". Otherwise, it is highly likely that you did not install the packages correctly (in which case you should get error during installation). If this is the case and you get error in the command "catkin build", it might be due to the NOT existence of .catkin_tools along with src file. It is a hidden file and you can see hidden files with "ls -a". run the command "ls -a" in /home (or ~) directory and if you see .catkin_tools there, you may need to move it to $ROBOGYM_WS directory or bring src to /home directory. In the second case, make sure to change the source path I talked about above, accordingly. Good Luck |
After installation and start-server-manager successfully, I ran:
python docs/examples/stable-baselines/td3_script.py
Then it takes forever to try to start the Robot Server:
Starting new Robot Server | Tentative 1 of 10
Starting new Robot Server | Tentative 2 of 10
Starting new Robot Server | Tentative 3 of 10
Starting new Robot Server | Tentative 4 of 10
Starting new Robot Server | Tentative 5 of 10
...
RuntimeError: Failed 10 tentatives to start new Robot Server
I am using python 3.7 and tensorflow 1.15 in Ubuntu 18.04 and 20.04. Both Ubuntu versions has the same problem.
The server_manager is giving the following messages:
The text was updated successfully, but these errors were encountered: