Closed jhong-sync closed 8 months ago
There is no such thing as MAVLinkMessage
in this project, nor in the mavlink-mappings. Do you mind explaining how did you arrive at this problem?
@padcom Thank you for your support! First I followed instruction of this mavlink website. (https://mavlink.io/en/getting_started/generate_libraries.html) And then I chose all.xml, typscript, 2.0 -> generate
So the result of generation was below picture.
And in message-registry.ts, I found import {MAVLinkMessage} from 'node-mavlink';
This is how I got that code. If I had mistake let me know what I did wrong!
Thank you so much for your effort.
You're using the wrong library. Here are the instructions you're looking for:
https://github.com/ArduPilot/node-mavlink?tab=readme-ov-file#getting-started
import { MAVLinkMessage } from 'node-mavlink;
Module '"node-mavlink"' has no exported member 'MAVLinkMessage'.ts(2305)
In message-registry.ts, import MAVLinkMessage but node-mavlink library has no such memeber. How to fix this situation?
Thanks!!