-
Notifications
You must be signed in to change notification settings - Fork 4
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
Project Help #19
Comments
Hi, My email is samuel.cuella@gmail.com. I didn't get any message notification from HBA in a while :). I'm still working on the project although at a reduced pace. I've nearly finished putting together a menu system that will allow users to do a "go to" with the map. That is the next thing that will be integrated and pushed on github. I've just finished moved in a new home, a new hangar for the plane and I'm currently doing my annual inspection, thus time is scarce right now. I will make more progress on SoFIS as winter comes in. I'll be glad to work/converge with someone that more into electronics. I'm pretty bad at it :). |
That sound like a good news currently I have a pi Zero w that I can remote debug my application (only artificial horizon yet) on it and a small 9 axis board a nice 10inch 1000nits lcd. I haven't touch that part for a year tho (too much project) Currently im working on lights and lights controller for my father next plane. |
Just a quick answer to ack to your message. I'm really busy for next couple of days, I'll get you a real/full answer afterwise (this weekend hopefully). |
For that kind of discussion who tend to get lengthy I prefer email
That is exactly what I need. What I would like to see is to get data from sensors like engine temperature (water/oil), engine rpm, airspeed with a sensor like this one. I'm a thinking about having an arduino (or alike) talk with the sensors + do the ADC and send all the values to the RPI through a serial line.
Nice! Is your code public? I have more features but nothing is on a real plane yet. I have a friend who is going to be an alpha tester, he is currently rebuilding his panel and I'm waiting for the screen etc to pre-assemble everything so he can mount it.
For short I want to create something that anyone can build with off the shelf parts while providing similar functions than an uncertified glass cockpit. Open source so that the project can live on and get code/interest from others. I also think that you surely can help the project with your skills/equipment :) |
you leave me with a cliffhanger like that... what do you prefer :D, btw my email is julien_gingras@hotmail.com for communication between the sensor and the Pi or between them I thought to use uavcan, https://uavcan.org/ the code isn't public but it isn't close either ill try to create a git for it to share (im using qt and there is probably code in french in there :D) I think our goal are pretty much aligned, im used the the MGL efis (the one I have in my rv7) moving map may be complicated for me since the official vnc map are not free, there are source like skyvector that I could pick the map from but im not at that point im pretty sure youll get there before me. So I will focus on designing hardware and communication with my RPi (I also have a new cm4 with a mirko pc under it which can have a ssd, so pretty much unlimited storage space :D, thats the part im working while I wait for new pcb for a new power supply since there no part for the one I already designed...) So I will continue to work on module and sensor (now some light and the light controller, then the trim controller (which I already have a pcb), then probably on trying to do a decent ahrs (you can read that page for another great project here: https://www.pittnerovi.com/jiri/hobby/electronics/avionics/index.html) So hit me up if you need anything might be you just want to talk about idea or you want me to tests something (ill try to run your code soon) and ill put up a git for my program I currently have |
I did clone your git on my raspberry and tried to build it |
I was able to build sdl-gpu and install it but still have and sdl_gpu.h error when building sofis |
Can you please provide the full build log? I'll look into it. You can also use a pre-built image with everything from here. |
https://pastebin.com/9qsSxWNt |
I found out that if I include "SDL2/SDL_gpu.h" instead of just "SDL_gpu.h" at all the places in your code I get a little further but still doesn't compile |
Here is what I have yet here is the code I was working on to get the right calibration on boot and the motion module I use for this is: https://github.com/kriswiner/EM7180_SENtral_sensor_hub |
The build system currently expects SDL_gpu to be installed alongside SDL2. As per your log it seems that SDL_gpu is in /usr/local/include while SDL2 is in /usr/include. Try to re-install SDL_gpu into /usr/include by doing the following commands into SDL_gpu source directory $ cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr
$ make
# make install
Empty repo here :) |
I will try that soon with sdl_gpu my git is updated I forgot to press commit :D |
it get a little further im on buster |
Nice to see some progress here. Can you tell me on which system your are building (RPi 1/2/3/4) ?. |
RPi CM4 (8gb and emmc) on a MirkoPC MB |
Ok, that's why. The RPi4 does not use the same hardware as the previous versions. Remove the following line from switches.local: GL_LIB=brcmGLESv2 then do a $ make clean
$ make If that still doesn't work try removing this line from switches.local: USE_GLES=1 and rebuild |
YAY |
only had to remove GL_LIB=brcmGLESv2 btw |
This means that GLES is not supported by your SDL_gpu build. Try to rebuild without USE_GLES=1 |
same error is thrown |
Something is wrong with your SDL_gpu build. Can you run the samples that come with SDL_gpu ? Unfortunately I don't have a RPi 4 so can't replicate here. |
I do have trouble compiling the demos of sdl_gpu |
Do you have a build log? |
pi@raspberrypi:~/sdl-gpu/demos $ make |
ld -lSDL_gpu --verbose
|
Can you rebuild SDL_gpu and post the build log? Doesn't seem to be installed. |
Hi, I finally got my hands on a Rpi4. First, you need to install the deps, otherwise you'll get the SDL_gpu.h error: # apt-get install libgpsd-dev
# apt-get install libcurl4-openssl-dev Then, you need to build SDL_gpu as follows(here is a prebuilt version you can untar to /): $ cd sdl-gpu-master/
$ cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DDISABLE_GLES=ON -DDISABLE_OPENGL=OFF
$ make You can then try to run the demos, You should get something. If you don't, something is wrong, you can proceed further. $ cd demos
$ ./3d-demo If you get the demo running, the proceed with installing the lib: $ cd ..
# make install Then proceed with building SoFIS as if it wasn't a Rpi (Rpi4 has a different hardware when it comes to video), i.e follow steps from the "Building" section of the readme, ignoring the switches.local part. That should work :) |
cool ill try that soon |
Hi
I coulnd't find your email and I don't know why homebuild forum doesn't work with me.
I do have a RV7A and electronic knowledged. I kinda have a similar project in work but im not completly to the efis point
im currently building hardware control and sensor for different part, like light and trim controller.
do you still work on your project? maybe we could converge to the same goal
The text was updated successfully, but these errors were encountered: