<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Calling MAVSDK async functions inside non-async functions in HoverGames Drone Challenge</title>
    <link>https://community.nxp.com/t5/HoverGames-Drone-Challenge/Calling-MAVSDK-async-functions-inside-non-async-functions/m-p/1051519#M5</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;I face difficulty in wrapping MAVSDK into my own class which also contains callbacks implemented&amp;nbsp;from other predefined classes. All calls to the functions&amp;nbsp;called from MAVSDK need to be asynced and awaited. Hence, I am not able to call them inside other predefined callback functions as&amp;nbsp;they do not implement asyncio and hence cannot be asynced/awaited.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN&gt;Has anyone found a workaround for the same? ie, calling an async function inside a non-async function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN&gt;Any pointers would be much appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2020 23:22:16 GMT</pubDate>
    <dc:creator>jissdeodates</dc:creator>
    <dc:date>2020-08-20T23:22:16Z</dc:date>
    <item>
      <title>Calling MAVSDK async functions inside non-async functions</title>
      <link>https://community.nxp.com/t5/HoverGames-Drone-Challenge/Calling-MAVSDK-async-functions-inside-non-async-functions/m-p/1051519#M5</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;I face difficulty in wrapping MAVSDK into my own class which also contains callbacks implemented&amp;nbsp;from other predefined classes. All calls to the functions&amp;nbsp;called from MAVSDK need to be asynced and awaited. Hence, I am not able to call them inside other predefined callback functions as&amp;nbsp;they do not implement asyncio and hence cannot be asynced/awaited.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN&gt;Has anyone found a workaround for the same? ie, calling an async function inside a non-async function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN&gt;Any pointers would be much appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 23:22:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/HoverGames-Drone-Challenge/Calling-MAVSDK-async-functions-inside-non-async-functions/m-p/1051519#M5</guid>
      <dc:creator>jissdeodates</dc:creator>
      <dc:date>2020-08-20T23:22:16Z</dc:date>
    </item>
  </channel>
</rss>

