Request Data Stream problem

180 views
Skip to first unread message

Mrunal Shinde

unread,
Mar 10, 2021, 8:58:28 AM3/10/21
to MAVLink
Hello Everyone , 
I made a flight controller from stm32f103 bluepill . So i wanted to send the gps and attitude values to mission planner . I want the gps coordinates to reflect on the Mission Planner UI . I tried to connect the stm board to mission planner using mavlink. After sending the Heartbeat message I received a msg id of 66 from the software . Which is the id for Request Data stream and now i am stuck figuring out how do I the data stream to the software . How can I sent the data stream ?

Hamish Willee

unread,
Mar 17, 2021, 1:04:16 AM3/17/21
to MAVLink
If you're working on ArduPilot this is probably best asked in the #mavlink channel on the ArduPilot discord server. 

If you look at https://mavlink.io/en/messages/common.html#REQUEST_DATA_STREAM you will see that this basically is asking you for a specific message  ( req_stream_id  )   be sent out at a certain rate ( req_message_rate  ). You will have to inspect the message to find out what message is to be sent based on that id and then send it out at the specified rate IF the start_stop bit is 1 AND the component and system target ids match your flight stack.

Mrunal Shinde

unread,
Mar 17, 2021, 1:42:09 AM3/17/21
to mav...@googlegroups.com
Thankyou so much for your help . I was able to connect my stm32 to Mission Planner . Tough as of now I can just connect it to MP and transfer some heartbeat messages and data streams . I am working on sending all the Parameters used in ARDUCOPTER . So that I could use all the functions present in Mission Planner . Should I post an article on How to connect any Mictrocontroller to Mission Planner via Mavlink . Because I didn’t find much work on this topic . 
--
Sie erhalten diese Nachricht, weil Sie in Google Groups ein Thema der Gruppe "MAVLink" abonniert haben.
Wenn Sie sich von diesem Thema abmelden möchten, rufen Sie https://groups.google.com/d/topic/mavlink/leW5-dKAm_s/unsubscribe auf.
Wenn Sie sich von dieser Gruppe und allen Themen dieser Gruppe abmelden möchten, senden Sie eine E-Mail an mavlink+u...@googlegroups.com.
Wenn Sie diese Diskussion im Web verfolgen möchten, rufen Sie https://groups.google.com/d/msgid/mavlink/20d39d01-be29-4302-834d-81660dc63093n%40googlegroups.com auf.

Hamish Willee

unread,
Mar 17, 2021, 2:33:21 AM3/17/21
to MAVLink
Probably, but you might find some of this already if you ask in the ArduPilot community. Try their discord server, #mavlink branch.

Right now I'm wearing my "MAVLink had"; we're interested in making mavlink as standardized as possible in the hope that you don't need to think "too much" about interworking with a particular flight stack for "common things"

Reply all
Reply to author
Forward
0 new messages