due to hardware issues on our aircraft, we must have external magnetometer mounted in "non-standard" rotation. PX4 board is orientated in flight direction. Is there some possibility to change the rotation only of external magnetometer?
I have found the parameter
SENS_BOARD_Z but it is the rotation of autopilot board.
The internal magnetometer is unusable for us because we have a strong magnet near to autopilot.