Advanced Search

Search Results (Searched for: )

  • TangentAudio
  • TangentAudio
18 Feb 2025 14:49
Replied by TangentAudio on topic KVM on Preempt-RT

KVM on Preempt-RT

Category: Installing LinuxCNC

I know this is an older thread, but I recently had success doing this.  I wanted to run the Windows-based configuration/tuning utilities for my EtherCAT servo drives without hauling a laptop to my shop.  I installed QEMU/KVM on my LinuxCNC development machine, installed Windows 10 in a virtual machine, and it works fine.  I'm able to redirect the USB-serial devices into the guest OS so the software is able to communicate with the drives.

I've tested this with the software for the LeadShine EL7 series (Motion Studio) as well as the software for the StepperOnline A6 servos.

I have not done extensive testing in terms of the impact on realtime performance, but if there is any effect I haven't noticed it.  LinuxCNC runs fine even while the guest OS is running, and there are no realtime warnings or unexpected behavior when operating the machine.  When this conversion is completed, it will be running on a less capable processor with less RAM, so I won't be doing this for "production" use, but it's great for development purposes.
 
  • smc.collins
  • smc.collins
18 Feb 2025 14:19
  • JT
  • JT's Avatar
18 Feb 2025 14:08

Replacing Anilam 5000M - Recomendations?

Category: General LinuxCNC Questions

I converted my BP knee mill from Anilam 1100M to EMC (now LinuxCNC) years ago using 5i25 and 7i77. I ditched everything except the drive boards and DC power supply for the drives IIRC. I put an Automation Direct GS2 drive for the spindle using the GS2 component.

JT
  • tlightus
  • tlightus
18 Feb 2025 14:08 - 18 Feb 2025 14:15
Replied by tlightus on topic New and Working RTAI debs for 2.9

New and Working RTAI debs for 2.9

Category: Installing LinuxCNC

Just installed the latest RTAI deb set (5.4.290-rtai-amd64) (packaged with linuxcnc 2.9.4) from the usual place: onelaboratories.us/abc/ and i must say the latency is about half what 5.4.279 was on my pc. Also the GUI doesn't lag on boot like it did with 5.4.279.  Running a couple tests:

1: histogram with 4 glxgears, stress-ng & 2 yt the servo thread was 16.7us and 12.9us base thread.

2: histogram & unigine heaven the highest 23.8us base and 23.4us servo thread as seen in the histogram here.

Win! Win!
  • TooTall18T
  • TooTall18T's Avatar
18 Feb 2025 14:05
Replied by TooTall18T on topic Probe Basic V.5 - kein Feedregler mehr? Solved

Probe Basic V.5 - kein Feedregler mehr? Solved

Category: Deutsch

Die 5.0.1 ist weiter als die Develop, da ich an der V5 nicht weiter entwickel. Die V6 habe ich noch nicht auf Stand um daraus die neue Develop zu machen.
  • Aciera
  • Aciera's Avatar
18 Feb 2025 13:25
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

20 iterations vs 1000
Nice.
  • royka
  • royka
18 Feb 2025 12:04
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

It would be better to have some protection of course, the same as with a Raspberry. The pin header can be used via the driver made by Guglielmi:
forum.linuxcnc.org/18-computer/48079-can...cnc?start=200#273554

For Rockpro64 (rk3399?), I built an image before for a Orange Pi 4, but that didn't seem to work well, spikes to 130us, could work with Mesa though. You can try to build one via Armbian, from 6.12 and up you don't really need to patch it, just the right configuration. Then experiment to isolate cpu1 and move the rt tasks to that core as explained in the following post:
forum.linuxcnc.org/18-computer/48079-can...cnc?start=280#286432
  • Grotius
  • Grotius's Avatar
18 Feb 2025 11:45 - 18 Feb 2025 12:06
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

 Hi Arciera,

Here is a basic  powel example. It uses a equatation with 2 unknown's.
This example run's ok.
powel basic example

The residual  = distance ( guess position result from first calculation up to final end position. )

I just found out why to use the gaus method....
gaus calculates clothoid length

