#hazzy | Logs for 2018-09-14
Back
[21:18:05] -!- logs has joined #hazzy
[21:18:05] -!- mode/#hazzy [+o logs] by ChanServ
[22:18:54] <TurBoss> hazzy: you arround?
[22:19:10] <TurBoss> I have a question
[22:19:30] <hazzy-m> yes, but I have to go in a sek
[22:19:39] <TurBoss> the no worry is a big one
[22:19:40] <TurBoss> :P
[22:19:55] <hazzy-m> Ok, i'll be back in about 30min
[22:19:58] <TurBoss> no problemo
[22:20:00] <TurBoss> thanks
[22:26:01] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
[23:12:34] robotust1a is now known as robotustra
[23:21:42] * hazzy-m is back
[23:23:05] <robotustra> how the gui gets the data about path to draw it in GL widget?
[23:23:29] <hazzy-m> it uses glcannon
[23:23:53] <hazzy-m> which uses the RS274 interpreter
[23:24:09] <hazzy-m> it is all written in python :(
[23:25:16] <hazzy-m> robotustra: https://github.com
[23:25:21] <robotustra> I thought the interpreter module is written in c++
[23:25:46] <hazzy-m> it is, but not the part that does the gl drawing
[23:26:05] <hazzy-m> it would be awesome to have a c++ backplot!!
[23:27:02] <hazzy-m> I lied, some of the gl drawing is done in c++, but not very much
[23:27:10] <robotustra> what I need is to get output of the interpreter as a path of dots
[23:27:51] <hazzy-m> it is not very hard to get a list of rapid, feed, and arc moves
[23:27:55] <robotustra> I'm thinking how to add rs274 interpreter into my gui
[23:27:55] <hazzy-m> sek
[23:28:16] <TurBoss> hazzy: I solved my issue :D
[23:28:22] <hazzy-m> great!!!
[23:28:27] <TurBoss> for you :P
[23:28:28] <hazzy-m> I need to go away more often :D
[23:28:30] <TurBoss> hehehhe
[23:28:45] <TurBoss> I want to finish this bot thing
[23:28:56] <TurBoss> #spring_test:jauriarts.org
[23:29:01] <TurBoss> to get spammed
[23:30:21] <robotustra> if I'll add rs274 interpreter into gui I'll be able to run gui remotely on a thing channel
[23:31:33] <hazzy-m> You can run the rs274 interpreter stand alone
[23:31:36] <robotustra> I already connected about 40% of my gui via linuxcncrsh.
[23:31:44] <hazzy-m> but why would you have the interpreter remote?
[23:32:03] <TurBoss> isn't there a c++ api?
[23:32:19] <TurBoss> include <halui.h> or something like that?
[23:32:59] <hazzy-m> not sure, I don't think there is one that is well defined
[23:33:35] <hazzy-m> what we need is a protobuf server ...
[23:33:54] <TurBoss> we can add it to the websocker server
[23:34:12] <TurBoss> is allready started
[23:34:33] <TurBoss> it has a protobuff branch
[23:34:37] <TurBoss> iirc
[23:35:01] <robotustra> what is protobuf?
[23:35:04] <hazzy-m> yes it does
[23:35:32] <TurBoss> serialization done right
[23:35:39] <TurBoss> by google
[23:36:14] <TurBoss> https://developers.google.com
[23:38:29] <robotustra> why do you need a structured data?
[23:38:48] <robotustra> to transfer it over network?
[23:39:15] <hazzy-m> for sending data between the linuxcnc host and a remote UI
[23:39:22] <hazzy-m> ye
[23:39:23] <hazzy-m> s
[23:39:57] <hazzy-m> but it is also a good neutral communication format for use with local UIs
[23:40:28] <TurBoss> or serial interface
[23:40:32] <TurBoss> doesn't matter
[23:41:03] <TurBoss> robotustra: http://wiki.linuxcnc.org
[23:41:07] <TurBoss> interfacing lcnc
[23:41:18] <robotustra> for how I'm using standard text request-reply-parse stuff
[23:42:56] <robotustra> I use linuxcncrsh as a gui, I don't connect to emctask directly
[23:43:48] <hazzy-m> robotustra: https://github.com
[23:44:54] <hazzy-m> emcmodule.cc is is were most of the python interface stuff is implemented, might be good to study how to command LCNC directly from c++
[23:45:18] <TurBoss> jepler said that a c++ api exist
[23:45:51] <hazzy-m> oh great! do you know if there are any docs for it?
[23:46:02] <TurBoss> I'm searching for it
[23:46:47] <TurBoss> but should be like a component
[23:46:57] <TurBoss> do you wrote some?
[23:47:07] <robotustra> the only thing I need is to interpret the g-code and get a trajectory as a bunch of numbers
[23:47:48] <robotustra> all other GL stuff I can write from scratch
[23:48:53] <hazzy-m> This does what you want, but it is in python: https://github.com
[23:49:14] <hazzy-m> it greats a list of points for drawing the backplot
[23:49:35] <hazzy-m> creates*
[23:50:11] <TurBoss> https://github.com
[23:50:25] <TurBoss> robotustra: ^
[23:50:38] <TurBoss> a gui for X11
[23:50:48] <TurBoss> removed from master but should give you an idea
[23:52:10] <robotustra> thanks, I'll read it