Repository navigation
0.5.1 #182
manankharwar
announced in
Announcements
0.5.1
#182
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
One fix, to dual-antenna heading at startup. No parameter, default or message changes. If you use
gnss.heading_topicorgnss.azimuth_topic, upgrade: on 0.5.0 a robot that did not start roughly facing east could have its heading rejected for a minute or more, or never accepted.What was wrong
update_gnss_heading()ran the chi-squared outlier gate on every heading, the first one included. The filter starts at yaw 0, and nothing measured that zero, so the first heading's innovation was the robot's whole starting heading, tested against a prior that never claimed to know it. The gate's job is to catch a heading that disagrees with what the filter knows. Before the first heading, the filter knows nothing about heading, so there is nothing to disagree with.Measured through the ROS node on 0.5.0, synthetic sensors at wall clock (still IMU at 100 Hz, wheel odometry at 50 Hz, heading at 5 Hz declaring 0.02 rad, parked 5 s then 1 m/s straight):
Every rejection logs
GNSS heading update rejected(throttled to one per 5 s), so if you saw a run of those at startup, this was the cause.What changed
While no heading source has been established, the first valid heading now sets yaw directly. Roll and pitch are kept, because gravity already observes them and a heading says nothing about either. From the second heading on, the gate works as before, and a new test pins that an outlier after heading is established is still rejected. This is what the magnetometer path has done since 614c3ca, for the same reason, and the GPS track heading and rotation bootstrap paths already skip their gate on first use. The dual-antenna path was the one that did not.
Same probe on 0.5.1: the 120 and 170 degree starts are within 1.15 degrees of the true heading from the first heading onwards, with no rejections.
How it was found
From a user's fork that seeded yaw from the first heading in the node to work around it. Thank you.
What this is and is not
test_gnss_manager.cpp(every 10 degrees from -180 to 180; the parked-then-driving case at six angles; roll and pitch untouched; an outlier after heading is established still rejected). All four fail on 0.5.0. 413 tests, 0 failures, 7 skipped (the deliberately disabled The yaw covariance violates the quaternion unit-norm constraint by 177x, and dead reckoning decays to 38% because of it #150 criteria).tools/repro/heading_start_angle.cpp(core library) andtools/repro/node_heading_probe.py(drives the real node).docs/how-it-works.mdno longer says the encoder yaw-rate bias converges on its own (it only separates from the true turn rate while an absolute heading or a stop is being fused).apt packages follow at the next ROS sync after the rosdistro update. Full detail in the CHANGELOG.
This discussion was created from the release 0.5.1.
All reactions