-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixhawk 4 + Drotek Sirius RTK GNSS compasses inconsistent #15312
Comments
Could you turn on logging from boot plus "sensor comparison" and go through the mag calibration? If possible also connect the default Holybro GPS/mag puck (properly orientated) as another comparison. Then I'll compare all the mag data side by side per axis and see if I can figure out what's going on. Posting pictures of the setup and any details about the Drotek GPS with RM3100 might also help. |
Hi @dagar, Is this sensor orientation issue? rm3100 doesn't have any rotation on my board, but I still wonder is rotation from driver argument -R is performed before or after any axes swaps in driver internally like in collect() of ist8310 for example? Could you please advise a little where to look, how to properly interpret these data? |
Thanks for the additional info @lukegluke. I should probably get one of these units and take a closer look at the driver. In those plots does your board (and internal ist8310 mag) have any rotation? The configurable external rotation parameter is applied after |
Hi @dagar , I configured logging from boot to shutdown and "sensor comparison". Loaded commit f7415c3 from master branch and No compasses inconsistent issue was found, neither with 2 external compasses connected (RM3100 + Holybro GPS/mag) or with only 1 external compass connected (RM3100) master_f7415c3_2_external_mags_Passed master_f7415c3_1_external_mag_rm3100_Passed Loaded commit e819f99 and used only RM3100 external compass, I was able to reproduce the compasses inconsistent issue. master_e819f99_1_external_mag_rm3100_Failed Connected the 2 external compasses (RM3100 and Holybro mag) and NO compasses inconsistent issue was found. master_e819f99_2_external_mags_Passed To summarize: Here is my setup: |
By the way, in the @nrogelio picture of Drotek GPS rm3100 Z coil is placed not as in manual picture - along x with polarity indicator and ZINN facing forward - is it right to do so? |
The spec mentions: "The Sen-XY-f is insensitive to the location of the polarity indicator, while the location of the polarity indicator is critical for the Sen-Z-f." so X and Y can be connected inverted and shouldn't cause a problem, and to me Sen-Z-f is also polarized properly, but it's confusing. |
I suppose it's different things - switch pads and flip coil. Sensor has to distinct direction of magnetic field, so I really think that pads position gives positive direction and it's important. |
Hi there, X and Y coils are indeed insensitive to the polarity because both coils are winded the same way (basically the current that goes from the P pole to the N pole is spinning in the same direction no matter the coil orientation). However, the Z coil is sensitive to the polarity simply because of the way this coil is built. Depending this coil is placed over its pads, on the one hand the current goes straight to the top of the coil and then starts spinning around while going down, or on the other hand, the current spins around while going up and then when reaching the top, the current goes straight to the bottom. Furthermore, we are following the North-East-Down requirements, which means the X axis is aligned along with the North, Y with East and the Z axis along with the ground. You could check that out by simply orienting each and every coil along with the true North and check with the "analyse" widget in QGC whether you get the maximum amplitude or not : Anyhow, if you believe you get a hardware error on this very unit, please get in touch with us by filling the form here : https://electronics.drotek.com/after-sale-service/ Paul |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Is this still an open issue? @dagar @Paul-DROTEK ? |
Drone
S500 with Pixhawk 4 and Drotek Sirius RTK GNSS (with RM3100 magnetometer).
Pixhawk 4 with rotation_roll 180
GPS no rotation
Installed master firmware to Pixhawk 4, the vehicle couldn't arm due to compasses inconsistent pre-arm check error, this error is not cleared even after compass calibration. Pixhawk 4 and GPS (with external compass) are facing forward, but the error says they are inconsistent. Installed previous commits until I found the issue was introduced by commit e819f99, before this commit I'm not getting this error.
Compass calibration can be performed without issue, but this will not clear the pre-arm error.
Compass calibration was performed outdoors and indoors with the same result.
Checked with the GPS (with compass) included with Pixhawk 4 and is working, so this is issue is with the Drotek Sirius RTK GNSS device.
To Reproduce
Expected behavior
Vehicle should be able to arm since compasses are facing same orientation.
Log Files and Screenshots
https://review.px4.io/plot_app?log=8e97f377-2aff-4c9a-8306-a9f13b43df1c
The text was updated successfully, but these errors were encountered: