Comments (3)
For example,
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/client.py", line 229, in record
await self.stop()
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 505, in stop
await self.vibrate(VibrationType.SHORT)
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 544, in vibrate
await self.m.vibrate(self._client, vibration_type)
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 213, in vibrate
await self.command(client, Vibrate(vibration_type))
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 146, in command
await client.write_gatt_char(Handle.COMMAND.value, cmd.data, True)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/.venv/lib/python3.10/site-packages/bleak/__init__.py", line 659, in write_gatt_char
await self._backend.write_gatt_char(char_specifier, data, response)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/.venv/lib/python3.10/site-packages/bleak/backends/corebluetooth/client.py", line 325, in write_gatt_char
characteristic = self.services.get_characteristic(char_specifier)
AttributeError: 'NoneType' object has no attribute 'get_characteristic'
from dl-myo.
Looks like this happens when self.stop() and to vibrate...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/__init__.py", line 369, in entrypoint
asyncio.run(args.command(args))
File "/Users/iomz/.asdf/installs/python/3.10.11/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Users/iomz/.asdf/installs/python/3.10.11/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/command.py", line 86, in calibrate
await cls.record(args)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/command.py", line 103, in record
await rc.record(args)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/client.py", line 261, in record
await self.stop()
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 505, in stop
await self.vibrate(VibrationType.SHORT)
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 545, in vibrate
await self.m.vibrate(self._client, vibration_type)
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 213, in vibrate
await self.command(client, Vibrate(vibration_type))
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 146, in command
await client.write_gatt_char(Handle.COMMAND.value, cmd.data, True)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/.venv/lib/python3.10/site-packages/bleak/__init__.py", line 659, in write_gatt_char
await self._backend.write_gatt_char(char_specifier, data, response)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/.venv/lib/python3.10/site-packages/bleak/backends/corebluetooth/client.py", line 325, in write_gatt_char
characteristic = self.services.get_characteristic(char_specifier)
AttributeError: 'NoneType' object has no attribute 'get_characteristic'
from dl-myo.
Observed a different case, but still vibrate
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/__init__.py", line 369, in entrypoint
asyncio.run(args.command(args))
File "/Users/iomz/.asdf/installs/python/3.10.11/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Users/iomz/.asdf/installs/python/3.10.11/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/command.py", line 86, in calibrate
await cls.record(args)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/command.py", line 103, in record
await rc.record(args)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/client.py", line 248, in record
await start_countdown(
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/src/myoktros/client.py", line 358, in start_countdown
await vibrate(VibrationType.SHORT)
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 548, in vibrate
await self.m.vibrate(self._client, vibration_type)
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 213, in vibrate
await self.command(client, Vibrate(vibration_type))
File "/Users/iomz/ghq/github.com/iomz/dl-myo/myo/core.py", line 146, in command
await client.write_gatt_char(Handle.COMMAND.value, cmd.data, True)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/.venv/lib/python3.10/site-packages/bleak/__init__.py", line 659, in write_gatt_char
await self._backend.write_gatt_char(char_specifier, data, response)
File "/Users/iomz/ghq/github.com/Interactions-HSG/MyoKTROS/.venv/lib/python3.10/site-packages/bleak/backends/corebluetooth/client.py", line 325, in write_gatt_char
characteristic = self.services.get_characteristic(char_specifier)
AttributeError: 'NoneType' object has no attribute 'get_characteristic'
from dl-myo.
Related Issues (8)
- feat: create a boilerplate Web UI for WS client HOT 1
- chore: the docker image is too large
- design: trigger on_emg_data with EMGData type, not the 8-byte list (just 1 sample each)
- feat: visualize the realtime EMG/IMU data
- feat: aggregate the emg and imu data to sync the timestamp (as an additional mode to MyoClient)
- chore: dockerize the whole setup
- fix: define on_emg_data_aggregated `data` type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dl-myo.