Skip to content

Changed gyro widget to work with doubles - #147

Open
NaN0987 wants to merge 1 commit into
Gold872:mainfrom
NaN0987:single-topic-gyro-widget
Open

Changed gyro widget to work with doubles#147
NaN0987 wants to merge 1 commit into
Gold872:mainfrom
NaN0987:single-topic-gyro-widget

Conversation

@NaN0987

@NaN0987 NaN0987 commented Nov 30, 2024

Copy link
Copy Markdown

The gyro widget can now be applied to single-topic double values. It appears as a display option for doubles, and single-topic gyros will also have all of the display options for doubles.

The gyro widget can now be applied to single-topic double values. It appears as a display option for doubles, and single-topic gyros will also have all of the display options for doubles.
@NaN0987

NaN0987 commented Nov 30, 2024

Copy link
Copy Markdown
Author

Closes #146

@Gold872

Gold872 commented Dec 1, 2024

Copy link
Copy Markdown
Owner

I think this is a very useful addition, however I think it could be implemented better

I'd prefer making the widget subscribe only to the topic in the topic property of the json data. This would involve automatically converting existing gyro widgets to set their topic to topic/Value instead of whatever it currently is. It will be a bit of a complicated change but I think it would make a lot of sense to have.

If you want help with any of it I would be willing to write/refactor some of the code.

@MichaelLesirge

Copy link
Copy Markdown

Would love to see this happen! 🙏 ❤️

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.

3 participants