Linux CNC for a mobile machine?

More
06 Sep 2017 22:26 #98600 by Bend
Hello, i am developing an autonomous guided vehicle system for transporting material from point a to point b.

On the AGV will be a computer running some motion control application, (linuxcnc or something else).
And connected over a network will be the server telling the AGV what to do, (grab x from location y and take it to location z).
The AGV will be in constant communication with the server.
Wondering if:
1). anyone knows how to receive text over an ethernet connection and change the g-code program executing on linux cnc?
2). send information back over a network.
3). and what the major issues would be in the proposed communication?

~Ben

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

More
08 Sep 2017 14:56 #98694 by andypugh
This doesn't sound like such a natural fit for LinuxCNC to me.
And going via G-code seems even stranger.

It is possible to use certain parts of LinuxCNC without others, for example you could simply not use the G-code interpreter and motion controller.

Also you might be interested to know that LinuxCNC supports alternative interpreters, so you might be able to write an interpreter module that converts your data directly to motor positions without the G-code step.

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

More
08 Sep 2017 20:34 #98711 by Bend
So suppose i white my own interpreter. there are a few pieces to this program.
1). a steering algorithm that runs indefinitely to follow the travel path.
2). a wifi receiver for taking instructions and forwarding them on to a logic engine.
3). a wifi transmitter to send status updates back to a server.

i can and have done part 1.
does anyone have any ideas for sending/receiving wifi signals and changing operation based on them?

~Ben

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

More
09 Sep 2017 23:45 - 09 Sep 2017 23:46 #98750 by andypugh
I guess by the time WiFi is in the loop you are no longer in hard realtime?

Or are you confident in the realtime behaviour of that link?

I can see ways to do this with LinuxCNC and think it sounds like fun, but you might want to consider ROS .
Last edit: 09 Sep 2017 23:46 by andypugh.

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

More
11 Sep 2017 20:28 #98852 by Bend
No, the wifi has up to about a 1/16 second latency. So that part is not real time.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum