Can Mechanism2d be displayed in Elastic Dashboard?

Does Elastic Dashboard support Mechanism2d? If so, how do I display it. Right now it is just showing the numerical values as apposed to the mechanism.

1 Like

Mechanism2d is not currently supported in Elastic, and there’s a few reasons for it.

The first is due to the complexity of how the data is published to network tables. Making a widget for it is possible, but would require a lot of work, and since it would have to keep rebuilding itself recursively, I don’t think it would perform very well with a language like Dart.

The second reason is due to scope creep. Mechanism visualization is mainly meant for advanced debugging, which isn’t what Elastic is built to do. This is why there also isn’t multi-variable graphing and deep analysis tools. While they could definitely be added, it would eventually lead to the software being eventually difficult to maintain.

I wouldn’t say that it’s never being added, but for the time being I’m going to leave it to more advanced programming dashboards like Glass and AdvantageScope which are designed with advanced visualization in mind. If mechanism visualization becomes something that is useful to drivers and coaches during a match or basic testing/driver practice, I would consider adding it.

Let me know if you have any additional feedback or suggestions!

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.