Skip to content
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

generator: add javascript "lite" #921

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IamPete1
Copy link
Member

This adds a very basic JavaScript generator. This outputs message name and CRC for a given index. Also outputs "MAV_COMPONENT" enum.

This is not a full parser, and does not consider fields at all. Used for ArduPilot/WebTools#124

Example output https://github.com/IamPete1/WebTools/blob/updates/StreamStats/mavlink_msgs.js

@tridge
Copy link
Contributor

tridge commented Apr 26, 2024

why not use the full javascript generator?

@IamPete1
Copy link
Member Author

why not use the full javascript generator?

The full parser is a huge amount of code, it would be much slower to run in my use-case. I do not care about the message payload, just what message it is and the size.

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.

2 participants