- Posts: 105
- Thank you received: 93
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Almost always the guys at the exhibitions are sales guys without too much technical knowledge from the "back end" stuff. Hardly ever there are actual engineers that work on the products, maker fairs etc. excluded.And the manufacturers didn't know about
scurve motion profile and or path optimalisation using clothoids.
I really like this idea, I might be stupid to ask but do you really need 2 servers? Could you just open a websocket server that reads all states, parameters etc. and then stores all that data into example json. Then you could just connect to the server and the client could ask for the json data and you use from the stream what you want to use.Last week i made a few libraries to add to hal-core.
The idea is then that the motion controller in the kernel starts a http_server, and a websocket_server.
The gui's, pendants, smart-phones, etc can start a client and connect to the server. A simple website can be a client.
Then the gui's can be coded in python, c, rust, c++, html, java, etc. Cross platform solution.
However, displaying the gcode in a website for example, would still involve using extra code.
There are now 3 libraries tested to create networks : codeberg.org/skynet/network.git
1.http_server & http_client class. (can send a webpage to client showing the servers status)
2.tcp_server & tcp_client class. (can be used for custom data without the need of any http headers in the package's)
3.websocket_server & websocket_client class. (fastest, used for io, commands, position feedback to gui's etc.)
I have also considered to create a ethercat bus virtual client, but so far it's not essential and causes more difficulties as
a smart phone, pendant, has no ethercat bus running, normally.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.