MAVLink to REST API

Hi there,
I installed all your solution and it works great ! I receive the messages I need with a websocket in nodejs and I post the commands/messages with axios : great !
But, there’s a way to send commands/messages to ardupilot (RC_CHANNELS_OVERRIDE for ex.) with WS instead Post msg ? I think that can I improve the latency and the frequency
Thanks

1 Like

I’m sorry , I solved the problem : now it works also with WS instead post msg
Nice works @patrickelectric

1 Like

Hi @khancyr,

I’m aware that are some people working on it and collaborating with rust-mavlink repository with that end.

1 Like

Cool, I would be interested to see the result ! Not that mavlink-router is bad but having a performant alternative would be good

Hi @patrickelectric,
When working with commands such as ‘MISSION_ITEM_INT,’ you’ll encounter fields named ‘command’ and ‘frame.’ In your example, these fields are populated with values like {“type”: “MAV_CMD_NAV_WAYPOINT”}. Is it possible to use an ID (such as 16 in this case) instead of the string representation?
Davide

Hi @davieli2,

It’s possible, but changes on rust-mavlink are required.