reiniscimurs / DRL-robot-navigation

Deep Reinforcement Learning for mobile robot navigation in ROS Gazebo simulator. Using Twin Delayed Deep Deterministic Policy Gradient (TD3) neural network, a robot learns to navigate to a random goal point in a simulated environment while avoiding obstacles.
MIT License
486 stars 97 forks source link

problems when run “python3 train_velodyne_td3.py” #114

Closed robot-WT closed 2 months ago

robot-WT commented 4 months ago

image I have exported GAZEBO_RESOURCE_PATH=~/DRL-robot-navigation/catkin_ws/src/multi_robot_scenario/launch, but I still get this error. Can you help me figure out how to solve it?

robot-WT commented 4 months ago

TypeError: init() missing 2 required positional arguments: 'width' and 'nchannels"

reiniscimurs commented 4 months ago

You are missing arguments when creating the GazeboEnv object.

When opening an issue, please describe your setup or else I cannot know what your issue is based on. These values for init are only required in Melodic version of this repo and are already provided there. They are removed in the Noetic repo. Are you using Noetic training file with Melodic env file?