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

robot data to http server instead of console.log? #288

Closed
rchongtay opened this issue Apr 16, 2015 · 4 comments
Closed

robot data to http server instead of console.log? #288

rchongtay opened this issue Apr 16, 2015 · 4 comments

Comments

@rchongtay
Copy link

Hi,
Is it possible to have an example where the robot data for example from neurosky is displayed to
http server instead of the console.log?

@deadprogram
Copy link
Member

Hi, @rchongtay

You can do this right now using either the cylon-api-http with Server-Side Events (SSE) https://github.com/hybridgroup/cylon-api-http or else using cylon-api-socketio https://github.com/hybridgroup/cylon-api-socketio

Looks like we need an example that shows SSE in the simplest possible case. @stewart do you happen to know if we have one?

@stewart
Copy link
Contributor

stewart commented Apr 16, 2015

Hi @rchongtay - based on my reading of your question, it looks more like you might be interested in a custom logger for Cylon.

Cylon supports custom logger implementations, and you can see an example of one in our Browserify example.

You can find the custom logger implementation example here, and how to add it to Cylon here.

If I've misread what you're looking for, please let us know.

@rchongtay
Copy link
Author

Hi,
Thanks for your replies, I should be able to use one of these options, you understood well, at first I just want to display the data in the browser, then I will display it graphically instead, very much like the demonstration made in the video with Ron Evans (https://vimeo.com/96477741 min 20:11 and min 20:13 use of Logger.info and finally the graph in min 20:47).

I will try to follow the examples you refer to, thanks.

@deadprogram
Copy link
Member

Closing... please reopen if we can provide further assistance/

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

No branches or pull requests

3 participants