Hey Guys/Gals!
I've been taking a break for a bit from my home remolding project to tinker with PP2. Overall graphically the same but a lot of improvements under the hood.
So tackling this has been more painful than I remember from PP1.
Being limited without the use of halshow and halmeter has made this even more of a challenge. PP2 uses a "repo" of locally installed linuxcnc [master] as a source for development; but then of course its disabled/removed functionality on the release. Hence the portable Path Pilot 2 software that we receive ; only chosen binary's / scripts ship with the release.
I have figured out how to git pull linuxcnc master then configure it for use on a PathPilot 2 machine. If there is enough interest I will try to find the time for a proper how-to.
So basically here is what you do;
1) git pull linuxcnc into a folder named [linuxcnc] (of-course without the brackets.)
2) follow build instructions for a RIP; configure ; (dependency's are already met; set for uspace ... ect.)
3) I did NOT complete setuid
4) I did NOT set a RIP environment using the script.
5) move or copy [I just created a copy] the entirety of the linuxcnc folder [the one you just created and git pulled linuxcnc into] to
Code:
/home/operator/repos/tormach_linuxcnc/
[folder structure should look like this when completed, you will have to make the folder structure]
Code:
/home/operator/repos/tormach_linuxcnc/linuxcnc
6) Launch Pathpilot2 using your desktop launch you should have already created while tinkering or [/home/operator/operator_login]
There are a few things here that can go wrong. First the master you git pulled; is different than the development build they used. I'm not sure of the date/commit they used [OCT 2017??]. The first problem is I had - was basically a file mismatch/newer and PP2 crashed.
I just renamed the linuxcnc folder to something else for the pp2 lauch [linuxcnc_repo]. After pp2 lauched I renamed linuxcnc_repo folder back to the original name linuxcnc. I renamed to prevent the scripting from trying to load from the folder [scripting looks for this "repo" - It will launch without just as originally shipped.
Executed halshow/halcmd/halcompile from the recently built linuxcnc folder. I can now build modules ect while making this thing easier.
The naming scheme is important because this is where all the scripting looks for linuxcnc components that are not in the portable release.
I will keep tinkering with pp2 until I figure it out.
I have no idea YET of what other things that can go wrong with this. But for now it will allow me to see all pins / names of components and I can do it much easier.
So am I behind progress and someone else has already figured this out? Is there an easier way i'm not tracking?
Thanks!