Advanced Search

Search Results (Searched for: )

  • slowpoke
  • slowpoke
19 Mar 2025 11:47 - 19 Mar 2025 15:34

How to Invert the touchscreen Lenovo Yoga xinput?

Category: General LinuxCNC Questions

Thanks for the links, closer but not solved yet....

After more searching/reading it looks like the utility xinput might give me some insight as to what touchscreen driver is actually being used and then I can probably tweak the calibration.I installed xinput and get the following when I run it. 


Looks like SYNAPTICS Touch digitizer is the driver for the touch aspect on the touchscreen. I looked in /usr/share/X11, and there are 5 .conf files:
40-libinput.conf
10-radeon.conf
70-waycom.conf
10-amdgpu.conf
10-quirks.conf

None of these have a line for XAxisMapping or YAxisMapping, if they did I could  probably just change 1230 to 0123.

So I ran xinput_calibrator and touched the screen etc. and it detects the touches generates a snippet with the calibration data that I'm supposed to put in a file named 99-calibration.conf and place that file in /usr/share/x11/xorg.conf.d/ 
 
So I did that, rebooted and no change, so it looks like 99-calibration.conf is either being ignored or is in the wrong location?Any insight would be helpful. 
  • Sternfox
  • Sternfox
19 Mar 2025 11:31
ATC carosel was created by Sternfox

ATC carosel

Category: QtPyVCP

Hi guys,

Is there any documentation yet for a carosel atc? Or dose pb use the standard lcnc tool change? 

Also I have dc motors on my atc that use pwm can thesr be used or do i need steppers? 
  • spumco
  • spumco
19 Mar 2025 11:24
Replied by spumco on topic G33.1 synchronized tapping problem

G33.1 synchronized tapping problem

Category: General LinuxCNC Questions

I might have found a clue as to what causes this problem with G33.


 

Thank you so much for confirming the behavior I saw, and for the workaround guidance.

Have you raised an issue on GH about this?

NOTE: It'll be a bit before I can test this on my lathe as the 2nd motor I was planning to use turned out not to work.  So I threw money at the problem and have to rearrange my electrical cabinet to fit a significantly larger drive.  Re-wiring seems to take me an eternity.
  • JT
  • JT's Avatar
19 Mar 2025 10:55
Replied by JT on topic Indicators on Push Buttons

Indicators on Push Buttons

Category: Qtvcp

Thanks Chris, that's going to take a bit of study for me to break it down. Pretty cool stuff.

JT
  • Grotius
  • Grotius's Avatar
19 Mar 2025 10:37
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi Meiser,

That could only done by ./build_cmake script

# flush build dir
rm -rf *

Hmm. That script is designed by Joco. But i take responsebility for it.
I know also from previous years, that this can indeed remove things you dont want to.
I experienced the same years ago, in a moment i lost my entire home dir content.

Will remove the rm in all scripts now. Sorry Meiser.
  • Grotius
  • Grotius's Avatar
19 Mar 2025 10:31
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

@Arciera,

The abstract proposes forward transformation (projection) to the xz plane.
Indeed the problem does not arise when there is no z value.
And yes we are directly fitting in 3d space.

The problem isn't there, when you do a plane fit. This is in fact a 2d fit solution in 3d space,
including forward & inverse transformation steps. We did this using the 2d clothoid lib in our
previous planners.

Maybe we can think about this problem and how to solve it using a 3d space fit.

You can state that this is a clothoid wich makes a full torsion turn, wich has no reason to do so.
  • I think the ceres is giving it a initial torsion value, and goes on with the torsion during fit iterations until a endpoint fit is found.
  • Why does it use this full torsion only in certain space corner directions? Is there a reason we don't know yet?
  •  
@Mennil,

The clothoid3d uses a non-linear solver to find the xyz endpos for the clothoid fit.
The solver will iterate to the desired endpoint in shortest way, naturally.

It's very unlikely for the ceres solver to give us a self intersecting result as shown in your picture,
unless we give incorrect input angles.

And it's unlikely we have infinite solutions regarding the 4-clothoid-spline fit.

 

The codebase ruled out self intersecting clohoids by making improvements to the abstract:  Abstract bug fixes
  1. In eq45, page 7, the Delta Theta is calculated by: Thetai4 - Thetai0.
    The clothoid Delta Theta produced by this substraction, is not alway's correct.
    When the incorrect value is used, it shows a self intersecting clothoid.
    Eq.45 input Angles are in the range [0,-2pi], [0,2pi]. Substraction can lead to a incorrect
    Delta Theta.
    To solve this issue, we convert back the thetai[x] into a xy vector.
    From here the signed angle between 2 vectors is calculated.

    This ensures a correct Delta Theta value.
    Problably this is also the reason why in the abstract forward & inverse transformations are used.
    In this codebase forward & inverse transformations are obsolet
  • Aciera
  • Aciera's Avatar
19 Mar 2025 10:29
Replied by Aciera on topic G33.1 synchronized tapping problem

G33.1 synchronized tapping problem

Category: General LinuxCNC Questions

