Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test script for kinect and usbcam node #3

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

Conversation

fatcloud
Copy link

First of all, thank you Mr. Todd! for this repo helped me a lot in getting started with ROS and docker-compose stuff.

I wrote two bash scripts based on your post along with two docker-compose files that can set up ros nodes to test kinect and usbcam. Simply do:

$ cd ros-docker
$ ./ros-kinect/kinectViewer.sh

or

$ cd ros-docker
$ ./ros-usbcam/usbcamViewer.sh

then a window displaying kinect/usbcam frames shows up.

In detail, the script would download docker-compose1.5 into the repo automatically, run xhost +,
then execute docker-compose up.

Once it is runnung, simply press ctrl + c will stops and remove the containers created during the process and recover the access control for X server by xhost-

Not sure if this is going to help anybody or be of any use in the future.
Anyway, have a nice day!

@fatcloud
Copy link
Author

fatcloud commented Jul 17, 2016

The updated script and yml files no longer rely on previous version docker with only experimental network functionality. They work with docker 1.11.2 + docker 1.6.2 now.

Simply

cd ros-docker/examples/ros-kinect
./run.sh

then a window showing kinect image shows up

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

Successfully merging this pull request may close these issues.

1 participant