Hi,
I’ve followed the guide dev.ardupilot.com/wiki/apmcopter-code-overview/code-overview-adding-a-new-mavlink-message/) for adding a new MavLink message, but I’m unsure how I go from there to being able to see my message on MavProxy or Mission Planner. My current message is simple – it has one field, which is an int, and my goal is to have the int display on some GCS. I’ve gotten through step 4 just fine so far, but am stuck on step 5. Here’s what I’ve done so far:
-
I created a send_test_message function, which simply takes a pre-defined uint8_t = 8 and sends it to the mavlink_msg_test_message_send function
-
I then updated the try_send message with the case(TEST_MESSAGE), where I checked the payload to see if my message fits and then called the send_test_message function
I didn’t update anything else and don’t know if I need to or not. The problem I’m currently having is that I can’t see my output anywhere on Mission Planner or MavProxy. I want to basically be able to open the parameters list and see my test variable there, but it’s not showing up at all. I’m at a crossroads at this point and have no idea what to do. Any advice would be highly appreciated