-
Notifications
You must be signed in to change notification settings - Fork 129
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
When I run the training code, there will be an error #137
Comments
Hi. Have you followed the guide and sourced everything properly each time you start a new terminal? Also see the section on closing an already running ros and how to kill all the processes. |
Sorry, I am not quite following what the issues are that you are facing. Are these still the issues in your first comment or new issues? Why do you need to make changes to the launch method?
What do you mean with Gazebo not starting properly? Gazebo GUI will not be launched by default in this repo. Gazebo is not supposed to appear. The warnings you see are time differences between frames. This happens when your real time and ros time go out of sync. Most likely (since you are running in a VM) you do not have enough compute resources for ros and you get out of sync. |
This looks fine to me and seems that the model is training. You will have to wait for some time to see epochs information and for multiple epochs to see some more reasonable behavior. |
Hi there, I already trained my agent on my pc and tested it. Everything was okay and right now I am trying to make it in to real world I have a raspberry pi 4 8GB ram and I did all the process ( seting up Ubuntu, ROS, Pytorch). I load the model that I trained on my computer yesterday I tried to test model and I could see that rviz and gazebo run with no problem but today I tried to run test command again and I got the same error ; Resource not found: multi_robot_scenario There were no errors when I run test command on my own pc and when I run it on raspberry for the first time. I didn't get you you solved the problem. Any advices would be so appreciated, I am doing it for my graduation project as a 4th year of electrical and electronics engineer student. |
I have Ubuntu 20.04 and ROS noetic if you need this information. |
Most likely you have the same issue with wrong sourcing of ROS. See the tutorial how to properly source files: https://medium.com/@reinis_86651/deep-reinforcement-learning-in-mobile-robot-navigation-tutorial-part1-installation-d62715722303 Or see any of these issues: https://github.com/reiniscimurs/DRL-robot-navigation/issues?q=is%3Aissue+is%3Aclosed+label%3Aresouce_path |
when I try command catkin_make_isolated, I also get this error G2mobilrobot@raspberrypi:~/catkin_ws/src/DRL-robot-navigation/catkin_ws$ catkin_make_isolated
The packages or cmake arguments have changed, forcing cmake invocation ==> Processing catkin package: 'multi_robot_scenario' Reproduce this error by running: Command failed, exiting. |
You can try using suggestion from here: #99 |
ROS Noetic on Ubuntu 20.04 with python 3.8.10 and pytorch 1.10.
error:
1.
Resource not found: multi_robot_scenario
ROS path [0]=/opt/ros/noetic/share/ros
ROS path [1]=/opt/ros/noetic/share
The traceback for the exception was written to the log file
RLException: roscore cannot run as another roscore/master is already running.
Please kill other roscore/master processes before relaunching.
The ROS_MASTER_URI is http://gj-VirtualBox:11311/
The traceback for the exception was written to the log file
Although Gazebo and rviz seem to run smoothly without any impact, train_velodyne-td3. py cannot print out information
The text was updated successfully, but these errors were encountered: