<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Starling 2 - Mag Alignment]]></title><description><![CDATA[<p dir="auto">Every time I restart px4 on the Starling v2, my heading is off by 90 degrees.  To troubleshoot, I turned off External Vision in PX4 parameters, and use mag for heading.  This did not fix the heading issue.  I can manually fly in Position control without any "toilet bowling" or control issues, but during Auto Missions the vehicle initially doesn't fly as expected.  I planned a Mission with a takeoff, two waypoints, and landing.  On takeoff and initial transit to the first waypoint the vehicle drifts around a lot. I see resetQuatStateYaw warnings in flight and then it starts to fly better.  In flight the heading adjusts to point the correct direction.  I've tried doing mag calibrations, and that didn't help.  After rebooting PX4, the heading starts off by 90 degrees again.</p>
<p dir="auto">Here is an example log<br />
<a href="https://review.px4.io/plot_app?log=2a1c9b0e-6b82-456e-8808-fe8a18a9dde8" rel="nofollow ugc">https://review.px4.io/plot_app?log=2a1c9b0e-6b82-456e-8808-fe8a18a9dde8</a></p>
<p dir="auto">Is Mag0 ROT = 0 correct?  Should it be rotated 90?  I know there are documented GPS issues, and the Mag/GPS are mounted together.  Is this a related issue?</p>
]]></description><link>https://forum.modalai.com/topic/5346/starling-2-mag-alignment</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Jul 2026 01:55:33 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/5346.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Jul 2026 20:18:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Starling 2 - Mag Alignment on Fri, 24 Jul 2026 21:58:14 GMT]]></title><description><![CDATA[<p dir="auto">What is CAL_MAG0_ROT set to, 0? You can try to set it to 2 (yaw 90) or 6 (yaw 270) and see if that helps the situation.</p>
]]></description><link>https://forum.modalai.com/post/26462</link><guid isPermaLink="true">https://forum.modalai.com/post/26462</guid><dc:creator><![CDATA[Eric Katzfey]]></dc:creator><pubDate>Fri, 24 Jul 2026 21:58:14 GMT</pubDate></item></channel></rss>