PathPilot V2 source code

More
07 Mar 2022 13:03 - 07 Mar 2022 13:06 #236577 by smgvbest
Replied by smgvbest on topic PathPilot V2 source code
No that is the version for running the machine it does not contain the source code

You want to contact Tormach customer service and request the PP2 Source code. they will tell you how to order which usually involves sending them a check for $10.

they will send you a CD with the source code.

it contains only the parts of LinuxCNC Tormach uses, not the full release of LinuxCNC. you can get the full release on the web.

the gpg password is only to decrypt the update files Tormach sends out if you want to look at them prior to installing them. you can run a diff on them vs your previous installed version to see what they changed.

if you want to build a working version of PP2 from source you're going to want a DEV version of it. I installed PP from the USB drive to a VMWare image first then installed the PP source to it. downloaded the LinuxCNC release they used for that part then you have to install a compiler and tools like glade if your want to edit screens, you also have to install all the dependencies.

in PPV1 source you could do a 'make dep' to install the dependencies. that was removed in PPV2 so you'll have to work those out to get a clean compile.

I would get it to compile cleanly with the original source first before making any changes to the source

Also FWIW,  Tormach uses WingIDE for python work and the source is built for it for debugging. For 'C' use your choice of IDE's or do by hand.
 
Last edit: 07 Mar 2022 13:06 by smgvbest.
The following user(s) said Thank You: snowgoer540

Please Log in or Create an account to join the conversation.

More
07 Mar 2022 20:11 - 07 Mar 2022 20:14 #236599 by sagreen
Replied by sagreen on topic PathPilot V2 source code
@smgvbest

Over in another thread I recently posted a message about not being able to get compiled executables working that were compiled using 2.8.0-pre1 linuxcnc (the archive file you posted. thank you!) If you could take a look at this message, that would be a huge help. 

forum.linuxcnc.org/pathpilot/34463-compi...use-with-pathpilot-2

Do you have to have all of tormach's source code as well to make the compiled executables work in Path Pilot? I thought you could compile 2.8.0-pre1 and just move the files over.

Thanks,
Scott...
Last edit: 07 Mar 2022 20:14 by sagreen.

Please Log in or Create an account to join the conversation.

More
07 Mar 2022 20:59 #236602 by smgvbest
Replied by smgvbest on topic PathPilot V2 source code
When I compiled it I did so from a working PP install so all my dependacies where meet then I posted the files asked for.

you can not just overlay LinuxCNC code over the PP code
From what I see (i have not done this as of this time though) you need to merge it with what tormach supplies.

edit the tormach make files to add the stuff you want added in then use the tormach make to get a full working PP build

I never did get a build of Mint+LinuxCNC working in a way that worked with PP
only by starting with their environment did I get it to work

Please Log in or Create an account to join the conversation.

More
10 Mar 2022 00:29 #236801 by andypugh
Replied by andypugh on topic PathPilot V2 source code

BTW: PP2 is based on LinuxCNC 2.8.0-Pre

Really? I thought that PP was based on Machinekit and so was rather diverged from LinuxCNC 2.8

If PP2 is LinuxCNC-based then that should make the 9-axis lookahead much easier to merge in. 
(As the JA changes were a major issue there, as so much changed) 
 

Please Log in or Create an account to join the conversation.

More
10 Mar 2022 00:52 #236803 by smgvbest
Replied by smgvbest on topic PathPilot V2 source code
Yep
From the PP2.8.3 Log
About to run scripts/start_linuxcnc.
------------------------------------------------------------------------------
| start_linuxcnc |
------------------------------------------------------------------------------
prefix: /home/operator/tmc
exec_prefix: /home/operator/tmc
EMC2_BIN_DIR=/home/operator/tmc/bin
EMC2_RTLIB_DIR=/home/operator/tmc/rtlib
INIFILE: /home/operator/tmc/configs/tormach_lathe/tormach_15L_sim.ini
expanded INIFILE: /home/operator/tmc/configs/tormach_lathe/tormach_15L_sim.ini
EXTRA_ARGS:
RUN_IN_PLACE=yes
LINUXCNC version - 2.8.0~pre1

 

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.067 seconds
Powered by Kunena Forum