Addition of a motion detector (accelerometer)
Hi,
I am planning to make another physical pinball with vector pinball.
My fisrt was:
I wil use a Raspberry PI 4 and a neovo glass protected screen. I will use the https://konstakang.com/devices/rpi4/ Android light OS with an autosdtart to launch Vector Pinball. On the Raspberry PI i could use an accelerometer sensor.
Is it possible that the pinball is affected by the accelerometer data?
There's some disabled code to support the accelerometer, at some point I'd like to see if it can be made to work well.
I'm up for testing, could you build a specific version ?
Hi, I have a MPU3050 3-axis gyroscope with an embedded Digital Motion Processor.
To make tests i wonder if a version for RaspBerry PI OS could be build? (I really lack of skills on this, could be a silly question)
Aren't this and #100 the same?
It looks-like indeed!
To make tests i wonder if a version for RaspBerry PI OS could be build? (I really lack of skills on this, could be a silly question)
No.
And not a silly question. Both Raspberry Pi OS and Android are both "Linux", but there's more to an operating system than just the kernel. It is non-trivial to port most Android programs to GNU/Linux (or any other OS, for that matter).
I believe Vector-Pinball was written using libGDX which is supposed to make porting Android programs to other systems easier, but it still would require significant work from a programmer. I couldn't find anything recent about it, but it looks like over a decade ago someone created a tutorial on how to do it: http://web.archive.org/web/20150519135633/http://www.habitualcoder.com/?page_id=257
Your initial idea of using Konstakang's pi4 build of LineageOS instead of Raspberry Pi OS seems like the easiest solution.
Hi @hackerb9 and thank you for these details. Your are right, i will use android builds on my Raspberry