Skip to content
This repository has been archived by the owner on Mar 17, 2019. It is now read-only.

initial commit for updated docker process. #165

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AustinDeric
Copy link

Work in Progress. This is the initial peak at the docker solution to #96. The next commit will be the example images. I setup automatic builds on dockerhub at:
https://hub.docker.com/r/austinderic/gym-gazebo/

I recommend the same thing for erlerobitcs when we get this merged in. If you add me to the admins then i can help out with that.

@vmayoral vmayoral requested review from rkojcev and ahcorde July 17, 2018 09:19
@vmayoral
Copy link

Thanks for this @AustinDeric!

@AustinDeric
Copy link
Author

AustinDeric commented Aug 6, 2018

UPDATE: I am not considering this a WIP anymore.

i have everything working and running out of a docker container. However, the simulation isn't running. In order to reproduce:

docker run -it --rm \
  -p "80:8080" \
  --name=gym-gazebo-turtlebot \
  austinderic/gym-gazebo-turtlebot:kinetic \
  /bin/bash

Then, in the container, run the following command to start gzweb and the gym-gazebo turtlebot example:

npm run start --prefix ./gzweb/ & \
 python /root/gym-gazebo/examples/turtlebot/circuit2_turtlebot_lidar_qlearn.py

Lastly, open your browser and navigate to localhost

image

It appears that the gym-gazebo/examples/turtlebot/circuit2_turtlebot_lidar_qlearn.py script does not progress past the observation = env.reset() line:

 - visualizations using gzweb
 - add dockerfiles for melodic and kinetic
 - seperate gym-gazebo from applications
@AustinDeric
Copy link
Author

I spent a little bit of time on this issue. It seems the point cloud is not generated. After so research i found this gem:
https://github.com/turtlebot/turtlebot_simulator/blob/c5806a922d6b3d60d6e82a22a12da94978940c23/turtlebot_gazebo/launch/includes/kobuki.launch.xml#L21

<!-- Bumper/cliff to pointcloud (not working, as it needs sensors/core messages) -->
<include file="$(find turtlebot_bringup)/launch/includes/kobuki/bumper2pc.launch.xml"/>

@pulver22
Copy link

pulver22 commented Nov 7, 2018

@AustinDeric I have the same problem, basically turtlebot doesn't move at all. Did you solve this issue?

@AustinDeric
Copy link
Author

@AustinDeric I have the same problem, basically turtlebot doesn't move at all. Did you solve this issue?

no :(

@pulver22
Copy link

pulver22 commented Nov 8, 2018

@AustinDeric actually I was able to make it work uninstalling the project and reinstalling everything (dependencies included) using python2 and pip2.7 . I may think it's due to a communication error between Py3 and Ros Kinetic (py2-based).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants