#linuxcnc-devel Logs

Oct 11 2020

#linuxcnc-devel Calendar

01:59 AM Centurion-Dan2 is now known as Centurion_Dan
07:08 PM skunkworks: how do you define a varible that will exist between runs of the comp>?
07:13 PM skunkworks: ah - got it
07:13 PM skunkworks: variable float shape[100000];
07:44 PM skunkworks: http://electronicsam.com/images/greenmachine/Screenshot_2020-10-11_19-42-05.png
07:47 PM Tom_L: smartie pants
07:48 PM skunkworks: well - it will scan a shape gcode shape in - (the right shape) and then will use that to create the spindle synced motion.
07:49 PM skunkworks: it was a cheap an dirty way to do it.
07:49 PM Tom_L: still pretty cool
07:50 PM Tom_L: hope my spindle motor ships soon
07:50 PM skunkworks: and I don't know if I have the math right yet
07:50 PM skunkworks: :)
07:50 PM skunkworks: I thought for some reason you already had it.
07:53 PM Tom_L: no it's been on order for a while. i knew it would take a bit
08:02 PM skunkworks: so - theoretically I could draw up any shape in gcode and and bore or turn it (if it is physically possible)
08:02 PM Tom_L: yeah
08:02 PM skunkworks: crazy
08:03 PM Tom_L: rather limited sizes of shapes
08:03 PM skunkworks: sure
08:03 PM Tom_L: next you'll have to do a multi pass for large shapes
08:03 PM skunkworks: maybe not as limited on a lathe.. Depeing on the delta
08:03 PM skunkworks: or the cutter size
08:05 PM skunkworks: You can slave the x axis to the radius - so you can start large and go smaller
08:05 PM skunkworks: per pass
08:06 PM Tom_L: i think you'd want to go the other way or the cutter center would hit wouldn't it?
08:07 PM skunkworks: well - there is outside and inside turning..
08:07 PM skunkworks: I was talking lathe style turning
08:08 PM Tom_L: oh ok
10:54 PM skunkworks: So - what is the memory limit of a hal componant?
10:54 PM skunkworks: I just found out that I cannot have a single element array of much more than 50000...
11:06 PM Tom_L: take a peek at /etc/security/limits.conf?
11:06 PM Tom_L: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?LockedMemory
11:07 PM Tom_L: may not be relevant...
11:08 PM skunkworks: Hmm - worth a shot..
11:08 PM Tom_L: https://sourceforge.net/p/emc/mailman/message/32691649/
11:11 PM Tom_L: https://www.cnczone.com/forums/tormach-pathpilot-/372674-pp-memory-swapping.html
11:15 PM skunkworks: Note: Using POSIX realtime
11:15 PM skunkworks: rtapi_app: caught signal 11 - dumping core
11:15 PM skunkworks: ./core_sim.hal:13: waitpid failed /home/skunkworks/linuxcnc-dev/bin/rtapi_app polygon
11:15 PM skunkworks: ./core_sim.hal:13: /home/skunkworks/linuxcnc-dev/bin/rtapi_app exited without becoming ready