{"id":1523,"date":"2023-12-07T20:46:33","date_gmt":"2023-12-07T12:46:33","guid":{"rendered":"http:\/\/www.autouav.net.cn\/?p=1523"},"modified":"2023-12-07T20:46:33","modified_gmt":"2023-12-07T12:46:33","slug":"remoteid-for-px4","status":"publish","type":"post","link":"https:\/\/www.autouav.net.cn\/?p=1523","title":{"rendered":"RemoteID for PX4"},"content":{"rendered":"<h2 id=\"px4-configuration\">PX4 Configuration<\/h2>\n<h3 id=\"port-configuration\"><a class=\"header-anchor\" href=\"https:\/\/docs.px4.io\/main\/en\/peripherals\/remote_id.html#port-configuration\">#<\/a>Port Configuration<\/h3>\n<p>Remote ID hardware is configured in the same way as any other\u00a0<a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/peripherals\/mavlink_peripherals.html\">MAVLink Peripheral<\/a>.<\/p>\n<p>Assuming you have connected the device to the\u00a0<code>TELEM2<\/code>\u00a0port,\u00a0<a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/advanced_config\/parameters.html\">set the parameters<\/a>\u00a0as shown:<\/p>\n<ul>\n<li><a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/advanced_config\/parameter_reference.html#MAV_1_CONFIG\">MAV_1_CONFIG<\/a>\u00a0=\u00a0<code>TELEM 2<\/code><\/li>\n<li><a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/advanced_config\/parameter_reference.html#MAV_1_MODE\">MAV_1_MODE<\/a>\u00a0= Normal<\/li>\n<li><a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/advanced_config\/parameter_reference.html#MAV_1_RATE\">MAV_1_RATE<\/a>\u00a0= 0 (default sending rate for port).<\/li>\n<li><a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/advanced_config\/parameter_reference.html#MAV_1_FORWARD\">MAV_1_FORWARD<\/a>\u00a0= Enabled<\/li>\n<\/ul>\n<p>Then reboot the vehicle.<\/p>\n<p>You will now find a new parameter called\u00a0<a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/advanced_config\/parameter_reference.html#SER_TEL2_BAUD\">SER_TEL2_BAUD<\/a>. The required baud rate depends on the remote ID used (for Cube ID it must be set to 57600).<\/p>\n<h3 id=\"enable-remote-id\"><a class=\"header-anchor\" href=\"https:\/\/docs.px4.io\/main\/en\/peripherals\/remote_id.html#enable-remote-id\">#<\/a>Enable Remote ID<\/h3>\n<p>There is no need to explicitly enable Remote ID (supported Remote ID messages are either streamed by default or must be requested in the current implementation, even if no remote ID is connected).<\/p>\n<h3 id=\"prevent-arming-based-on-remote-id\"><a class=\"header-anchor\" href=\"https:\/\/docs.px4.io\/main\/en\/peripherals\/remote_id.html#prevent-arming-based-on-remote-id\">#<\/a>Prevent Arming based on Remote ID<\/h3>\n<p>To only allow arming when a Remote ID is ready,\u00a0<a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/advanced_config\/parameters.html#conditional-parameters\">set<\/a>\u00a0the parameter\u00a0<a href=\"https:\/\/docs.px4.io\/main\/en\/peripherals\/remote_id.html#COM_ARM_ODID\">COM_ARM_ODID<\/a>\u00a0to\u00a0<code>2<\/code>\u00a0(it is disabled by default).<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a id=\"COM_ARM_ODID\"><\/a><a class=\"\" href=\"https:\/\/docs.px4.io\/main\/en\/advanced_config\/parameter_reference.html#COM_ARM_ODID\">COM_ARM_ODID<\/a><\/td>\n<td>Enable Drone ID system detection and health check.\u00a0<code>0<\/code>: Disable (default),\u00a0<code>1<\/code>: Warn if Remote ID not detected but still allow arming,\u00a0<code>2<\/code>: Only allow arming if Remote ID is present.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"module-broadcast-testing\"><a class=\"header-anchor\" href=\"https:\/\/docs.px4.io\/main\/en\/peripherals\/remote_id.html#module-broadcast-testing\">#<\/a>Module Broadcast Testing<\/h2>\n<p>Integrators should test than the remote ID module is broadcasting the correct information, such as UAV location, ID, operator ID and so on. This is most easily done using a 3rd party application on your mobile device:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/dronetag\/drone-scanner\" target=\"_blank\" rel=\"noopener noreferrer\">Drone Scanner\u00a0<span class=\"sr-only\">(opens new window)<\/span><\/a>(Google Play or Apple App store)<\/li>\n<li><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=org.opendroneid.android_osm&amp;hl=en&amp;gl=US\" target=\"_blank\" rel=\"noopener noreferrer\">OpenDroneID OSM\u00a0<span class=\"sr-only\">(opens new window)<\/span><\/a>(Google Play)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>PX4 Configuration #Port Configuration Remote ID hardware is configured in the same way as any other\u00a0&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-1523","post","type-post","status-publish","format-standard","hentry","category-25"],"_links":{"self":[{"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/1523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1523"}],"version-history":[{"count":1,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/1523\/revisions"}],"predecessor-version":[{"id":1524,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/1523\/revisions\/1524"}],"wp:attachment":[{"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.autouav.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}