- Posts: 152
- Thank you received: 0
ubuntu 14.04.1 linuxcnc help
10 years 10 months ago #66268
by tjmarch
Replied by tjmarch on topic ubuntu 14.04.1 linuxcnc help
try here for joy stick
wiki.linuxcnc.org/cgi-bin/wiki.pl?Using_X11_Joystick_Driver
also allot of good info here some out dated
wiki.linuxcnc.org/cgi-bin/wiki.pl
There is also some youtube videos on subject of joy sick with linuxcnc
wiki.linuxcnc.org/cgi-bin/wiki.pl?Using_X11_Joystick_Driver
also allot of good info here some out dated
wiki.linuxcnc.org/cgi-bin/wiki.pl
There is also some youtube videos on subject of joy sick with linuxcnc
Please Log in to join the conversation.
- Razor_keen
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 0
10 years 10 months ago #66269
by Razor_keen
Replied by Razor_keen on topic ubuntu 14.04.1 linuxcnc help
Right on. i think i've seen it done with a playstation 2 controller as well. Ill look it up. I have quite a few controllers around the house. It would be good to make use of one of them.
Please Log in to join the conversation.
- Razor_keen
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 0
10 years 10 months ago #66270
by Razor_keen
Replied by Razor_keen on topic ubuntu 14.04.1 linuxcnc help
I dont know if your familiar with using an rc motor to make a spindle but its a pretty effective method, granted you need a pretty goodd power supply to run it. server power supplies are cheap, fortunatly. There are several examples in the rc group forums.
Please Log in to join the conversation.
10 years 10 months ago #66272
by Rick G
wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding...imple_Remote_Pendant
wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNCKnowledgeBase
Rick G
Replied by Rick G on topic ubuntu 14.04.1 linuxcnc help
i think i've seen it done with a playstation 2 controller as well.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding...imple_Remote_Pendant
wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNCKnowledgeBase
Rick G
Please Log in to join the conversation.
10 years 10 months ago #66288
by andypugh
A curious thing lives in the LinuxCNC code:
github.com/jepler/linuxcnc-mirror/blob/c.../scripts/teach-in.py
Replied by andypugh on topic ubuntu 14.04.1 linuxcnc help
tjmarch wrote: I can see why you would want the pendent to teach robot arms with manual gcode entry which will be a tough way to go but I do not know of another way for robot path to be entered using linuxcnc.
A curious thing lives in the LinuxCNC code:
github.com/jepler/linuxcnc-mirror/blob/c.../scripts/teach-in.py
Please Log in to join the conversation.
- Razor_keen
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 0
10 years 10 months ago #66349
by Razor_keen
Replied by Razor_keen on topic ubuntu 14.04.1 linuxcnc help
do you think installing a lighter system such as mint would improve latency? im not sure exactly where the bottleneck is in thiscomputer so limiting throughput may help?
Again i was wondering if anyone had reduced latency by increasing ram or cpu.
thanks
jason
Again i was wondering if anyone had reduced latency by increasing ram or cpu.
thanks
jason
Please Log in to join the conversation.
- Razor_keen
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 0
10 years 10 months ago #66500
by Razor_keen
Replied by Razor_keen on topic ubuntu 14.04.1 linuxcnc help
I am sad to report back, i have tried linux mint 17 and despite the many latency reducing techniques i used with ubuntu, latency is very high on this os. I would have thought it would have been slightly better because of the lighter de. thats all for now
Please Log in to join the conversation.
10 years 10 months ago #66506
by BigJohnT
Replied by BigJohnT on topic ubuntu 14.04.1 linuxcnc help
I have one old PC that had bad latency with Ubuntu 10.04, worse with Debian Wheezy and even worse with LinuxMint. I don't use that PC for real time anything.
JT
JT
Please Log in to join the conversation.
- Razor_keen
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 0
10 years 10 months ago #66519
by Razor_keen
Replied by Razor_keen on topic ubuntu 14.04.1 linuxcnc help
The way i got the latency down was by following the instructions here.
forum.linuxcnc.org/forum/18-computer/259...-pcs-success?start=6
I had the latency values down to `8000 and ~12000, but itried to reinstall ubuntu and follow these instructions to replicate it, but failed. i think i may have made a chang to the file titles? like add .sh? im not sure how these files change things at boot uo, but can someone confirm they are going to the right places? I was really excited to have had such good latency on a laptop, but i should have been documenting everything i was doing.
forum.linuxcnc.org/forum/18-computer/259...-pcs-success?start=6
I had the latency values down to `8000 and ~12000, but itried to reinstall ubuntu and follow these instructions to replicate it, but failed. i think i may have made a chang to the file titles? like add .sh? im not sure how these files change things at boot uo, but can someone confirm they are going to the right places? I was really excited to have had such good latency on a laptop, but i should have been documenting everything i was doing.
Please Log in to join the conversation.
10 years 10 months ago #66528
by tjmarch
Replied by tjmarch on topic ubuntu 14.04.1 linuxcnc help
Razor_keen
I was thinking of using Rt-preempt 64 bit kernel myself latancy looked promising but so dose Rtai 32 bit install
been playing with both. I am also using a Intel dual core processor which was getting bad latancy spikes, the following procedures got rid of the spikes. The best latancy-test results I achieved were:
Latency Rtai kernel 32 bit system
needs to be re-reviewed
Latency Rt-preempt kernel 64 bit system
33273 us
33.273 ms
Also when adding idle=poll to what I show to add in todolist doubled latancy-test results for me
I have attached the files for you to view everything I did on 32bit and 64bit systems
Maybe something is listed that you have not tried, or you could try 32 bit install
When using Menu->CNC->LinuxCNC then Configuration Selector->apps->latency-plot
On 64 bit system I get a couple of spikes when latency-plot starts but after that it is stays low, accept when moving large folders full of files on hard drive:this has been resolved with edited todolist
Looks like I should not write to hard drive while machine will be running or check into a solid state drive: this has been resolved with edited todolist
Tim
Attached files edited 12/06/2015 11:55pm central
I was thinking of using Rt-preempt 64 bit kernel myself latancy looked promising but so dose Rtai 32 bit install
been playing with both. I am also using a Intel dual core processor which was getting bad latancy spikes, the following procedures got rid of the spikes. The best latancy-test results I achieved were:
Latency Rtai kernel 32 bit system
needs to be re-reviewed
Latency Rt-preempt kernel 64 bit system
33273 us
33.273 ms
Also when adding idle=poll to what I show to add in todolist doubled latancy-test results for me
I have attached the files for you to view everything I did on 32bit and 64bit systems
Maybe something is listed that you have not tried, or you could try 32 bit install
When using Menu->CNC->LinuxCNC then Configuration Selector->apps->latency-plot
On 64 bit system I get a couple of spikes when latency-plot starts but after that it is stays low, accept when moving large folders full of files on hard drive:this has been resolved with edited todolist
Looks like I should not write to hard drive while machine will be running or check into a solid state drive: this has been resolved with edited todolist
Tim
Attached files edited 12/06/2015 11:55pm central
Please Log in to join the conversation.
Time to create page: 1.920 seconds
