-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Cannot run with only example data on Raspberry Pi 3 #44
Comments
hey @razgr1z912 looks like the setup.sh script is using apt-get to install those python packages. And maybe they are no longer in the apt-get repos. You might try installing those packages using pip3? try running these from the command line.
Also not sure if the script stopping after failing, but after that it trys to install a few more things.
|
@razgr1z912 hmmmm... pyserial may be the wrong package.. if that doesn't work try removing that package and running. sudo pip3 install serial |
Sorry if I am a bit lost. All of my programming experience is in Java, VB.NET, and PHP. Not used to Python or the Raspberry Pi. The only package it needed to install using those commands was pyaudio. The error now is a bit different.
Could any packages be conflicting with each other? Right now I just have installed as many packages as possible and have not removed any packages. |
@razgr1z912 ok. Looks like its the wrong python serial library. It's trying to use flushInput() method but that isn't found. Looking around I see Looks like they renamed the method. Looks like you are using a different version of the python library? Probably a newer better one then we are using because I haven't tried installing it in a while :) Do you know how to branch and create a Pull Request in GitHub? If you want to update the code and submit it. |
It still is throwing an error with reset_input_buffer() instead of the depricated flushInput(). Interestingly, the G3X example works perfectly and has that flushInput() line commented out. I commented out both times that was being called and now the example seems to work. I am not sure if it will affect the accuracy of the serial data or not, but it seems to be working with just those two lines commented out. I have not used GitHub much but if that is an acceptable solution, I can try to update that file. |
ok. I'll have to look into that more. We may not need the flush input methods anymore. |
I need to commit the updates I’ve been working on that are good to go. I’ve added a extra item to the Config file that allows you to adjust the waterline up and down electro match the aircraft boresight when the plane is level and also added the gun funnel for 25,30,& 35 ft wingspans. Right now I’m working on the gun director function with ADSB tgt ranging. Sent from my iPhoneOn Feb 17, 2023, at 5:19 PM, dinglewanker ***@***.***> wrote:
ok. I'll have to look into that more. We may not need the flush input methods anymore.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hello @TopherTimeMachine
The image appears in full screen.
But there was a similar error in the console
Then I wrote a replacement like this Alive_Tron.mp4But text mode
MGL_demo.mp4
|
I have set it up using the instructions in TronView/docs/rpi_setup.md.
I have two issues that prevent me from running the application with the example data. When I run the main.py file, the screen shows the example display correctly, but it is a static image as the python file hits an exception and does not continue to run.
(1) During setup.sh, when trying to install python-pygame and python-serial, they are not available. See below:
(2) When trying to run main.py with example data, I get an exception in Thread-1.
This was all being done on a fresh install of Raspberry Pi OS (32 bit), kernel 5.15, debian version 11.
Any help would be great! I would love to get this up and running to pull EFIS and EMS data from my Dynon D100 series device in real time.
The text was updated successfully, but these errors were encountered: