Coder Social home page Coder Social logo

Comments (14)

lukovicaleksa avatar lukovicaleksa commented on August 18, 2024

from autonomous-driving-turtlebot-with-reinforcement-learning.

kim-lux avatar kim-lux commented on August 18, 2024

we already study basics of ROS architecture
and we run this project with this code
rosrun master_rad control_node.py
When we use 0, 2 path, we are success
but the other path we are failed
When you process this project , Did you success all the pass?
thank you for your response
l am honored to study this project

from autonomous-driving-turtlebot-with-reinforcement-learning.

lukovicaleksa avatar lukovicaleksa commented on August 18, 2024

from autonomous-driving-turtlebot-with-reinforcement-learning.

lukovicaleksa avatar lukovicaleksa commented on August 18, 2024

from autonomous-driving-turtlebot-with-reinforcement-learning.

kim-lux avatar kim-lux commented on August 18, 2024

Sorry for the late reply. We run control_node.py via rosrun but everything fails except path 0,2 as pictured. I'm not sure why this is wrong. is there another important code for run this program? we just use rosrun master_rad control_node.py. Please let us know if we are doing anything wrong. thanks for the reply
path4
path1

from autonomous-driving-turtlebot-with-reinforcement-learning.

lukovicaleksa avatar lukovicaleksa commented on August 18, 2024

Yes, that's how you run the code, nothing else needs to be done. Just choose the path at the top of the .py file and it should work. Which version of ROS and Linux are you using? By the look of your screen i guess you are using newer version of Linux and and ROS probobly, i used Linux 16.04 and ROS Kinetic Kame on the virtual machine. Everything should work fine, the version of code posted here is the final version that worked for me.

from autonomous-driving-turtlebot-with-reinforcement-learning.

kim-lux avatar kim-lux commented on August 18, 2024

Thanks for your kind reply. I'll check it out and post back.

from autonomous-driving-turtlebot-with-reinforcement-learning.

kim-lux avatar kim-lux commented on August 18, 2024

I ran it with 16.04 kenetic and still got the same result. Having trouble running it in a VM? thanks for the response
Path4

from autonomous-driving-turtlebot-with-reinforcement-learning.

lukovicaleksa avatar lukovicaleksa commented on August 18, 2024

Then im afraid i dont know from here what the problem is, i will try to debug these days when i get time. Hope i will solve the problem and answer you as soon as possible.

from autonomous-driving-turtlebot-with-reinforcement-learning.

lukovicaleksa avatar lukovicaleksa commented on August 18, 2024

Fixed everything, scripts had few bugs that i left while i was testing. I did one more learning phase and acquired new Q-table which is stored in Log_learning_FINAL folder. Everything works fine now.
One note: beware of the feedback controller parameters and goal distance and angle threshold, reaching goal depends a lot on these.
Please let me know if all paths work for you now, so i can close the issue.

from autonomous-driving-turtlebot-with-reinforcement-learning.

kim-lux avatar kim-lux commented on August 18, 2024

Thanks for your hard work. But unfortunately I can't seem to get Q-learning to work properly in this code. The terminal says Q-learniing is being applied, but there are many times when the direction change does not occur. Could you please let me know what the problem is? Now it crashes on all paths. Thank you always.

image

from autonomous-driving-turtlebot-with-reinforcement-learning.

lukovicaleksa avatar lukovicaleksa commented on August 18, 2024

I have migrated my PC fully to Linux in the meantime. Now I am using Ubuntu 20.04 with ROS noetic.
PARAMETERS

  • /rosdistro: noetic
  • /rosversion: 1.15.11
    Please try with these versions, and if it still does not works i really dont have any idea why. Are you sure u downloaded the latest code?

from autonomous-driving-turtlebot-with-reinforcement-learning.

kim-lux avatar kim-lux commented on August 18, 2024

Finally succeeded. All thanks to you. Thank you very much. It worked because I matched the version. Thank you very much.

from autonomous-driving-turtlebot-with-reinforcement-learning.

lukovicaleksa avatar lukovicaleksa commented on August 18, 2024

Your welcome! Im glad it works now

from autonomous-driving-turtlebot-with-reinforcement-learning.

Related Issues (8)

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.