I found it by accident, when computing the endpoint of the clothoid compound in a optimized function.
it turn's out that the Gauss method is used to get very high accuracy in a few iterations.
My current approach has the property to drift off. As values are incremented including nummerical errors.

So now finally i know why gauss is used.

Gaus vs Drift:
 

I guess we could simply calculate the length of our 3D residual vector and pass that back as the error value to be minimized.
Yes. Excact. That's going to be tested.
  • my1987toyota
  • my1987toyota's Avatar
18 Feb 2025 11:04
Replied by my1987toyota on topic hot wire cutting

hot wire cutting

Category: General LinuxCNC Questions

Some pictures of your machine would help. tommylight and I have both built hot wire foam machines.
Personally I would use ladder logic for the pause control. I am confused however as
to why your wire breaks often enough that you need a system to pause the program when it happens.
Some questions.-
What type of wire are you using Titanium? NiChrome?
How much tension is the wire kept under?
What gauge is the wire?
How hot are you running the wire?
What voltage is the wire powered with?
What frequency is your PWM signal?
  • my1987toyota
  • my1987toyota's Avatar
18 Feb 2025 10:39
Replied by my1987toyota on topic The dumification of humanity through internet

The dumification of humanity through internet

Category: Off Topic and Test Posts

 And in other dumification news we have this . I am sure a Nigerian prince is ready to export all over the world
for a small transaction fee that will be reimbursed once you receive the vehicle.
enjoy
 
  • Thayloreing
  • Thayloreing
18 Feb 2025 10:33
Replied by Thayloreing on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Should I just download the bim from pyodc and put it in stlink v2 and after that I will be able to record remora on nven? Could you detail me step by step?
  • Aciera
  • Aciera's Avatar
18 Feb 2025 10:23
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

I guess we could simply calculate the length of our 3D residual vector and pass that back as the error value to be minimized.
  • vre
  • vre
18 Feb 2025 10:14
Replied by vre on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

Very nice this will be perfect for base thread.
The pin header that has the board can drive 4 close-loop steppers ?


(i have a rockpro64 any hope for this for an image with preempt-rt kernel?)
  • Aciera
  • Aciera's Avatar
18 Feb 2025 10:10 - 18 Feb 2025 10:12
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

yes, eq 14 :
 

because we set s1=s2=s3=s4 we need to integrate from 0 to 4*s1.

It's still unclear to me how dogleg optimizes a system of 3 equations as it would not get back a single residual value but rather a vector with 3 residual elements.
 
  • Grotius
  • Grotius's Avatar
18 Feb 2025 09:48
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

@Arciera,

Thanks for your responce.

Indeed, the error is likely the endpos. I was thinking the same yesterday night.

error = distance "requested endpos" - "guess endpos"

When playing with different Y11, 21 gues values using the same length s1:
Changing the guess values Y11, Y21 will influence the rigid of the clothoid compound.

Picture values from left to right :      
Y11=1 Y21=1
Y11=0.5 Y21=0.5
Y11=0.1 Y21=0.1
 

Now i will try to setup the dogleg method. Using our new criteria.

The Jacobian usage seems to be more effiecient in finding the solution. But without is also no problem and
will result in more iterations to find the fit solution.

Your point at eq44 if solved here as a example : eq14
This eq14 is not a optimized function yet.  And for calculating the clothoid endpoint, i want to make a
few one liners today.

Plan :
1. Create a function to calculate the spline endpoint efficient, using y11, y21, s1.  Eq14 current code is not effiecient for this.
2. Create a Dogleg fit function to optimize y11, y21, s1 values that the spline compound fit's the given endpoint. (Magic function).

For info, to be aware off:
In linuxcnc we use G2,G3 as helix. This abstact isn't taking account of helixes. Only flat arc's for input,
We will create a solution that uses a end vector of any type of curve.

For info:
Deepseek is better in reading pdf files than Chatgpt.
Also the code example from Deepseek are better.
So i often just upload the clothoid_3d.pdf to deekseek and start asking questions.
This really helps the process. Deepseek just throw's out a full dogleg c implementation. It's amazing.

Let's hope the Magic Function will find the solution for endpos.
Displaying 18811 - 18825 out of 19194 results.
Time to create page: 0.502 seconds
Powered by Kunena Forum