Comments (6)
Hi,
Why are you adding the reward function to this code? Are you planning to continue training in this setting with already pre-trained model?
Be aware that there are differences in how state is represented here in GDAE and in the base DRL training repository. Mainly, the robot state.
from gdae.
Hi,
Thanks for your reply!
Firstly, I don't want to continue training, I want to make the robot move entirely through TD3's actor network, without relying on move_base. But I don't know how the agent knows local_goal. After looking at the test_velodyne_td3.py file, I guessed that the robot knew the end point because it was set up in env to receive a reward for reaching the end point.
Secondly, I modified the state representation in GDAM to be consistent with that in TD3. This includes laser_state and robot_state
Lastly,Thank you very much for your patient reply!
from gdae.
Reward is not necessary for model deployment. It is only needed to train the model. The model knows the goal as it is part of the state that is given to the model.
There is no distinction between local and global goal. At each individual step the model recieves a single target to go to and it does not know if it is a global or local goal. The step function reads the current selected node and uses it as the current target that is then passed to the TD3 model in the state. The node selection is done entirely through the heuristics function.
from gdae.
Hi,
Thanks for your reply!So does the robot know the target by the Dist_to_goal parameter in the robot_state returned from step function?
I modified the code and now it looks like the video:
freecompress-GDAM_4_9-ezgif.com-video-cutter.mp4
However, the motion path of the agent is a little strange, it seems that it always wants to move clockwise.This was not the case with test_velodeny_td3.
Thank you very much for your work and your patient response!
from gdae.
The goal is given in polar coordinates by distance and angle. This is explained in the tutorial: https://medium.com/@reinis_86651/deep-reinforcement-learning-in-mobile-robot-navigation-tutorial-part3-training-13b2875c7b51
from gdae.
Thank you for solving my doubts, I wish you a happy life!
from gdae.
Related Issues (20)
- Is there a complete project package HOT 1
- Simulation problem HOT 9
- Procedural issues HOT 28
- How to use the TD3 trained model for GDAE for beginners? HOT 6
- How did the robot know the global goal's location、 HOT 2
- execute GDAM.py HOT 23
- heuristic function in GDAM_env.py different from the paper? HOT 1
- What do the the nodesrepresent, HOT 3
- problem with simultion HOT 11
- how to run it in ros HOT 2
- why divide the lase HOT 9
- Regarding the Issue of the Relationship Between the Number of Forward 180-Degree Lasers and the Generation of Points of Interest (POI) HOT 3
- Misalignment in Laser Data Partitioning HOT 8
- problem with GDAM.py HOT 4
- Problem with global planning HOT 9
- use pytorch and instead use TensorFlow HOT 3
- Lidar data for a physical robot HOT 3
- GDAM.py problem HOT 1
- Use without ROS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdae.