Minimal example of sending custom node from PX4 to Mavros

On the PX4 documentation, there is only an example of sending a custom message from ROS to PX4, and I want to do the opposite.
Does anyone have any kind of minimal example of how to do this?
Thanks!