LUA send_named_float with mavlink?

Is it possible to access variables sent to the GCS with the LUA command send_named_float or with the logger.write command using MAVLINK?

I’m trying to use pymavlink to view my custom data in a python GUI. I can read all of the Mavlink messages that are sent, but none of them actually contain my data that was sent to the GCS via lua. I want to avoid making a custom mavlink message.

The named float message is sent via MAVLink, you just need to listen for/subscribe to it:

image

I figured out my issue! I was only updating the data at the initialization of the LUA script and missed the message entirely. Sending the float to GCS in the main loop fixed it.

One issue I’m having is that pymavlink misses some of the data being sent from FC to the telemetry radio on my ground station. The strange thing is that when I connect the same radio to MP and check the “tuning” tab, all of my data arrives as expected.