Hi, I am receiving STATUSTEXT messages from MAVROS successfully in Ardupilot. I would like to forward those to my GCS. I have configured my “–out IP:port” correctly as I am receiving other information in the GCS such as battery status, HWstatus, meminfo, etc. I would now like to have the STATUSTEXT messages also show up on my GCS. I’ve seen how i can use add the “-f” flag to mavlink command for PX4, is there something similar for ArduPilot?
I assume MAVROS us running on a companion computer?
Does it work if MAVROS is configured as a different system ID (as opposed to just having a different component ID)? I’m guessing other things might break, just gathering data here
MAVROS is running on the same Ubuntu computer as Ardupilot SITL at the moment. I’ve configured the FCS_URL for mavros to the SITL. From my understanding, the statustext i’m sending is only being sent to the system/component ID of SITL?
STATUSTEXT doesn’t contain any targetting information (nor should it -
it’s basically just yelling out that EVERYTHING IS FINE AND NOTHING VERY
IMPORTANT IS ON FIRE, and everybody should be interested in that sort of
thing). You can see that in the message definition here:
(compare to MISSION_ITEM, which is targetted:
We just happen to log statustexts as a special case in ArduPilot.
Suggest try running MAVRos with a different system ID to see what happens.
I tried to run it with the systemID of the GCS i’m trying to hit. It didn’t like not having the FCU to hit. Could I bundle the statustext into a mavlink message, publish to /mavlink/to, with target and component ids as broadcast, and maybe get it sending everywhere?
I think I just ran into the same problem. @TiffanyKalin were you able to make any progress with this?
@TiffanyKalin I saw your issue in github about this same thing and was wondering what you changed so you could see the statustext messages in Mavlink Inspector. I can see the /mavros/statustext/send topic updating when I publish new messages, but they aren’t showing up in qGroundControl
I am sending /mavros/statustext/send messages but I cannot see them anywher.
I have an companion computer connected to my FCU and want to see debug messages to ground control . I was thinking that statustext is the right message to send short strings. Why am I am not seeing them? Did you find a solution ?
Same/Similar issue, I sent a STATUSTEXT message from my companion computer.
I could see it in the Ardupilot SITL, but I cannot see them appear in QGroundControl.
Does anybody has an idea about the topic ?
It’s the same for me:
- my companion computer send STATUSTEXT to a cube with ardupilot 3.6.12 on it.
- I receive the telemetry with herelink controler
- nothing is displayed on qground about the message of the companion computer.
Moreover, when I connect a mavros to the telemetry on ground, I can send STATUSTEXT to the mavros in the companion computer ! (however not displayed in qground)
Companion -> Cube -> herelink : not working.
Companion <- Cube <- herelink <- Mavros (FCU url = UDP from herelink) : working but not displaying in Qground
thank you in advance
You have to set source_system for mavlink connection same as autopilot source system. In my case it is 2, it can be detected in heartbeat message sent by autopilot.
Example whe udp is used. Could be udpin or udpout based on what setup you have for mavproxy.
master = mavutil.mavlink_connection(‘udpout:–your ip–:your port’,source_system=source_sys)
or with serial:
master = mavutil.mavlink_connection("/dev/ttyAMA0", baud=115200,source_system=source_sys)