bp100a / RpiPG

Raspberry Pi control of photogrammetry rig
10 stars 0 forks source link

Getting Started User Guide #8

Open diplomat17 opened 3 years ago

diplomat17 commented 3 years ago

Hi! Thanks for your work. Can you give some instruction to launch this project.

First problem: I have same extension shield (HAT for steppers) for RPI. How to make it works? Best wishes, Alex

hcollins-sunrise commented 3 years ago

diplomat17! Thank you for your interest in my project. This is a blast from the past, but I will help as best I can. Is there a particular issue you are having problems with?

I used PyCharm (you only need the community edition). I had the project fully working in that the h/w I built (3D printed) would take the pictures and upload them to a Google Cloud account. I built this for my daughter when she was a design student in college.

I may have done all the actual work on a Raspberry Pi as I have done on some projects. You can run PyCharm on a Raspberry Pi and use x-server to access it remotely. I'll try to find some time to set this up locally (Windows) and see what works and what doesn't. I have long since disassembled the h/w, but it was an off-the-shelf Pi Hat for motor control and switches to serve as "end stops" for motion. The web UI that appears on the phone was something I purchased on bootstrap in addition to some java widgets I found on the web.

bp100a commented 3 years ago

Okay, I pulled the repo down and noticed there are some issues with the requirements.txt file. First some things are "out of date", second, some items cannot be installed on a Windows machine, in fact there are Raspberry Pi specific code.

I fixed up the low hanging fruit. I'll look into other things that I can do. For now if you want to work on this, having PyCharm installed directly on a Raspberry Pi (a 3.0 will do fine, that's all that was out when I did this) will do the trick. To get around this it will be necessary to write "mocks" for the RPi specific libraries, not a trivial task but not that hard.

diplomat17 commented 3 years ago

diplomat17! Thank you for your interest in my project. This is a blast from the past, but I will help as best I can. Is there a particular issue you are having problems with?

I used PyCharm (you only need the community edition). I had the project fully working in that the h/w I built (3D printed) would take the pictures and upload them to a Google Cloud account. I built this for my daughter when she was a design student in college.

I may have done all the actual work on a Raspberry Pi as I have done on some projects. You can run PyCharm on a Raspberry Pi and use x-server to access it remotely. I'll try to find some time to set this up locally (Windows) and see what works and what doesn't. I have long since disassembled the h/w, but it was an off-the-shelf Pi Hat for motor control and switches to serve as "end stops" for motion. The web UI that appears on the phone was something I purchased on bootstrap in addition to some java widgets I found on the web.

Thanks for the answer! You have done a great job of writing the code.

I understand the general scheme of the device. I haven’t gotten to any specific problem with repeating a project yet. Rather, I decided to immediately write to you and the author of the OpenScan project for help. The fact is that I am not an expert in programming: I have some basic skills in Python. And not an expert in electronics at all: I have a CNC laser machine and a 3D printer. I can handle them as an operator and keep them running. I can call my strong point the possession of CAD.

The author of OpenScan told me that RPI HAT v0.2 would work for this project, but changes need to be made. I found that you used this particular expansion card and was delighted. I liked the OpenScan v1 version more than others from a design point of view. I imagined something like this when I was just thinking about the project of a photogrammetric installation. I think the subject should be stationary for the best scan result. In perspective, I want to replace the rotating object on the axis with a rotating platform + static object. I found OpenScan and decided to use it to create my own version.