-
Notifications
You must be signed in to change notification settings - Fork 15
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
Image streaming over websocket #97
Conversation
|
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Codecov Report
@@ Coverage Diff @@
## ign-launch3 #97 +/- ##
============================================
Coverage 30.24% 30.24%
============================================
Files 3 3
Lines 734 734
============================================
Hits 222 222
Misses 512 512 Continue to review full report at Codecov.
|
depends on gazebosim/gz-common#139
🎉 New feature
Summary
Adds support for streaming images from an ign topic.
Added keyword
image
for requesting data from an image topic. The websocket server plugin will subscribe to the topic in the request and republish the image data over to the client.A better solution maybe to use a proper streaming server like HTTP Live Streaming (HLS) protocol in the future.
Test it
Launch ign gazebo camera sensor example world:
Launch ign websocket server example launch file
See the image stream using this demo image_stream_websocket_client.html file
Note the red and blue channels are reversed in the image stream, which may be fixed by gazebosim/gz-common#162
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge