Code Monkey home page Code Monkey logo

ros_rl_for_slam's People

Contributors

kuwabaray avatar

Stargazers

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

Watchers

 avatar  avatar

ros_rl_for_slam's Issues

Error while launching.

hello I am facing this error when I do

roslaunch simulate_robot_rl simulate_robot.launch

for training and gazebo is also not getting open

python3 -m dqn_for_slam.rl_worker
/usr/bin/python3: No module named dqn_for_slam.rl_worker
[agent-8] process has died [pid 4391, exit code 1, cmd /home/arvind/rl_ws/src/ros_rl_for_slam/simulate_robot_rl/scripts/run_agent.sh __name:=agent __log:=/home/arvind/.ros/log/9990352e-aaed-11ec-9899-283a4d5b8bff/agent-8.log].
log file: /home/arvind/.ros/log/9990352e-aaed-11ec-9899-283a4d5b8bff/agent-8*.log

Code Variable Clarification

In your code, you've utilized variables such as map_size_ratio and maze_size, and in the reset function, map_size_ratio is being updated. I'm unsure of the role of map_size_ratio in the code. Could you please clarify its significance? Additionally, the value maze_size = 22 is assigned. Is this value representative of the area, calculated as length multiplied by width, of the maze?

Facing the error while launching the traininng launch file

Hello I am facing this error when I launch the

roslaunch simulate_robot_rl simulate_robot.launch

This is the error

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.6/dist-packages/dqn_for_slam-0.0.1-py3.6.egg/dqn_for_slam/rl_worker.py", line 43, in <module>
    env = gym.make(ENV_NAME)
  File "/home/arvind/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 145, in make
    return registry.make(id, **kwargs)
  File "/home/arvind/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 90, in make
    env = spec.make(**kwargs)
  File "/home/arvind/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 59, in make
    cls = load(self.entry_point)
  File "/home/arvind/.local/lib/python3.6/site-packages/gym/envs/registration.py", line 18, in load
    mod = importlib.import_module(mod_name)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/lib/python3.6/dist-packages/dqn_for_slam-0.0.1-py3.6.egg/dqn_for_slam/environment/robot_rl_env.py", line 12, in <module>
    import tf2_ros
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 38, in <module>
    from tf2_py import *
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_py/__init__.py", line 38, in <module>
    from ._tf2 import *
ImportError: dynamic module does not define module export function (PyInit__tf2)
INFO:rospy.core:signal_shutdown [atexit]
[agent-8] process has died [pid 11655, exit code 1, cmd /home/arvind/rl_ws/src/ros_rl_for_slam/simulate_robot_rl/scripts/run_agent.sh __name:=agent __log:=/home/arvind/.ros/log/5512831c-aaf1-11ec-9899-283a4d5b8bff/agent-8.log].
log file: /home/arvind/.ros/log/5512831c-aaf1-11ec-9899-283a4d5b8bff/agent-8*.log

Please help me to solve this

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.