Git Product home page Git Product logo

pythonmyolinux's People

Stargazers

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

Watchers

 avatar

pythonmyolinux's Issues

The GUI

Thanks.
It is normal to run the "gui_main.py" before.
But now there is an error, so I download the code again. However, it is still the error:

(python3:27803): GLib-GObject-CRITICAL **: 16:09:02.155: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.155: gst_object_ref: assertion 'object != NULL' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.155: gst_bin_add_many: assertion 'GST_IS_ELEMENT (element_1)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.155: gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (src)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.155: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.155: gst_ghost_pad_new: assertion 'GST_IS_PAD (target)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.155: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.155: gst_object_unref: assertion 'object != NULL' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.158: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.158: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.158: gst_bin_remove: assertion 'GST_IS_ELEMENT (element)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.158: gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (src)' failed
Linking video output element failed

(python3:27803): GLib-GObject-CRITICAL **: 16:09:02.159: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.159: gst_object_ref: assertion 'object != NULL' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.159: gst_bin_add_many: assertion 'GST_IS_ELEMENT (element_1)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.159: gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (src)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.159: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.159: gst_ghost_pad_new: assertion 'GST_IS_PAD (target)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.159: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.159: gst_object_unref: assertion 'object != NULL' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.160: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.160: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.160: gst_bin_remove: assertion 'GST_IS_ELEMENT (element)' failed

(python3:27803): GStreamer-CRITICAL **: 16:09:02.160: gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (src)' failed
Linking video output element failed
Traceback (most recent call last):
  File "gui_main.py", line 233, in <module>
    top         = TopLevel()
  File "gui_main.py", line 52, in __init__
    self.init_ui()
  File "gui_main.py", line 92, in init_ui
    self.online_training_tab    = OnlineTraining(self.data_tools_tab.data_collected)
  File "/home/prover/Work/PythonMyoLinux/gui_demo/online_train.py", line 363, in __init__
    self.init_ui()
  File "/home/prover/Work/PythonMyoLinux/gui_demo/online_train.py", line 567, in init_ui
    self.move_select = self.MovementsSelection(self.movements_selected, self.check_ready_to_start)
  File "/home/prover/Work/PythonMyoLinux/gui_demo/online_train.py", line 80, in __init__
    self.init_ui()
  File "/home/prover/Work/PythonMyoLinux/gui_demo/online_train.py", line 118, in init_ui
    cur_screenshot_path = self.all_screenshot_paths[ord(ex) - ord("A")][1][movement_num - 1]
IndexError: list index out of range

Finally, I found this bug is caused by cur_screenshot_path = self.all_screenshot_paths[ord(ex) - ord("A")][1][movement_num - 1]. It's pose is "gui_demo/online_train.py/118".
The all_screenshot_paths index out of range. But I don't know why.

How to return the data collected by myo?

Recently, our team uses the myo ring to collect muscle electrical signals for real-time gesture recognition. Currently, we use the myo library on your open source Linux system. But recently I encountered a problem, how to return your collected data, so that I can send the data to the network for gesture recognition.

MYO Connect

Do i need to install the "Myo Connect" in advance in linux

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.