Test script for kinect and usbcam node#3
Open
fatcloud wants to merge 4 commits intotoddsampson:masterfrom
Open
Test script for kinect and usbcam node#3fatcloud wants to merge 4 commits intotoddsampson:masterfrom
fatcloud wants to merge 4 commits intotoddsampson:masterfrom
Conversation
…tal version docker and docker-compose
Author
|
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 then a window showing kinect image shows up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.shor
$ cd ros-docker$ ./ros-usbcam/usbcamViewer.shthen 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!