TurtleBot2 with openai_ros
I am trying to set up the turtlebot2 with openai_ros on my local computer. I use Ubuntu 16.04, kinetic. I've downloaded all the packages I think I need, and used catkin build.
I am following the instructions at http://wiki.ros.org/openai_ros/Turtle... , but when I get to 2c and launch using roslaunch my_turtlebot2_training start_training.launch I get the error
AttributeError: 'module' object has no attribute 'task_envs.turtlebot2.turtlebot2_maze.TurtleBot2MazeEnv'
The traceback of the code is
Traceback (most recent call last):
File "/home/myuser/catkin_ws/src/my_turtlebot2_training/src/start_training.py", line 20, in <module>
env = gym.make('TurtleBot2Maze-v0')
File "/home/myuser/gym/gym/envs/registration.py", line 183, in make
return registry.make(id, **kwargs)
File "/home/myuser/gym/gym/envs/registration.py", line 125, in make
env = spec.make(**kwargs)
File "/home/myuser/gym/gym/envs/registration.py", line 88, in make
cls = load(self._entry_point)
File "/home/myuser/gym/gym/envs/registration.py", line 18, in load
fn = getattr(mod, attr_name)
AttributeError: 'module' object has no attribute 'task_envs.turtlebot2.turtlebot2_maze.TurtleBot2MazeEnv'
I get the same error if I try to follow the instructions at http://www.theconstructsim.com/ros-pr... .
I also encounter that problem, could you pls tell me how you solve it at the end?