zerosansan / td3_ddpg_sac_dqn_qlearning_sarsa_mobile_robot_navigation

Reinforcement Learning (RL) based navigation implementation for mobile robot navigation. The algorithms of TD3, DDPG, SAC, DQN, Q-Learning, and SARSA were implemented.
24 stars 1 forks source link

Error after launching "roslaunch turtlebot3_rl_sim start_td3_training.launch" #3

Closed vamsi8106 closed 6 months ago

vamsi8106 commented 1 year ago

Hello sir, I am getting the below after launching "roslaunch turtlebot3_rl_sim start_td3_training.launch". I tried to solve it many times. please help me to resolve this issue, sir.

error: user@user:~/turtlebot3_ws$ roslaunch turtlebot3_rl_sim start_td3_training.launch ... logging to /home/user/.ros/log/7bde750c-7fe1-11ee-b68b-6185d6c00012/roslaunch-user-8755.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://user:40827/

SUMMARY

PARAMETERS

NODES / turtlebot3_td3 (turtlebot3_rl_sim/turtlebot3_rl_sim/src/start_td3_training.py)

ROS_MASTER_URI=http://localhost:11311/

ERROR: cannot launch node of type [turtlebot3_rl_sim/turtlebot3_rl_sim/src/start_td3_training.py]: Cannot locate node of type [turtlebot3_rl_sim/src/start_td3_training.py] in package [turtlebot3_rl_sim]. Make sure file exists in package path and permission is set to executable (chmod +x) No processes to monitor shutting down processing monitor... ... shutting down processing monitor complete

zerosansan commented 1 year ago

Hi. It looks like you will need to set the .py files to be executable. Try running chmod +x start_td3_training.py in your command line interface in the turtlebot3_rl_sim/src directory.

Let me know if this solved it.

vamsi8106 commented 1 year ago

I have done it, sir. The Error is not getting resolved. Even I restarted my PC and tried to run the code.

zerosansan commented 1 year ago

Hi. Can you paste the contents of /home/user/.ros/log/7bde750c-7fe1-11ee-b68b-6185d6c00012/roslaunch-user-8755.log?

vamsi8106 commented 1 year ago

Hello, sir. Here, I am attaching my log file . Please review and tell me the error I am making. log_file.txt

zerosansan commented 6 months ago

Hi. Apologies for the late reply. Did you manage to solve the issue?

Some things to try is to chmod +x these .py files:

  1. start_td3_training.py
  2. utils.py
  3. environment_stage_1_nobonus.py

Let me know if you still have issues