sebastiankmiec / pythonmyolinux Goto Github PK
View Code? Open in Web Editor NEWGather sEMG/IMU data from Myo armbands, and obtain real time predictions.
Gather sEMG/IMU data from Myo armbands, and obtain real time predictions.
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.
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.
Do i need to install the "Myo Connect" in advance in linux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.