Advanced Search

Search Results (Searched for: )

  • zz912
  • zz912's Avatar
09 May 2025 19:10 - 09 May 2025 20:03
Help with git - SOLVED was created by zz912

Help with git - SOLVED

Category: Installing LinuxCNC

Hello,

I am learning git. I cloned data from Github. I compiled it with branches copied from master branche.
I made my first Pull Request with git.
github.com/LinuxCNC/linuxcnc/pull/3434
I celebrated. Everything was fantastic.

Then I needed work with 2.9 branche.

I checked out it:
zdenek@cnc:~/linuxcnc/linuxcnc-zz912$ git checkout 2.9
branch '2.9' set up to track 'origin/2.9'.
Switched to a new branch '2.9'
zdenek@cnc:~/linuxcnc/linuxcnc-zz912$ git branch
* 2.9
  master
  pnc-aut-g43

Then I made:
zdenek@cnc:~/linuxcnc/linuxcnc-zz912/src$ ./autogen.sh
zdenek@cnc:~/linuxcnc/linuxcnc-zz912/src$ ./configure --with-realtime=uspace
zdenek@cnc:~/linuxcnc/linuxcnc-zz912/src$ make -B

.........

Making halcompile manpage constant.9
Making halcompile manpage conv_bit_float.9
Making halcompile manpage conv_bit_s32.9
Making halcompile manpage conv_bit_s64.9
hal/components/conv_bit_s64.comp:3:9: Trying to find one of TYPE
>  pin out s64 out;
>          ^
while parsing Declaration():
>  pin out s64 out;
>     ^
while parsing File():
>  pin out s64 out;
>     ^
make: *** [hal/components/Submakefile:35: ../docs/man/man9/conv_bit_s64.9] Chyba 1

I must do something wrong, because I tried compile branche 2.9 downloaded from Github in zip file and It worked.
I tried git clean and it did not help.

How should I work with different branches with git?
  • PCW
  • PCW's Avatar
09 May 2025 18:51
Replied by PCW on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

2. The control station must issue step commands at a speed of 1000 Hz, in other words - 1000 steps per second. (As I understand it, not faster than this speed.) This is called the servo thread rate.

No, LinuxCNCs trajectory planner provides waypoints(position vectors)  at the servo thread rate.
For simple parallel port type systems these waypoints are sent to a stepgen component that runs
at a higher thread rate (the base thread) and interpolates between the waypoints. That is, the
stepgen component does the high speed step generation so as to reach the next waypoint at the next
servo thread invocation.
  • amanker
  • amanker
09 May 2025 18:44
  • ogogon
  • ogogon's Avatar
09 May 2025 18:27 - 09 May 2025 18:35
Replied by ogogon on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

LinuxCNC works identically to most CNC systems in that it outputs
a stream of joint/axis position coordinates (waypoints) at a fixed rate.

In LinuxCNC this rate is called the servo thread rate. This is typically
1 KHz in LinuxCNC but can be higher. In addition, either LinuxCNC or
downstream hardware interpolates between the position waypoints
so smooth motion is generated.

Simple LinuxCNC systems using a parallel port or GPIO do the interpolation
and step/dir generation with a second, faster real time thread, called the base thread.

More complex systems do the interpolation in external hardware or processors
(Mesa cards, Remora, RIO etc) or in the motor drive itself (EtherCAT) and typically
do not use a base thread.

Thank you. It seems the fog is starting to clear. However, not completely yet.

Let me formulate how I understood you. And please correct me if I understood something incorrectly.

1. We are discussing devices with a two-bit discrete interface for controlling stepper drives. (For example, I have a ChinaCNCzone 3040Z 500W machine)
2. The control station must issue step commands at a speed of 1000 Hz, in other words - 1000 steps per second. (As I understand it, not faster than this speed.) This is called the servo thread rate.
3. Since the controllers do not have intelligence (only microstep functionality), the interpolation is done by the program.
4. To perform the interpolation, a certain second thread is used, faster than the first, and having strict requirements for real time. It is called the "base thread".

Then, the specifics end and the fog begins to thicken again. Inevitably, well-founded questions arise.

1. What interpolation algorithm does the program use?
2. How is the second thread, the so-called "base thread", used in it?
3. Why is it faster than the first?
4. What is the reason for the relatively strict requirements for the base thread's real time and relative to what?
5. Where can I read something about this algorithm?

(The goat is cool!)
  • DarkPhoinix
  • DarkPhoinix
09 May 2025 18:10
Replied by DarkPhoinix on topic Best new Hardware for linuxcnc

Best new Hardware for linuxcnc

Category: Computers and Hardware

Warning: Spoiler!

stepper sorry.... 
  • unknown
  • unknown
09 May 2025 17:54
Replied by unknown on topic Best new Hardware for linuxcnc

Best new Hardware for linuxcnc

Category: Computers and Hardware

Have the servos been properly tuned ? Steppers are basically wire up and forget, servos are a different beast and require tuning or you may hear grumbling noises.
  • PCW
  • PCW's Avatar
09 May 2025 17:50

Ethercat LinuxCNC board for a 4 axis router

Category: General LinuxCNC Questions

Depending on the drives, you might have enough I/O from the built in digital I/O on the drives themselves
  • unknown
  • unknown
09 May 2025 17:50
Replied by unknown on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

Not quite true, disabling hyper threading is well worth it, as are a number of other generic options that have been discussed.

As for the kernel config, the most important settings are the preempt_rt ones, infact one of the easiest ways is to base the config for the new kernel on the running one.
If you really feel the issue is with the GPU I don't think a different kernel will fix much.
Displaying 16351 - 16358 out of 16358 results.
Time to create page: 0.592 seconds
Powered by Kunena Forum