Skip to content

Conversation

zarcell
Copy link

@zarcell zarcell commented Oct 7, 2025

No description provided.

@CLAassistant
Copy link

CLAassistant commented Oct 7, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ zarcell
❌ Marcell Zahoran


Marcell Zahoran seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Member

@ntamas ntamas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a few minor changes, thanks a lot!

self.descriptor = descriptor

position = getattr(packet, "position", None)
if position is not None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to use the newly added set_from_ecef() method here (and everywhere where we are modifying self.position, self.position_ecef and self._antenna_position_timestamp at the same time.

self.position_ecef = position
self._antenna_position_timestamp = monotonic()

def set_from_ecef(self, position: ECEFCoordinate) -> None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add documentation for this method.

preset_id, desired_preset = None, None

# Always reset fixed position when switching RTK source
self._survey_settings.position = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please double check that if you have a fixed position preset in the server config file those coordinates will be loaded back properly after many preset changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants