Skip to content

Configure ubx ITFM on supporting versions #179

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aubin-cldn
Copy link

The UBX configuration CFG-ITFM-ENABLE has been removed for u-blox FW versions greater than 1.32 (so 1.40, 1.50...). Thus, trying to configure this parameter results in a NAK response, and prevents PX4 from configuring the receiver.

This MR:

  • Saves the FW version of the receiver in the variable _firmware_version;
  • Enables the configuration of CFG-ITFM-ENABLE on _firmware_version < 1.40.

To convert the FW version from a string to a float, uses atof on the last part of the string (after the space delimiting the number in the string), allowing to differentiate values like HPG 1.51 and HPGL1L5 1.40 for example.

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.

1 participant