Fehler: LinuxCNC Jog_CONT Mode is TELEOP, cannot jog joint

More
2 years 2 weeks ago #312134 by Muecke
Okay, damit werfe ich meinen Controller weg (ich mag ihn so sehr).

Ich habe jetzt getestet und ca. 10 Starts und Referenzfahrten gemacht, bisher ohne Fehlermeldung.
Ich werde das noch ein paar Tage so lassen und schauen, ob der Fehler wieder auftaucht.
Wenn nicht, liegt es am Controller.

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #312136 by Aciera
Liegt vermutlich nicht am Controller sondern eher an der hal programmierung.

Im Gegensatz zu 'HALFILE' wird für 'POSTGUI_HALFILE' nur ein Eintrag in der INI berücksichtigt. Wenn du mehrere postgui halfiles laden willst dann musst du eine neue Datei anlegen (zb 'postgui_call_list.hal') mit diesem Inhalt:
Code:
# These files are loaded post GUI, in the order they appear source joypad_jog_speed.hal source joypad_xyz.hal

Dann in der ini diese 2 Zeilen:
Code:
POSTGUI_HALFILE = joypad_jog_speed.hal POSTGUI_HALFILE = joypad_xyz.hal

mit dieser ersetzen:
Code:
POSTGUI_HALFILE = postgui_call_list.hal

Zur Fehlersuche kannst du dann mal eine Zeile in der 'postgui_call_list.hal' auskommentieren um den Fehler ev. auf eine der zwei hal Files einzugrenzen.
The following user(s) said Thank You: Muecke

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago - 2 years 2 weeks ago #312138 by Aciera
Code:
# Joystick-Jogging mit einem hal_input Gerät "Logitech F310" loadrt mux2 names=mux2_x,mux2_y,mux2_z,mux2_c addf   mux2_x servo-thread addf   mux2_y servo-thread addf   mux2_z servo-thread addf   mux2_c servo-thread # Erst nach dem Homing der Gelenk 2 kann der Joystick benutzt werden, # Gelenk benötigt am meisten Zeit fürs Homing. # net Joystick_aktiv <= halui.machine.is-on => mux2_x.sel mux2_y.sel mux2_z.sel mux2_c.sel # net Joystick_aktiv <= halui.joint.2.is-homed => mux2_x.sel mux2_y.sel mux2_z.sel mux2_c.sel  net Joystick_aktiv <= motion.is-all-homed    => mux2_x.sel mux2_y.sel mux2_z.sel mux2_c.sel net jog-x-pre <= input.0.abs-z-position  => mux2_x.in1      # Achse X net jog-y-pre <= input.0.abs-y-position  => mux2_y.in1      # Achse Y net jog-z-pre <= input.0.abs-rz-position => mux2_z.in1      # Achse Z net jog-c-pre <= input.0.abs-x-position  => mux2_c.in1      # Achse C net jog-x-analog <= mux2_x.out => mux2_x.in0 halui.joint.0.analog halui.axis.x.analog net jog-y-analog <= mux2_y.out => mux2_y.in0 halui.joint.1.analog halui.axis.y.analog net jog-z-analog <= mux2_z.out => mux2_z.in0 halui.joint.2.analog halui.axis.z.analog net jog-c-analog <= mux2_c.out => mux2_c.in0 halui.joint.3.analog halui.axis.c.analog

Der mux ist nicht nötig, wenn du nur nach dem homing joggen willst reicht das hier aus:
Code:
# Joystick-Jogging mit einem hal_input Gerät "Logitech F310" net jog-x-analog <= input.0.abs-z-position  => halui.axis.x.analog net jog-y-analog <= input.0.abs-y-position  => halui.axis.y.analog net jog-z-analog <= input.0.abs-rz-position => halui.axis.z.analog net jog-c-analog <= input.0.abs-x-position  => halui.axis.c.analog
Last edit: 2 years 2 weeks ago by Aciera.

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #312158 by Muecke

Liegt vermutlich nicht am Controller sondern eher an der hal programmierung.

Im Gegensatz zu 'HALFILE' wird für 'POSTGUI_HALFILE' nur ein Eintrag in der INI berücksichtigt. Wenn du mehrere postgui halfiles laden willst dann musst du eine neue Datei anlegen (zb 'postgui_call_list.hal') mit diesem Inhalt:
...
 
Ok, das habe ich nun gemacht.


Mit deinem anderen Beitrag komme ich nicht ganz zurecht.
Was ist überflüssig und was solte drin stehen?
 

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #312179 by Aciera
Das obere ist wast du hast. Das kannst du in deiner hal löschen und das untere dafür einfügen.

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #312265 by Muecke
Aktueller zustand:
Code:
POSTGUI_HALFILE = postgui_call_list.hal
Eingefügt, wie in deinem Beitrag beschrieben.
> schäte 5 bis 10 Starts ohne Probleme, dann hatte ich die Fehkermeldung wieder bekommen.

Jetzt habe ich das aus deinem Beitrag (Code herauslöschen und ersetzen) noch vorgenommen.
Joystick funktioniert und es kommt kein Fehler beim Starten.
Werde es weiter testen und im Auge behalten.
 

Please Log in or Create an account to join the conversation.

Moderators: Muecke
Time to create page: 0.218 seconds
Powered by Kunena Forum