The discussion of the Alien series of films and the props used in them is the aim, but if it's got Big Bugs and Big Guns, then they are welcome too!





Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Fri Dec 15, 2017 3:22 pm 

Service Number: A05/TQ2.0.32141E1
Country: United States
We really need to get a group github respository set for this stuff. We have Ian Bremner and his setup, Sean Maio and his smartgun setup, and you. I will be getting a codebase built for a predator gauntlet at some point here soon.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Sat Dec 16, 2017 2:33 pm 
User avatar

Location: East Tennessee
Country: United States
That's great. Very nice job, martinr1000.


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Mon Dec 18, 2017 7:29 pm 
They mostly come at night... mostly.
User avatar

Location: Middlesbrough, England
Country: United Kingdom
martinr1000 wrote:
ok, i've not documented everything yet (most specifically the hardware wiring) but you can find the code and raspberry pi install instructions here. I'll be adding the hardware install instructions later.

https://github.com/martinr1000/AliensMotionTracker


Good work :-)

It looks like you have pin 9 labelled as pin 7 on the compass wiring picture.

_________________
The Colony - My collection and current prop projects.
My YouTube Videos


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Mon Dec 18, 2017 8:28 pm 

Location: Derby
Country: United Kingdom
Quote:
It looks like you have pin 9 labelled as pin 7 on the compass wiring picture.


quite right, well spotted. I've updated the offending file :)

cheers


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 18, 2017 9:56 pm 
Prop Churner Outer
User avatar

Location: Bath, Maine
Service Number: A03/TQ1.0.12143G1
Country: United States
Dedication!

We'll spotted Necronom.

_________________
:delta: My entry-level prop and costume tutorials: viewtopic.php?f=3&t=12751 :delta:


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Mon Oct 11, 2021 8:06 pm 

Location: Dallas
Country: United States
martinr1000 wrote:
Quote:
It looks like you have pin 9 labelled as pin 7 on the compass wiring picture.


quite right, well spotted. I've updated the offending file :)

cheers


I am giving this all a go. Thank you for being one of the few prop building humans alive who actually update and document their work. I am terrible about it myself so please know you are appreciated.


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Mon Oct 11, 2021 10:33 pm 

Service Number: A05/TQ2.0.32141E1
Country: United States
EvanDallas wrote:
martinr1000 wrote:
Quote:
It looks like you have pin 9 labelled as pin 7 on the compass wiring picture.


quite right, well spotted. I've updated the offending file :)

cheers


I am giving this all a go. Thank you for being one of the few prop building humans alive who actually update and document their work. I am terrible about it myself so please know you are appreciated.


Just post or message here if you have issues. One of the techies in the group will do our best to try and address the issue with you as you work through things.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Tue Oct 12, 2021 12:01 pm 

Location: Derby
Country: United Kingdom
EvanDallas wrote:
martinr1000 wrote:
Quote:
It looks like you have pin 9 labelled as pin 7 on the compass wiring picture.


quite right, well spotted. I've updated the offending file :)

cheers


I am giving this all a go. Thank you for being one of the few prop building humans alive who actually update and document their work. I am terrible about it myself so please know you are appreciated.


good luck. one thing i would try and make sure of is versioning of rasbian. I did it for Jessie and haven't updated it for later versions. I think you can still get hold of Jessie but if not i can probably dig out an image file.


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Wed Oct 13, 2021 9:57 pm 

Service Number: A05/TQ2.0.32141E1
Country: United States
Quote:
I am giving this all a go. Thank you for being one of the few prop building humans alive who actually update and document their work. I am terrible about it myself so please know you are appreciated.

good luck. one thing i would try and make sure of is versioning of rasbian. I did it for Jessie and haven't updated it for later versions. I think you can still get hold of Jessie but if not i can probably dig out an image file.


The setup should work regardless of raspbian version. TFT, gyroscope, and audio output options should work regardless. Circuit Python has been merged with micro python and C## has actually been copying python as python attempted to copy its functionality.

If you have any issues or errors, please, feel free to post. I have no issues doing a remote session to try and help with the problem with you as the process is worked through.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 14, 2021 3:00 am 

Location: Dallas
Country: United States
You folks are amazing thank you!

I am going to use a 3+. That's the biggest difference I can think of. Definitely going to house everything in the Kango with one of those little fans on top.


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Thu Oct 14, 2021 11:30 am 

Location: Derby
Country: United Kingdom
EvanDallas wrote:
I am going to use a 3+


it might be a tight squeeze. I remember struggling with the pi zero but then again i used a power bank to allow recharging so that took up some space. My original plan was to house all of it within the hama viewer which was possible with the zero but it was a real pain to have to open it up to get batteries out etc.

I glued a hdmi charging point beneath the handle where the drill cable used to go.


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Thu Oct 14, 2021 12:20 pm 

Service Number: A05/TQ2.0.32141E1
Country: United States
martinr1000 wrote:
EvanDallas wrote:
I am going to use a 3+


it might be a tight squeeze. I remember struggling with the pi zero but then again i used a power bank to allow recharging so that took up some space. My original plan was to house all of it within the hama viewer which was possible with the zero but it was a real pain to have to open it up to get batteries out etc.

