Repository navigation
Conversation
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
from
October 28, 2026 01:50
97c57a2 to
68c6178
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
October 28, 2026 01:50
173c359 to
80752b2
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
from
October 29, 2026 06:47
68c6178 to
ddb8b6d
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
October 29, 2026 06:47
80752b2 to
b721d6f
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
from
October 29, 2026 07:45
ddb8b6d to
bba83cc
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
2 times, most recently
from
October 30, 2026 02:05
53853d8 to
e38c50d
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
2 times, most recently
from
November 2, 2026 10:21
396e2ab to
fb009fc
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
2 times, most recently
from
November 2, 2026 11:01
52d5713 to
8ad9242
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
from
November 2, 2026 11:01
fb009fc to
78b8e7f
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
November 2, 2026 11:42
8ad9242 to
f3bae4f
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
from
November 2, 2026 11:42
78b8e7f to
245f1d8
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
November 4, 2026 06:11
f3bae4f to
9c5d7fe
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
2 times, most recently
from
November 5, 2026 05:43
6b149f9 to
c57ead9
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
2 times, most recently
from
November 5, 2026 10:30
0044ca2 to
51e5933
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
from
November 5, 2026 10:30
c57ead9 to
1190cbd
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
November 5, 2026 11:25
51e5933 to
dba8681
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
2 times, most recently
from
November 6, 2026 08:46
d6fdd10 to
09c6c5f
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
2 times, most recently
from
November 9, 2026 07:53
94af64f to
916b996
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
from
November 9, 2026 07:53
09c6c5f to
34c02ab
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
November 16, 2026 05:22
916b996 to
a090dd6
Compare
kentdotn
force-pushed
the
fix/gnss-poser-drop-fix-without-antenna-transform
branch
from
November 16, 2026 05:22
34c02ab to
117bd88
Compare
|
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
kentdotn
changed the base branch from
fix/gnss-poser-drop-fix-without-antenna-transform
to
try/gnss-poser-drop-then-report
November 17, 2026 05:08
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
November 17, 2026 05:08
a090dd6 to
ef2b433
Compare
kentdotn
force-pushed
the
try/gnss-poser-drop-then-report
branch
from
November 30, 2026 07:08
cb14f60 to
8c8f510
Compare
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
November 30, 2026 07:08
ef2b433 to
7088738
Compare
kentdotn
changed the base branch from
try/gnss-poser-drop-then-report
to
main
November 30, 2026 07:50
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
5 times, most recently
from
December 2, 2026 07:41
dfd7f2a to
f136bf7
Compare
…tion_source use_gnss_ins_orientation = true published a pose before the first autoware_orientation arrived, with the identity orientation and an rmse of 1.0 rad standing in for it. A consumer cannot tell that stand-in from a measured orientation, and vehicles that set the parameter to true but publish no autoware_orientation always get it. The new parameter orientation_source says where the orientation comes from: - ins: the latest autoware_orientation. No pose until the first one has arrived (Outcome::NoOrientation; gnss_fixed is still published). - motion: the heading of the displacement, as use_gnss_ins_orientation = false did. - none: unknown, the identity with an rmse of 1.0 rad. The shipped default. use_gnss_ins_orientation is deprecated. When orientation_source is not set it is still read, with a warning at startup: false as motion, and true as what it did (ins once autoware_orientation has arrived, none until then). No orientation_source value selects that mixed mode, so it goes away together with the old parameter. When both are set the old parameter is ignored. The node declares both without a default, so a configuration needs one of them. The node logs the source in use at startup, and warns once when autoware_orientation arrives while the source is none and is ignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Kentaro NAGATOMO <kentaro.nagatomo@tier4.jp>
kentdotn
force-pushed
the
feat/gnss-poser-orientation-source
branch
from
December 2, 2026 08:03
f136bf7 to
15cc34e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Purpose
This PR stops filling in an unknown orientation silently, and makes the orientation parameters say what the node does:
orientation_sourcenames the source explicitly (ins,motion,none). The old parameter keeps working but is deprecated. The mixed mode thatuse_gnss_ins_orientation: truegives (INS once it has arrived, a fixed orientation until then) has noorientation_sourcevalue, so it goes away together with the old parameter.none, or the deprecateduse_gnss_ins_orientation: truebefore the first INS orientation.noneis kept because consumers that use only the position still need a pose from a vehicle without an INS, andPoseStampedhas no way to say that the orientation is unknown.The new parameter set was agreed with the localization maintainers.
Compatibility, in short (details below):
use_gnss_ins_orientationkeeps its behavior (falseis read asmotion,truekeeps the mixed mode) and logs a deprecation warning.orientation_source: none. A vehicle without an INS sees the same pose as before; a vehicle with an INS that uses the shipped file loses the INS orientation, is warned once, and should setins.Current behavior
use_gnss_ins_orientation: truepublishes a pose before the firstautoware_orientationhas arrived, with the identity orientation (heading east) and an rmse of 1.0 rad standing in for it. A consumer cannot tell that stand-in from a measured orientation, and a vehicle that sets the parameter to true but publishes noautoware_orientationgets it on every fix.What this adds
orientation_source(string):insautoware_orientation; no pose until the first one has arrivedrmse_rotation_*squaredmotionuse_gnss_ins_orientation: falsedidnoneuse_gnss_ins_orientation: truekeeps what it did:insonceautoware_orientationhas arrived,noneuntil then. Noorientation_sourcevalue selects it, so that a configuration moving to the new parameter does not adopt the deprecated behavior and has to migrate again when the old parameter is removed.Logic (
GnssPoser):GnssPoserParams::use_gnss_ins_orientationbecomesorientation_source(OrientationSource::{Ins, Motion, None, InsOrNone};InsOrNoneis selected only byuse_gnss_ins_orientation: true).insbefore the first INS orientation yields the newOutcome::NoOrientation:gnss_fixedonly, no pose. The fix still enters the position buffer, as for a fix whose antenna transform cannot be looked up.none, andInsOrNonebefore the first message).GnssPoserCovarianceDefaults::ins_placeholder_rmsekeeps its value and now documents both uses.Node:
orientation_sourceanduse_gnss_ins_orientationare both declared without a default, and either one is enough:orientation_source: used as given; any other value than the three makes the node fail to start.use_gnss_ins_orientation:falseis read asmotion,truekeeps the mixed mode (InsOrNone); either logs a deprecation warning, which fortruenamesinsandnoneas the replacements. Existing configurations (for example inautoware_launch) keep their behavior.orientation_sourcewins, and a warning says the old one is ignored.base_frameand theGnssPoserparameters, so that an invalid value throws before the listener thread exists (fix(autoware_gnss_poser): read the parameters before the TF listener starts autowarefoundation/autoware_core#1556).config/gnss_poser.param.yamlsetsorientation_source: noneand no longer setsuse_gnss_ins_orientation. The schema, design file and README follow.Logs:
autoware_orientationarrives while the source isnone(WARN): it is ignored, which probably is not what the configuration meant.insbefore the first INS orientation: the throttled WARN ofOutcome::NoOrientation("Output Skipped"), like the other outcomes without a pose.Tests changed on purpose
InsOrientation_NoMessageYet_IdentityAndUnitCovariance(unit, with aNOTE(characterization))UnknownOrientation_IdentityAndUnitCovariance(TEST_P:nonewith an INS orientation that is ignored,InsOrNonebefore the first one); the note is gone, the mode it described is now what only the deprecateduse_gnss_ins_orientation: trueselectsInsOrientation_NoMessageYet_PublishesOnlyGnssFixed(unit):inswaits for the first INS orientationInsOrientation_NewerMessage_ReplacesPrevious(unit)InsandInsOrNoneCovariance_*(unit) set an INS orientation andCovariance_UnknownType_*checked the rotation variancesConstruct_OrientationSourceParameters_SelectsTheSource(integration, TEST_P): each value, the two values of the old parameter and both parameters set. The source in use shows in the poses of one scenario (a fix, the INS orientation, a fix to the north):inspublishes only the second, with the INS yaw;nonethe identity twice;motionand the oldfalsethe identity, then the heading of the step; the oldtruethe identity, then the INS yaw. Its fixes are in the default framegnss, which autowarefoundation#1523 drops without a transform, so it first publishes the identity as the static TFgnss -> base_link, as the two cases of autowarefoundation#1523 that publish a pose doConstruct_UnknownOrientationSource_FailsToStart(integration, TEST_P):Ins,gyro, the empty stringConstruct_*,Tf_StaticAntennaToBaseTransform_*(integration)orientation_sourceinstead ofuse_gnss_ins_orientation; the cases that send an INS orientation setinsRelated links
How was this PR tested?
colcon test: 45 unit + 42 node instances pass, plus the ament linters.clang-format21.1.8,cpplint2.0.2 andprettieron the README, schema and yaml files pass.Interface changes
orientation_source(ins|motion|none), shipped asnone.use_gnss_ins_orientationis deprecated and no longer in the shipped param file; it is still read whenorientation_sourceis not set.anyOf) instead oforientation_source, so a param file that sets onlyuse_gnss_ins_orientationstill validates, and one that sets neither does not, as the node accepts them.design/GnssPoser.node.yaml) declaresorientation_source(defaultnone) inparam_valuesinstead ofuse_gnss_ins_orientation. A system design that setsuse_gnss_ins_orientationthroughparam_valueshas to setorientation_sourceinstead.Effects on system behavior
none(it wasuse_gnss_ins_orientation: true, the mixed mode). A vehicle that publishes noautoware_orientationsees no change in the published pose. A vehicle that does publish it and uses the shipped file loses the INS orientation, and the node warns about it once; such a vehicle should setorientation_source: ins.use_gnss_ins_orientationbehave as before and log a deprecation warning at startup.🤖 Generated with Claude Code