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

sending a message #10

Closed
michaelhitzker opened this issue Jan 15, 2020 · 1 comment
Closed

sending a message #10

michaelhitzker opened this issue Jan 15, 2020 · 1 comment

Comments

@michaelhitzker
Copy link

michaelhitzker commented Jan 15, 2020

this is my first time working with MavLink. I just wanted to ask if this is the correct way of sending data:
const request = new DataStream(1, 1);
const messages: MAVLinkMessage[] = [request];
const buffer = mavLink.pack(messages);

I then send it over a socket.

EDIT: I just found out how to do it.

@jmcarvalhoo
Copy link

Can you give us an 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

No branches or pull requests

2 participants