Giter VIP home page Giter VIP logo

drl_navigation's Introduction

DRL_Navigation

Implementation of DRL robot navigation based on https://github.com/reiniscimurs/DRL-robot-navigation

Experiemnt videos can be view at: https://www.youtube.com/watch?v=HkqUZSsT5a0&t=1s

Computer Setup with ROS Melodic on Ubuntu 18.04 with python 3.6.9 and pytorch 1.10.

Clone the repository:

$ cd ~
### Clone this repo
$ git clone https://github.com/Barry2333/DRL_Navigation

Compile the workspace:

$ cd ~/DRL_Navigation/catkin_ws
### Compile
$ catkin_make_isolated

Open a terminal and set up sources:

export ROS_HOSTNAME=localhost
export ROS_MASTER_URI=http://localhost:11311
export ROS_PORT_SIM=11311
export GAZEBO_RESOURCE_PATH=~/DRL_Navigation/catkin_ws/src/multi_robot_scenario/launch
source ~/.bashrc
cd ~/DRL_Navigation/catkin_ws
source devel_isolated/setup.bash
### Run the training
cd ~/DRL_Navigation/TD3
python3 train.py

### Run the test with my trained models
python3 test_agent.py

### Change the simulation world, go to the file below, check the "world_name"
cd ~/catkin_ws/src/multi_robot_scenario/launch/empty_world.launch

To kill the training process:

$ killall -9 rosout roslaunch rosmaster gzserver nodelet robot_state_publisher gzclient python python3

drl_navigation's People

Contributors

barry2333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

drl_navigation's Issues

Updating ModelState: model [cardboard_box_0] does not exist

Hello, thank you for sharing. I ran the project on ubuntu20.04 and found that RVIZ and Gazebo could not load the map and robot model correctly, but there was no problem when running on ubuntu18.04. Please tell me what should I do to solve this BUG? The following error specifically occurs:

[ WARN] [1697031535.336233757, 4.659000000]: TF_REPEATED_DATA ignoring data with redundant timestamp for frame r1/right_hub at time 4.656000 according to authority unknown_publisher
[ERROR] [1697031535.902907198, 5.178000000]: Updating ModelState: model [cardboard_box_0] does not exist
[ERROR] [1697031535.903343187, 5.179000000]: Updating ModelState: model [cardboard_box_1] does not exist
[ERROR] [1697031535.903409074, 5.179000000]: Updating ModelState: model [cardboard_box_2] does not exist
[ERROR] [1697031535.903469504, 5.179000000]: Updating ModelState: model [cardboard_box_3] does not exist

some question

Hi, thanks for your sharing!
I am confused about this code
EP_HS[-(EP_HL+1)] = list(state)
the latest state is not placed at the end of the queue. is different from buffer?

Thank you. Regards!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.