Also note that [JOINT_4] FERROR=10 and MIN_FERROR=1 may seem a bit large but are due to a lag in the simulated encoder feedback from the Mitsubishi controller I use here.
  • UrKibin
  • UrKibin
19 Mar 2025 10:28

CINCINATTI MILACRON ARROW 500 (BDS4 + VFS5) WITH MESA 7i77 + 6i25 WITH LINUXCNC

Category: Milling Machines

Hi all,

I tried one axis first to be safe.

If encoders are disabled in HAL file, I can move the y-axis freely. no shaking. everything is smooth.

But if encoders are enabled, I have varying results.

a lower scale (819.2) - joint 1 following error
a higher scale (4096) - no error but shaking occurs

May PID settings are
P - 50
I - 0
D - 0

Ballscrews are around 10mm

Regards,
Kibin

 
  • meister
  • meister
19 Mar 2025 10:28
Replied by meister on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

my home directory is still there, puh, but

/usr/local/src/
/usr/src

and much much more other file are gone,
now i can re install my system and hope that nothing important is lost

WTF
  • Aciera
  • Aciera's Avatar
19 Mar 2025 10:25
Replied by Aciera on topic G33.1 synchronized tapping problem

G33.1 synchronized tapping problem

Category: General LinuxCNC Questions

I have found a workaround for the issue described above using hal commands.
Here is my config including the hal component I use to disconnect the encoder position value and the modified orient component to rehome to index before orienting the spindle:

 

File Attachment:

File Name: Drehachse.tar.gz
File Size:10 KB

Some notes:
- Rotary (Caxis) is on Joint 4, uses a stepgen with settings from ini [JOINT_4] section
- Spindle also uses stepgen but with setting from ini [SPINDLE_0]
- Startup mode is rotary with joint.4 homing to index (ie joint.4.index-enable is connected in HAL)
- 'M419' moves rotary to 0 position, sets hal pin to freeze joint.4.pos-fb  and calls M119 to set stepgen values as set in  ini [SPINDLE_0] and disconnect 'joint.4.index-enable' to avoid breaking sinchronized motion as outlined in my last post
- 'M420' orients the spindle to 0° (using index to rehome first) sets hal pin to reconnect the encder to joint.4.pos-fb  and calls M120 to set stepgen values as set in  ini [JOINT_4] and reconnect the 'joint.4.index-enable' pin
  • meister
  • meister
19 Mar 2025 10:24
Replied by meister on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

WTF

the installer script from the first post have removed all user writable files on my system
git clone https://codeberg.org/skynet/linuxcnc_scurve_compact
cd linuxcnc_scurve_compact/cmake
./installer
....
rm: cannot remove 'src/python3.11/Parser/Python.asdl': Permission denied
rm: cannot remove 'src/python3.11/Grammar/python.gram': Permission denied
rm: cannot remove 'src/kugel.scad': Permission denied
rm: cannot remove 'src/MXM': Permission denied
CMake Warning:
Ignoring extra path from command line:

".."


CMake Error: The source directory "/" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
Current directory after build_cmake: /usr/src/MXM/linuxcnc_scurve_compact/cmake
./installer: line 9: cd: configs: No such file or directory
./installer: line 10: ./run_axis_9: No such file or directory
Current directory after run_lcnc: /usr/src/MXM/linuxcnc_scurve_compact/cmake
installer finished.
odippel@odippel:/usr/src/MXM/linuxcnc_scurve_compact/cmake$
odippel@odippel:/usr/src/MXM/linuxcnc_scurve_compact/cmake/../.$ cd /usr/src/MXM/
odippel@odippel:/usr/src/MXM$ ls -l
total 0
  • MennilTossFlykune
  • MennilTossFlykune
  • Murphy
  • Murphy
19 Mar 2025 09:49 - 19 Mar 2025 09:50
Replied by Murphy on topic Remora - Does Analog input syntax exist?

Remora - Does Analog input syntax exist?

Category: Computers and Hardware

Thanks cakeslob, i put back in the filter gain. when I monitor Spindle.0.speed-in, it also dips in speed. Even with the spindle off its still moving.
G-code G96  D1500 s200 M3 sets it 1500rpm suface speed 200. When you move X in and out the spindle should adjust.  

  • Aciera
  • Aciera's Avatar
19 Mar 2025 09:24 - 19 Mar 2025 09:28
Replied by Aciera on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Ah yes I have noticed those. Seems to me that it does not occur for fillets in the XY plane.
[edit]
which makes me think, are you still transforming the space corner to the XY plane to fit the clothoid as in the paper or are you skipping that step (as I believe you wanted to at some point). If you are fitting directly in 3d than that may have something to do with it.
  • Grotius
  • Grotius's Avatar
19 Mar 2025 08:54
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi,

Here is the so called overfit. To show it better i made a cube.ngc test file.
  • The problem is clearly visible.
  • Its a full torsion turn of 2*M_PI over the clothoid fit.
  • It looks for the clothoid lib the solution is valid but unwanted for us.
overview:
 
closup cube corner:
 
Displaying 7906 - 7920 out of 24577 results.
Time to create page: 0.353 seconds
Powered by Kunena Forum