Code Monkey home page Code Monkey logo

midas's People

Contributors

aheneliu avatar alafuzof avatar jtorniainen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

midas's Issues

Combine 'info' and 'status' API calls

Currently you can make both info and status calls to a specific node. Because information conveyed by these calls are very similar they should be merged into a one single request.

API Generation results in forever-loading page

Once generated with latest cloned midas repo, page loads forever:

bildschirmfoto 2018-11-20 um 12 10 08

Upon inspection of the console we find this error:
bildschirmfoto 2018-11-20 um 12 10 05

Apparently, a version mismatch caused some error in the webpage. Changing apidoc.json version field to 1.1.0 fixes the error.

bildschirmfoto 2018-11-20 um 12 09 23

Then re-generate the docs. Cheers ๐Ÿป

Invalid entries in config files

Currently invalid config-file entries are quietly ignored and replaced with default values making debugging harder. Better solution would be to throw a warning if invalid key values are found inside the file

Config Parser Problem

I was doing setup for midas, but stuck with following error !!

msingh@svm-34:~/codes/midas$ python ./examples/midas_node_example_A.py config.ini node_A
Traceback (most recent call last):
File "./examples/midas_node_example_A.py", line 8, in
from midas.node import BaseNode
File "/usr/local/lib/python2.7/dist-packages/midas-0.1.1-py2.7.egg/midas/node.py", line 19, in
from . import utilities as mu
File "/usr/local/lib/python2.7/dist-packages/midas-0.1.1-py2.7.egg/midas/utilities.py", line 16, in
import configparser
ImportError: No module named configparser

msingh@svm-34:~/codes/midas$ python --version
Python 2.7.6

Looking forward - how to fix this !!

Dispatcher-Node pubsub discrepancy error

In the ini-file: if node has publisher set to false but dispatcher has pubsub set to true dispatcher throws a zmq error at startup. Error below.

Exception in thread Thread-2083:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.p^C
    socket_proxy_in.bind(publisher_url)
  File "zmq/backend/cython/socket.pyx", line 444, in zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:4089)
  File "zmq/backend/cython/checkrc.pxd", line 21, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:6248)
zmq.error.ZMQError: Invalid argument
Exception ignored in: <module 'threading' from '/usr/lib/python3.4/threading.py'>

Step by Step Midas Guide

Hi Midas Team

As per my observation, the step by step guide to run midas and do some test is missing in the documentation. I follows the example:

Start stream : midas_stream_example.py
Start Node A : midas_node_example_A.py config.ini node_A
Start Node B : midas_node_example_B.py config.ini node_B
Start Dispatcher : midas_dispatcher_example.py config.ini dispatcher

then what should be the next step ?

I created client as mention in wiki. I am getting following output :
$ python client.py
{'metric_a': 'unknown metric and/or channel', '3': 'unknown metric and/or channel', '1': 'unknown metric and/or channel', 'Ch1': 'unknown metric and/or channel'}

Kindly guide on how to proceed further.

Persistent Storage of Stream data

Hi

I have few queries !!
As per LSL, they are organizing streaming data in specific file format.
Is Midas saving that streaming data in some file also ?
What is the location of file where data is saved Midas ?
If I started my stream 5 minute earlier than client, can we get all that data, as per my observation, it is streaming instant data stream only ?

Confusing API documentation for new users

When consulting the API documentation with intentions on getting the example running, one line says that one can request a metric as such:

bildschirmfoto 2018-11-20 um 12 56 08

However, the metric_a in the examples requires an extra argument which is: ,"channels":["Ch1"]. Only then it successfully returns the metric data. Cheers. โœŒ๐Ÿป

Automate stream discovery for nodes

Currently all node stream propreties (sampling rate, channel counts etc) must be declared in the configuration file. These parameters can easily be automatically read from StreamInfo. Stream discovery should be automated so that you only have to specify the stream name in configuration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.