{"id":1610,"date":"2016-10-20T22:40:22","date_gmt":"2016-10-20T20:40:22","guid":{"rendered":"http:\/\/www.itluxembourg.lu\/site\/?page_id=1610"},"modified":"2017-08-04T23:39:02","modified_gmt":"2017-08-04T21:39:02","slug":"mavlink-server","status":"publish","type":"page","link":"https:\/\/www.itluxembourg.lu\/site\/mavlink-server\/","title":{"rendered":"MAVLINK Server"},"content":{"rendered":"<h1>Introduction<\/h1>\n<p>The mavlink server is a feature of the Ultimate LRS Control Center (ULRS CC). It allows to send the mavlink data of an ULRS system simultaneously to an unlimited number of ground control stations (GCS, for example Mission Planner or Tower) :<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1620\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-1024x415.png\" alt=\"2016-10-20-23_00_36-mission-planner-1-3-37-build-1-1-5917-13431-arduplane-v3-7-0-2e240699\" width=\"530\" height=\"215\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-1024x415.png 1024w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-510x207.png 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-300x121.png 300w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-768x311.png 768w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<h1>Description<\/h1>\n<h2>Introduction<\/h2>\n<h3>Objective<\/h3>\n<p>It&#8217;s normally impossible to connect several GCS to the same ULRS CC.<\/p>\n<p>However possible by using the Mavlink server feature, it will be possible to connect an unlimited number of GCS to a single ULRS TX.<\/p>\n<p>They can run on the same computer, or on a local network (cable or wi-fi), or even through internet (so your friends could follow your flights or even take control of your plane).<\/p>\n<h3>Sending commands<\/h3>\n<p>The communication is fully bidirectionnal, so all the connected devices can send commands to the remote vehicle.<\/p>\n<h3>Protocol used<\/h3>\n<p>The protocol used is called TCP, it allows to have one sender and many receivers. It&#8217;s the same protocol used on\u00a0a web server, where many internet browsers can connect simultaneously.<\/p>\n<h2>Mavlink server<\/h2>\n<h3>How to start<\/h3>\n<p>To use this feature, select the &#8216;Mavlink Server&#8217; tab in ULRS CC, and click on &#8216;Start Mavlink Server&#8217; in ULRS CC :<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_42_04-Ultimate-LRS-Control-Center-Version-2.32.c-beta.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1614\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_42_04-Ultimate-LRS-Control-Center-Version-2.32.c-beta-1024x512.png\" alt=\"2016-10-20-22_42_04-ultimate-lrs-control-center-version-2-32-c-beta\" width=\"530\" height=\"265\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_42_04-Ultimate-LRS-Control-Center-Version-2.32.c-beta-1024x512.png 1024w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_42_04-Ultimate-LRS-Control-Center-Version-2.32.c-beta-510x255.png 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_42_04-Ultimate-LRS-Control-Center-Version-2.32.c-beta-300x150.png 300w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_42_04-Ultimate-LRS-Control-Center-Version-2.32.c-beta-768x384.png 768w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_42_04-Ultimate-LRS-Control-Center-Version-2.32.c-beta.png 1036w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>After clicking on Start Mavlink Server it will display the current IP addresses of the computer.<\/p>\n<h2>Ground Control Software<\/h2>\n<h3>Start &amp; Connect<\/h3>\n<p>Then launch a GCS (like Mission Planner or Tower), either on the same computer or on a computer which is on the same network.<\/p>\n<p>In the GCS, rather than selecting a COM port, select &#8216;TCP&#8217;, then click on &#8216;Connect&#8217;\u00a0:<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_37_22-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1611\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_37_22-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699.png\" alt=\"2016-10-20-22_37_22-mission-planner-1-3-37-build-1-1-5917-13431-arduplane-v3-7-0-2e240699\" width=\"300\" height=\"105\" \/><\/a><\/p>\n<h3>IP address<\/h3>\n<p>It will ask for the IP address of the server. Check the IP address of the computer where ULRS CC is running. This is provided automatically in ULRS CC :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1616\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_43_23-Ultimate-LRS-Control-Center-Version-2.32.c-beta.png\" alt=\"2016-10-20-22_43_23-ultimate-lrs-control-center-version-2-32-c-beta\" width=\"422\" height=\"192\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_43_23-Ultimate-LRS-Control-Center-Version-2.32.c-beta.png 422w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_43_23-Ultimate-LRS-Control-Center-Version-2.32.c-beta-300x136.png 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/p>\n<p>Enter one of the IP addresses (they may not all work, for example in this example one of them is the wi-fi IP address, while another one is the cable network IP address. 127.0.0.1 is a special IP address that means &#8216;on the same computer&#8217;, you can use it if ULRS CC and your GCS are running on the same computer) :<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_45_21-remote-host.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1617\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_45_21-remote-host.png\" alt=\"2016-10-20-22_45_21-remote-host\" width=\"410\" height=\"143\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_45_21-remote-host.png 410w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_45_21-remote-host-300x105.png 300w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/a><\/p>\n<h3>Port number<\/h3>\n<p>It will then ask for a remote port number. Type in 14550.<\/p>\n<p>The combination of an IP address and a port number identifies a unique service over a specific computer even over the entire internet.<\/p>\n<p>The GCS doesn&#8217;t require anything more to start using this service. (Notice that this is simpler than a COM port, where the correct port number, its baudrate, number of stop bits, start bits, parity type etc must be selected before it will work)<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_49_29-remote-Port.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1618\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_49_29-remote-Port.png\" alt=\"2016-10-20-22_49_29-remote-port\" width=\"409\" height=\"140\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_49_29-remote-Port.png 409w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_49_29-remote-Port-300x103.png 300w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/a><\/p>\n<h3>That&#8217;s it<\/h3>\n<p>And that&#8217;s it, Mission Planner will start to download the parameters as if it was connected on a serial port :<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_53_34-Getting-Params-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1619\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_53_34-Getting-Params-1.png\" alt=\"2016-10-20-22_53_34-getting-params-1\" width=\"316\" height=\"175\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_53_34-Getting-Params-1.png 316w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-22_53_34-Getting-Params-1-300x166.png 300w\" sizes=\"auto, (max-width: 316px) 100vw, 316px\" \/><\/a><\/p>\n<h3>Remarks<\/h3>\n<ul>\n<li>The advantage is that you can connect as many GCS as you want : smartphones, tablets, APM Planner, Mission Planner, everything will work. And the other advantage is that you have ULRS CC running, showing the RSSI per channel in real-time :<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1620\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-1024x415.png\" alt=\"2016-10-20-23_00_36-mission-planner-1-3-37-build-1-1-5917-13431-arduplane-v3-7-0-2e240699\" width=\"530\" height=\"215\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-1024x415.png 1024w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-510x207.png 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-300x121.png 300w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2016\/10\/2016-10-20-23_00_36-Mission-Planner-1.3.37-build-1.1.5917.13431-ArduPlane-V3.7.0-2e240699-768x311.png 768w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>This is TCP network traffic, so depending on your network it may be required to open a firewall, or configure\u00a0your router if you want to access it through internet.<\/li>\n<li>This system doesn&#8217;t create a wi-fi network, but can use an existing wi-fi network (for example created by a home ADSL\u00a0modem). So if using it on a standalone computer on the field it will require an additional software to create a wi-fi network.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The mavlink server is a feature of the Ultimate LRS Control Center (ULRS CC). It allows to send the mavlink data of an ULRS system simultaneously to an unlimited<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":33,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1610","page","type-page","status-publish","hentry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages\/1610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/comments?post=1610"}],"version-history":[{"count":10,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages\/1610\/revisions"}],"predecessor-version":[{"id":2128,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages\/1610\/revisions\/2128"}],"wp:attachment":[{"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/media?parent=1610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}