-
Notifications
You must be signed in to change notification settings - Fork 38
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
Application: Black screen, not-responding #11
Comments
Same problem, please help us |
It seems like you have the the dependencies installed. Did you configure the UDP IP if using WiFi, or set |
Glad to receive your response.
I tried to change |
Is there an error stack trace? Any traceback to which line the error originates? Also, which version of python are you using? Are you already sending the IMU data on your computer's serial port in the format mentioned in the readme? Did you change to that particular serial port in the code? |
The full error stack trace is as below:
My python version is 3.8.8.
Did I set those params correctly? Or the data from IMU needs to be formatted as some standards first? |
Yes the IMU data needs to be formatted as defined in the readme (see the String passed over Serial or WiFi section). You can connect the IMU to a microcontroller like Arduino and write a simple program to read the IMU data and send it on your computer's serial port in the format specified in the readme. Also, I just ran my application on Windows for the first time and it ran perfectly fine. Just reiterating the steps I performed from scratch (you can ignore steps 2, 3 if you wrote a program to send your IMU's actual data on the serial port):
import serial
ser = serial.Serial('COM11', 38400)
while True:
ser.write(b'w0.09wa-0.12ab-0.09bc0.98cy168.8099yp12.7914pr-11.8401r\n')
ser.close() |
Thank you, I believe that's the problem.
|
Sure no problem. Closing issue for now, feel free to reopen if it still doesn't work. |
I changed following lines and it is working now:
Thank you! |
Hi,
I tried to run the application on my Windows, but the window is black and is not responding. I believe it is same issue as mentioned in #5
Below you can find the screenshots describing the issue and my prerequisites installation:
I guess I have some dependency missing, but I don't get any kind of error. If someone has done Windows installation could you please guide what to do regarding other pre-requisites?
The text was updated successfully, but these errors were encountered: