Fixed FGM3D mapping matrix

This commit is contained in:
2023-01-24 18:28:29 +01:00
parent c638f5a278
commit e107d15cf5
+6 -3
View File
@@ -4,9 +4,12 @@ from datetime import datetime
import socket
# Lookup table for cage axis to magnetometer transformation
# First entry: Magnetometer y axis to cage x (reversed)
# axis_mapping = [[1, -1 ...]
axis_mapping = [[2, -1], [0, 1], [1, -1]]
# First entry: Magnetometer z axis to cage x (reversed) [1,1]
# axis_mapping = [[corresponding axis (0=x,1=y,2=z), direction (+-1) ...]
# axis_mapping = [[2, -1], [0, 1], [1, -1]] # Z_MGM = -X_HH, X_MGM = +Y_HH, Y_MGM = -Z_HH,
axis_mapping = [[0, -1], # X_MGM = -X_HH
[2, -1], # Y_MGM = -Z_HH
[1, -1]] # Z_MGM = -Y_HH,
# Helmholtz control software tcp port
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)