I glued a hdmi charging point beneath the handle where the drill cable used to go.


On a resin unit only a pi zero w will fit.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 14, 2021 4:24 pm 

Location: Dallas
Country: United States
I am going to add some info to martinr1000's for anyone who wants to do this over Putty. (Logging into it via windows or mac instead of using the PI desktop)

Assuming I get this to work because I am a code basher and not too good at Python.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 14, 2021 4:35 pm 

Location: Dallas
Country: United States
Ahhhhhhhhhhhh and it seems like this should NOT be done via SSH as you have to use leafpad which is a gui application.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 14, 2021 4:54 pm 

Location: Dallas
Country: United States
Apparently Leafpad isn't installed with the current rpi image.
So if anyone comes across this post...here is how you get it.

You want to use this on line 17 on martins amazing guide.

https://github.com/martinr1000/AliensMo ... nstall.txt

Quote:
sudo apt-get install leafpad


This isn't anything he missed, this is simply the nature of what comes available on ready to go software packages over time.


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Thu Oct 14, 2021 6:24 pm 

Location: Derby
Country: United Kingdom
Hey. You dont need to use leafpad. I did because i felt moe comfortable with it. Any text editor will do but you still might need to sudo some of the config files. Not sure tbh


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 14, 2021 6:25 pm 

Location: Dallas
Country: United States
Note

FRAME BUFFER COPY area on Martins tracker install.txt
If you have a raspberry pi 3 it doesn't come with cmake or make so run the below code before you do this section as I am not sure upgrade install covers it.

Quote:
sudo apt-get install build-essential cmake


My apologies if I am cluttering this thread. If its not best to post here I will fork your file on github.


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Thu Oct 14, 2021 6:28 pm 

Location: Dallas
Country: United States
martinr1000 wrote:
Hey. You dont need to use leafpad. I did because i felt moe comfortable with it. Any text editor will do but you still might need to sudo some of the config files. Not sure tbh


I did have to use sudo. I couldn't be bothered to figure out why so I just did it to get it done. :lol:


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Thu Oct 14, 2021 7:14 pm 

Service Number: A05/TQ2.0.32141E1
Country: United States
martinr1000 wrote:
Hey. You dont need to use leafpad. I did because i felt moe comfortable with it. Any text editor will do but you still might need to sudo some of the config files. Not sure tbh


Use vi or vim or another text based. Gui editors can add unnecessary fluff to files.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 14, 2021 9:35 pm 

Location: Dallas
Country: United States
Hi All. I have hit a wall.

Auto Startup. I keep getting an error


Quote:
'/home/pi/.config/lxsession/LDXE-pi' does not exist


Top
 Profile  
Reply with quote  
 Post subject: Re:
PostPosted: Fri Oct 15, 2021 4:22 pm 

Service Number: A05/TQ2.0.32141E1
Country: United States
EvanDallas wrote:
Hi All. I have hit a wall.

Auto Startup. I keep getting an error


Quote:
'/home/pi/.config/lxsession/LDXE-pi' does not exist


First, what are you trying to do?

Second: https://forums.raspberrypi.com/viewtopic.php?t=228532
See if that helps

Third if you are trying to autostart a script recommended ways are:
Crontab
/etc/rc.local
Writing an init script and placing in rc.local
Writing a service file to kick off the script (new way but init scripts are easier)

Also any script you weite needs to be in /boot dorectory tjat way if you meed to ipdate something uou can plug sd card into a computer and update it if you are running a headless (no monitor) setup.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
 Post subject: Re: Re:
PostPosted: Mon Oct 18, 2021 2:06 pm 

Location: Dallas
Country: United States
knoxvilles_joker wrote:
EvanDallas wrote:
Hi All. I have hit a wall.

Auto Startup. I keep getting an error


Quote:
'/home/pi/.config/lxsession/LDXE-pi' does not exist


First, what are you trying to do?

Second: https://forums.raspberrypi.com/viewtopic.php?t=228532
See if that helps

Third if you are trying to autostart a script recommended ways are:
Crontab
/etc/rc.local
Writing an init script and placing in rc.local
Writing a service file to kick off the script (new way but init scripts are easier)

Also any script you weite needs to be in /boot dorectory tjat way if you meed to ipdate something uou can plug sd card into a computer and update it if you are running a headless (no monitor) setup.


Hi. Thank you

Lines 60 to 67

https://github.com/martinr1000/AliensMo ... nstall.txt


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Oct 18, 2021 6:42 pm 

Location: Dallas
Country: United States
Quote:
~/.config/lxsession/LXDE-pi/autostart


going to try this


Top
 Profile  
Reply with quote  
 Post subject: Re:
PostPosted: Mon Oct 18, 2021 7:53 pm 

Location: Dallas
Country: United States
EvanDallas wrote:
Quote:
~/.config/lxsession/LXDE-pi/autostart


going to try this


For clarity this is what I used which worked and appears to be the RPI4 workaround

Quote:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart


Top
 Profile  
Reply with quote  
 Post subject: Re: motion tracker for raspberry pi
PostPosted: Mon Oct 18, 2021 9:15 pm 

Location: Derby
Country: United Kingdom
great work. sounds like you are really getting a handle on it


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: