Morgen Matthias,
das hilft! Toll, dass du Kommentare mit drinne hast. Aktuell kann ich deine HAL-Befehle nicht testen. Eins fällt mir aber sofort auf, mit dem ich auch gestern abend schon zu kämpfen hatte:
Will ich die Istposition (in Inkrementen) mit der joint.0.motor-pos-fb verbinden meckert LCNC, dass ich ne 32er Variable mit ner float verbinden möchte. Muss ich die typen casten? Es gibt ja HAL-Funktionen
Code:
8.2.4 Type conversion
conv_bit_s32
Convert a value from bit to s32.
conv_bit_u32
Convert a value from bit to u32.
conv_float_s32
Convert a value from float to s32.
1 When the input is a position, this means that the position is limited.
2 When the input is a position, this means that position and velocity are limited.
3 When the input is a position, this means that the position, velocity, and acceleration are limited.
HAL Manual V2.5, 2018-10-21 60 / 107
conv_float_u32
Convert a value from float to u32.
conv_s32_bit
Convert a value from s32 to bit.
conv_s32_float
Convert a value from s32 to float.
conv_s32_u32
Convert a value from s32 to u32.
conv_u32_bit
Convert a value from u32 to bit.
conv_u32_float
Convert a value from u32 to float.
conv_u32_s32
Convert a value from u32 to s32.
die das machen?! Du hast sie nicht gebraucht:
net Xachse_fb lcec.0.7.X-Pos => joint.0.motor-pos-fb
Grüße
Columbo[/code]