Is there a way to pass a non-mavlink packet through SiK telem

Hello,

I have the following setup:

Is there a way to pass a non-mavlink packet through the SiK telemetry ?
I would like for example to turn a led on and off.

Is there a way to do this with mavlink custom messages ? It doesn’t seem they are the purpose of such applications

Thank for the help,
A fellow droner

Hello @Alex999997

I am not an expert on it, but I think that you can use SiK GUI to setup your radios, changing the MAVLink packet to raw, so this way you can send anything you want via radio… but using a custom MAV message would be way more elegant for your solution.

Sure, take a look on this message:
https://mavlink.io/en/messages/common.html#NAMED_VALUE_INT
With this one, you can send for your drone a command, for instance, with the name “LED_CONTROL” and use 1 and 0 for ON/OFF respectively.

2 Likes

Hi @BrunoBagarini

Thanks for the hints :slight_smile:
I’ll try to implement custom messages then !

Thanks a lot !

1 Like

Good luck man, keep pushing!

I’m also very interested on this! Please post here any advances.

Hello,
I achieved sending custom messages through my SiK telemetry module.
Here you have some steps in order to achieve this:

  1. Create and build custom dialect for PyMavlink in both Computer and Raspberry Pi (Python (mavgen) · MAVLink Developer Guide)
  2. Import your custom dialect in your script: from pymavlink.dialects.v20 import custom_dialect as pymavlink_custom_dialect
  3. Use your dialect in your script: mavutil.mavlink_connection('udp:127.0.0.1:14550', dialect="custom_dialect")

I’m thinking in writing a short guide soon

2 Likes