Trajectory Planner using Ruckig Lib

More
2 years 3 weeks ago #311366 by Grotius
@Rda,

I agree with you. And that was the reason to use Thermal Dynamics high def for me.

But how do you send the commands? I would assume that json would be pretty good at sending commands too? So you read states/parameters from the received json and you could also send json messages to change speeds, set states etc.?
Yes, the transfer protocol for recieve and send is in json format. It's just a text string, but then uses a json layout.

EDIT: Sorry if this is confusing but on the server side you would have all the commands etc. mapped.
Yes indeed. You need at least a map or a list. In json we can use an array of Id and Value.
For example you send id="load" value="/home/gcode.ngc"
Or just send the id="run" value=""
Or send multiple id's and value's in one message, i have to test if we can send 30.000 lines of gcode in one message.

Then the client could send json messages to ask the server to do what it can.
Yes. The client can send id="stop value="" or the client can ask to load a mdi command like id="mdi" value="G01 X0 Y0 Z0"
And so on.
But everything from and to the server has to be mapped.

I am now trying out webassembly. This is c++ code compiled into html and java to run on a webbrowser.

Edit, my previous post : i could connect the websocket server to the linuxcnc nml's server in c++.
This is likely not the case, as we can better create a linuxcnc nml client that connects to the linuxcnc nml service or server.
Then we make a bridge from the linuxcnc nml client to a websocket server. This then should work excellent.
We already have the nml mapped, so we know all the command and status channels. It just a matter of coding it to the finish line.







 

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

More
2 years 3 weeks ago #311401 by Aciera
Are you still working on the trajectory planner or has that project been shelved?
The following user(s) said Thank You: Lcvette, tiagounderground

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

More
2 years 3 weeks ago #311435 by Lcvette

Are you still working on the trajectory planner or has that project been shelved?

say it isn't so!

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

More
2 years 3 weeks ago #311484 by Todd Zuercher
The thread does seem to have drifted a bit off topic.

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

More
2 years 3 weeks ago #311513 by Grotius
Hi all,

The planner is not on the shelf. Soon i will work on it.
I am glad the planner worked on a real machine and did it's job.
However i needed some time to figur out some other things that got my interests.

Will add another topic for the latest posts. image missing /media/kunena/emoticons/smile.png
 
The following user(s) said Thank You: tommylight, Clive S, Lcvette, Ritterchen, Darium, Unlogic

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

More
2 years 3 weeks ago #311599 by ihavenofish
let the guy have a firkin vacation! Yeesh!













... is it done yet?
The following user(s) said Thank You: tommylight, pommen, Grotius

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

Time to create page: 0.736 seconds
Powered by Kunena Forum