API Programmierschnittstelle von LinuxCNC

More
2 years 10 months ago #288666 by Muecke
Hallo zusammen,

ich würde mich gerne mit jemanden austauschen, der die API (Programmierschnittstellen) von LinuxCNC verwendet hat / verwendet.

Was für mich interessant ist.
- Wird LinuxCNC bei Nutzung der API noch die GUI gestattet
- kann man die GUI deaktivieren, wenn die API verwendet wird
- auf was kann man denn alles über die API zugreifen
- wie schnell ist die API
- ... weitere fragen kommen sicher, wenn man sich darüber unterhält.

Gruß Mücke

 

Please Log in to join the conversation.

More
2 years 10 months ago #288667 by Aciera

Please Log in to join the conversation.

More
2 years 10 months ago #288668 by Muecke
Python ist, wenn ich es richtig weis eine Skriptsprache, was für die Geschwindigkeit nicht besonders positiv ist.
Ich würde das eher in C mir vorstellen.

Please Log in to join the conversation.

More
2 years 10 months ago #288670 by Aciera
Dann meinst du die C++ API, darüber weiss ich aber leider nix.

Please Log in to join the conversation.

More
2 years 10 months ago #288675 by Muecke
Ja, C++ klingt gut, weil C++ eine Hochsprache ist und dementsprechend schneller Daten verarbeiten kann.
Und in C++ werden auch andere Daten verarbeitet, die für die nächsten Schritte wichtig sind.

Schade, eventuell gibt es ja noch jemanden, der sich damit auskennt.
 

Please Log in to join the conversation.

More
2 years 10 months ago #288865 by Muecke
Gibt es im Handbuch das C++ Interface auch?
Habe es bisher noch nicht gefunden :-(

Please Log in to join the conversation.

More
2 years 10 months ago #288886 by Aciera
Von einer Dokumentation für das C++ API habe ich noch nie was gehört.
Ich glaube am besten schaust du dir die Dateien im Ordner 'src/emc/nml_intf/' an.

Vorallem:
'emc.hh'
'emc.cc'
'emc_nml.hh'

Please Log in to join the conversation.

More
2 years 10 months ago #288985 by Muecke
Das ist sehr schade, dann muss ich mich da durchwuseln, das kann lustig und spaßig werden.

Danke für den Hinweis mit den Dateien, das schaue ich mir die Tage mal an, ...

Please Log in to join the conversation.

More
2 years 10 months ago #288987 by rodw
I think what has happened, Linuxcnc predates C++ and was written in C, some later parts have been written in C++.
The NML code is quite messy as come key structures are duplicated into C++ to talk to the older C format.
Try playing with the state_tag structure in emc/motion/state_tag.h which also pops up in classes in emc/nml_intf/emc_nml.hh

Please Log in to join the conversation.

More
2 years 10 months ago #289434 by Muecke

Von einer Dokumentation für das C++ API habe ich noch nie was gehört.
Ich glaube am besten schaust du dir die Dateien im Ordner 'src/emc/nml_intf/' an.

Vorallem:
'emc.hh'
'emc.cc'
'emc_nml.hh'
 
Ich kann den Ordner von dir nicht finden.
Habe die Datei "emc.hh" und "emc_nml.hh" hier gefundene: "/usr/include/linuxcnc".
Die Datei "emc.cc" habe ich gar nicht gefunden.



 

Please Log in to join the conversation.

Time to create page: 0.201 seconds
Powered by Kunena Forum