ROBOTIS-GIT / turtlebot3_machine_learning

Apache License 2.0
121 stars 82 forks source link

Ros2-turtlebot3_machine_learning-Error #40

Closed arun0303 closed 4 years ago

arun0303 commented 4 years ago

@rjshim

Hi Ryan Jaehyun Shim, Ubuntu-18.04 Ros2 Dashing Tried Running Stage 1 (No Obstacle) from the below robotis link http://emanual.robotis.com/docs/en/platform/turtlebot3/ros2_machine_learning/ Opened a Terminal: Tried running the below command ros2 launch turtlebot3_dqn turtlebot3_dqn_stage1.launch.py i getting the error attached below.

Thanks ARUN Screenshot from 2020-03-26 17-04-08

JaehyunShim commented 4 years ago

@arun0303

Would you check if you downloaded the necessary packages and colcon build them properly? If you are not familiar with how to use ROS2 yet, you would better start with ROS2 tutorials first (Link).

Ryan

arun0303 commented 4 years ago

@rjshim Yes i had downloaded the necessary packages and build it as mentioned in the below link and the build was successful. http://emanual.robotis.com/docs/en/platform/turtlebot3/ros2_machine_learning/

$ cd ~/robotis_ws/src/ $ git clone -b ros2 https://github.com/ROBOTIS-GIT/turtlebot3_machine_learning.git $ cd ~/robotis_ws && colcon build --symlink-install

I am not a beginner with ros2.

JaehyunShim commented 4 years ago

@arun0303

Would you git pull all the packages and test below and let me know if it still doesn't work? $ ros2 launch turtlebot3_gazebo turtlebot3_dqn_stage1.launch.py $ ros2 run turtlebot3_dqn dqn_gazebo 1 $ ros2 run turtlebot3_dqn dqn_environment $ ros2 run turtlebot3_dqn dqn_agent 1

The emanual will be also updated soon. Thank you for the report.

Screenshot from 2020-03-27 08-33-17

Ryan