initial support for fixed-point data for sensors#3442
Merged
jerpelea merged 2 commits intoapache:masterfrom May 6, 2026
Merged
initial support for fixed-point data for sensors#3442jerpelea merged 2 commits intoapache:masterfrom
jerpelea merged 2 commits intoapache:masterfrom
Conversation
514e2b2 to
e301ccc
Compare
xiaoxiang781216
approved these changes
May 2, 2026
system/sensorscope: support for fixe16 data Signed-off-by: raiden00pl <raiden00@railab.me>
DEBUG_UORB depends on float data, FIXED16 not supported Signed-off-by: raiden00pl <raiden00@railab.me>
cederom
approved these changes
May 5, 2026
Contributor
cederom
left a comment
There was a problem hiding this comment.
Thank you @raiden00pl nice work! :-)
We may want to consider DEBUG_UORB also supporting fixed point variant? :-)
linguini1
approved these changes
May 5, 2026
acassis
approved these changes
May 5, 2026
jerpelea
approved these changes
May 6, 2026
Member
Author
|
@cederom there is no printf support for fixed point. The only way is to convert fixed-point to float. This contradicts the idea of introducing fixed points for sensors (getting rid of floats), but for debugging purposes, it makes sense and can be useful. EDIT: or maybe we should support fixed point in printf as not standard extention |
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.
Summary
apps part for apache/nuttx#17408
Impact
initial support for fixed16 sensor data
Testing
apache/nuttx#17408 (comment)