Open BinaryFissionGames opened 6 years ago
List of things for it to do:
So, there seems to be a problem with the python setup part of the script. This could be fixed by porting the python to nodejs code. Otherwise, I have no idea why it's failing.
This needs better instructions on what to install before running this script, as well as how to install those things.
I would also like a way to detect if we are using windows, and try some different code for that. Because as it stands, the webcam stuff (namely, ffmpeg) won't work the way it's written right now. Also, port forwarding doesn't work on Windows.
I'm going to work on getting this stuff to work on Windows too, like the webcam and port forwarding stuff.
Stuck at trying to run windows executables from WSL. Might not be possible. Might need to pivot to only supporiting pure windows or pure linux (as in, either will work, but it needs to be one or the other) for the startup script.
It's POSSIBLE to get this to work with webcams and port-forwarding on WSL, I just don't know if it is through the setup script.
Alright, so I figured it out. The PATH for executing these processes didn't have the windows programs on said path if running as sudo. Works fine now (just don't run as sudo), with system32 on the path. Also, dumb admin elevation made it hard, because you need admin privileges on windows to port forward port 80, which is fine, but you can't just sudo or whatever, you need to do some ridiculous workaround to get close. It seems to work just fine now though.
WSL and windows users will have to download ffmpeg for windows and install it on their path.
I'm working on better camera selection right now.
Alright, so I've got it the way I want for Windows/WSL installations.
Linux remains relatively untested, and is probably broken. For now, I'm going to ignore it. It seems like Windows (with or without WSL) is what we want to support, because that's what AutomationDirect's PLC software supports, so if we want it all on the same machine (meaning, a way to setup the plc, upload programs, etc, in addition to our software), Windows would be the only way to do that.
This script would help expedite setting up the project.
I see this as a way to setup a basic working instance of RobotRemote on a single device. More advance configuration would be without this script.