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

Make Topic streams pipeable #124

Merged
merged 2 commits into from
Oct 30, 2014
Merged

Make Topic streams pipeable #124

merged 2 commits into from
Oct 30, 2014

Conversation

megawac
Copy link
Contributor

@megawac megawac commented Oct 29, 2014

Useful for instance if you have a sensor emitting data to a nodejs stream

var sensorStream = require("../sensor-stream");

var sensorTopic = ros.Topic({
  name: "ns/sensor"
});
sensorStream.pipe(sensorTopic.toStream());

And now we're publishing the sensor stream to "ns/sensor" topic. Easy :)

rctoris added a commit that referenced this pull request Oct 30, 2014
Make Topic streams pipeable
@rctoris rctoris merged commit f1a9279 into RobotWebTools:develop Oct 30, 2014
@megawac megawac deleted the streams branch October 30, 2014 18:58
k-aguete pushed a commit to k-aguete/roslibjs that referenced this pull request Oct 21, 2022
use correct object in Arrow.setColor()
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.

3 participants