#garfield Logs

Feb 10 2024

#garfield Calendar

02:12 PM rue_mohr: goals: big cnc, AI, skeletonics, VR
02:27 PM rue_mohr: AR?
02:27 PM rue_mohr: hmm
02:46 PM rue_shop2: socat pty,link=/dev/ttySEther2,raw,echo=0 tcp:192.168.9.14:44
09:46 PM rue_mohr: polprog, ?
09:47 PM rue_mohr: Tom_L, ?
09:50 PM rue_mohr: I could do so much better with someone to bounce ideas with
10:28 PM Tom_L: bounce away
10:28 PM Tom_L: trying to implement a pyqt connection to linuxcnc hal layer
10:28 PM rue_mohr: I'm talking to myself in another channel and almost have it all worked out
10:28 PM rue_mohr: :]
10:29 PM Tom_L: i'll leave you to it then
10:29 PM Tom_L: seems i'm learning to swim in the middle of the ocean
10:30 PM rue_mohr: :) it would be great if weren't all alone eh?
10:30 PM Tom_L: just takes alot longer
10:31 PM Tom_L: i did get the first steps working right
10:31 PM Tom_L: a push button that resets if an ouside source changes the same data
10:31 PM Tom_L: on/off
10:32 PM Tom_L: then a box to update the feedrate live
10:33 PM Tom_L: just an effort to learn a bit about python
10:33 PM Tom_L: do you know python?
10:35 PM rue_mohr: enough to do the things I'v done :)
10:36 PM Tom_L: what does super().__init__ do?
10:36 PM rue_mohr: 2.2.1_source
10:36 PM rue_mohr: TapeRunner
10:36 PM rue_mohr: appSeven
10:36 PM rue_mohr: combobox
10:36 PM rue_mohr: doc
10:36 PM rue_mohr: field
10:36 PM rue_mohr: foo
10:36 PM rue_mohr: game1
10:36 PM rue_mohr: ircbot
10:36 PM rue_mohr: jaks_servo_control
10:36 PM rue_mohr: kiss2dot
10:36 PM rue_mohr: menu
10:36 PM rue_mohr: mouse
10:36 PM rue_mohr: opencv
10:37 PM rue_mohr: pb2.py
10:37 PM rue_mohr: postgres
10:37 PM rue_mohr: serialDiaglog
10:37 PM rue_mohr: tensorflow
10:37 PM rue_mohr: tests
10:37 PM rue_mohr: textedit
10:37 PM rue_mohr: tk
10:37 PM rue_mohr: versrx.py
10:37 PM rue_mohr: wx
10:37 PM rue_mohr: I dont know what the super object is
10:37 PM rue_mohr: it could be object heirarchy navigation
10:38 PM Tom_L: https://pastebin.com/9miFvSWZ
10:38 PM Tom_L: 2 samples
10:47 PM rue_shop3: yea,. your into gui stuff
10:48 PM Tom_L: i'm stuck on the links that join the 2
10:48 PM rue_shop3: def __init__(self, parent):
10:48 PM rue_shop3: self.parent = parent
10:48 PM rue_shop3: parent.geometry("600x250+300+300")
10:48 PM rue_shop3: parent.title("Tape Runner II")
10:48 PM rue_shop3: self.menubar = Menu(parent)
10:48 PM rue_shop3: parent.config(menu=self.menubar)
10:48 PM Tom_L: but i'm using designer for the buttons etc
10:49 PM Tom_L: instead of hand coding them
10:49 PM rue_shop3: files/programming/python/TapeRunner/ncwindow.py: Frame.__init__(self, parent.parent)
10:50 PM rue_shop3: actually I think that is how you get a handle on the parent object
10:50 PM rue_shop3: and yoruself
10:50 PM rue_shop3: I had to use it all over taperunner
10:51 PM rue_shop3: beacuse all my objects have to communicate in crazy ways
10:51 PM Tom_L: i'm just trying to fill in the gaps as i go
10:51 PM rue_shop3: when an object is added, it ads a thing to its parent
10:51 PM rue_shop3: so, for example the ncwindow ads a set of menu options to the menu bar
10:51 PM Tom_L: hard for me to grasp this type of programming
10:52 PM rue_shop3: objects can be evil
10:52 PM rue_shop3: I thoguht it was not too bad with pyton
10:52 PM rue_shop3: some of the syntax was out to lunch tho
10:53 PM rue_shop3: def __init__(self, parent):
10:53 PM rue_shop3: Frame.__init__(self, parent.parent)
10:53 PM rue_shop3: self.parent = parent
10:53 PM rue_shop3:
10:53 PM rue_shop3: self.Line = 1
10:53 PM rue_shop3: self.jump_enable = True
10:53 PM rue_shop3: fileMenu = Menu(parent.menubar, tearoff=0)
10:53 PM rue_shop3: fileMenu.add_command(label="Open", command = self.open_command)
10:53 PM rue_shop3: fileMenu.add_command(label="Save As", command = self.save_command)
10:53 PM rue_shop3: self.parent.menubar.add_cascade(label="File", menu=fileMenu)
10:53 PM rue_shop3: see how I get a handle on "parent" and then make calls to add items to its menu?
10:53 PM rue_shop3: __init__ itself is the initialization code when an object is created
10:55 PM rue_shop3: Frame....
10:55 PM rue_shop3: oh, frame is the drawable window
10:55 PM Tom_L: i can't think about it any more tonight. i'm fried
10:55 PM rue_shop3: I'm creating the viewable area
10:55 PM rue_shop3: yup
10:56 PM rue_shop3: I'm on synthetic music fuel right now
10:56 PM Tom_L: it will get solved
10:56 PM rue_shop3: waiting for my servo to give me two data sets
10:56 PM Tom_L: maybe not by me but someone
10:56 PM rue_shop3: takes about a half hour per dataset iirc
10:56 PM rue_shop3: take a look thru taperunner, its much more limited source
10:56 PM rue_shop3: its on github under my name
10:57 PM Tom_L: i have it
10:57 PM rue_shop3: its got that stuff laced all thru it, but in a much simpler example
10:57 PM Tom_L: i'm able to do things but this is connecting another layer
10:58 PM rue_shop3: objects
10:58 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/screenshots/Current_Linuxcnc_Axis_screen.png
10:58 PM Tom_L: pyvcp uses it to do all that stuff on the right side
10:58 PM rue_shop3: my velocity measurements are varrying between 150 and 250 counts, doesn't feel right
10:59 PM Tom_L: but this is a separate gui
10:59 PM Tom_L: and it's not mine but i'm trying to help and learn
10:59 PM rue_shop3: 02003, 02003, 00242, 02289, 02278
10:59 PM rue_shop3: 02004, 02004, 00147, 02295, 02287
10:59 PM rue_shop3: 02005, 02005, 00149, 02300, 02279
10:59 PM rue_shop3: 02006, 02006, 00160, 02283, 02273
10:59 PM rue_shop3: 02007, 02007, 00208, 02279, 02274
10:59 PM rue_shop3: 02008, 02008, 00246, 02297, 02289
10:59 PM rue_shop3: 02009, 02010, 00145, 02298, 02290
10:59 PM rue_shop3: 02010, 02010, 00201, 02312, 02286
10:59 PM rue_shop3: 02011, 02011, 00242, 02287, 02281
10:59 PM rue_shop3: 02012, 02013, 00160, 02286, 02282
11:00 PM rue_shop3: 02013, 02013, 00199, 02303, 02291
11:00 PM rue_shop3: 02014, 02014, 00204, 02304, 02291
11:00 PM rue_shop3: 02015, 02015, 00196, 02314, 02305
11:00 PM rue_shop3: 02016, 02016, 00160, 02286, 02278
11:00 PM rue_shop3: 02017, 02018, 00160, 02300, 02290
11:00 PM rue_shop3: 02018, 02018, 00196, 02310, 02302
11:00 PM rue_shop3: 02019, 02019, 00241, 02315, 02300
11:00 PM rue_shop3: 02020, 02020, 00204, 02308, 02297
11:00 PM rue_shop3: 3rd column is the velocity
11:00 PM rue_shop3: after having the mtoor on for basically the same amount of time
11:00 PM rue_shop3: seems like a lot of variation
11:00 PM rue_shop3: maybe I'll try antoher moto
11:00 PM rue_shop3: r
11:01 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/jog_for_tool_touchoff.png
11:01 PM Tom_L: part of it
11:01 PM Tom_L: i did the tool change stuff
11:01 PM Tom_L: and added a feed box above the tool at the top
11:02 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/jet_mdi_command.png
11:02 PM Tom_L: and the coolant controls
11:03 PM rue_shop3: :)
11:03 PM rue_shop3: I should work on mine too
11:03 PM Tom_L: i'm goin to sleep
11:03 PM Tom_L: had enough for one day
11:04 PM rue_shop3: veloccity measurement still must be off
11:25 PM aandrew: is it a brushed or brushless motor?
11:49 PM rue_mohr: brushed
11:50 PM rue_mohr: I put the drive signals on the scope and the time it takes for to get to position DOES varry a LOT
11:50 PM rue_mohr: so I think its probably right