{"id":636,"date":"2016-05-25T13:37:39","date_gmt":"2016-05-25T22:37:39","guid":{"rendered":"\/blog\/?p=636"},"modified":"2023-09-21T09:38:02","modified_gmt":"2023-09-21T00:38:02","slug":"build-ardupilot-for-pixhawk","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=636","title":{"rendered":"Build ArduPilot for Pixhawk"},"content":{"rendered":"\n<div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">-\ucc38\uace0\uc0ac\uc774\ud2b8 : <a href=\"http:\/\/ardupilot.org\/dev\/docs\/building-px4-with-make.html\" target=\"_blank\" rel=\"noopener\">http:\/\/ardupilot.org\/dev\/docs\/building-px4-with-make.html<\/a><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">-\uc708\ub3c4\uc6b0\uc6a9 \ud234\uccb4\uc778 \ub2e4\uc6b4\ub85c\ub4dc : <a href=\"http:\/\/firmware.eu.ardupilot.org\/Tools\/PX4-tools\/\" target=\"_blank\" rel=\"noopener\">http:\/\/firmware.eu.ardupilot.org\/Tools\/PX4-tools\/<\/a><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">-\uc18c\uc2a4\ucf54\ub4dc : <a href=\"https:\/\/github.com\/ArduPilot\/ardupilot\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/ArduPilot\/ardupilot<\/a><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><strong>\u25a0 \uc708\ub3c4\uc6b0\uc5d0\uc11c \ube4c\ub4dc \uc900\ube44<\/strong><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">1. px4_toolchain_installer_v14_win.exe \uc124\uce58<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">- \ub9cc\uc77c toolchain\uc744 D\ub4dc\ub77c\uc774\ube0c\uc5d0 \uc124\uce58\ud588\ub2e4\uba74 \uc544\ub798 PATH\ub97c \ucd94\uac00\ud574 \uc8fc\uc5b4\uc57c \ud55c\ub2e4.<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">D:\\pixhawk_toolchain\\Python27;D:\\pixhawk_toolchain\\Python27\\Scripts;D:\\pixhawk_toolchain\\toolchain\\bin<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">2. PX4 Console \uc2e4\ud589<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><strong>\u25a0 Ubuntu\uc5d0\uc11c \ube4c\ub4dc<\/strong><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">#!\/bin\/sh<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">###########################################################<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">#<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"># Ardupilot \ube4c\ub4dc<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">#<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">###########################################################<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">CURRENT_DIR=$PWD<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">git clone -b Copter-3.3 https:\/\/github.com\/ArduPilot\/ardupilot.git<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">cd $CURRENT_DIR\/ardupilot<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">.\/Tools\/scripts\/install-prereqs-ubuntu.sh -y<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">source ~\/.profile<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">cd $CURRENT_DIR\/ardupilot<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">git submodule update --init --recursive<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"># Build (PX4-v2)<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">make clean<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">cd ArduCopter<\/font><\/div><div><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">rm -f ArduCopter-v2.px4<\/span><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">make px4-clean<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">make px4-v2<\/font><\/div><div><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">mv ArduCopter-v2.px4 arducopter-3.3.3.px4<\/span><\/div><div><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"><br \/><\/span><\/div><div><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"><br \/><\/span><\/div><div><strong style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 \uacf5\ud1b5 \ube4c\ub4dc \ubc29\ubc95<\/strong><br \/><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">1. git \uc6f9\uc0ac\uc774\ud2b8\uc5d0\uc11c \uc18c\uc2a4\ucf54\ub4dc\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ubc1b\ub294\ub2e4.<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">\u261e \ud2b9\uc815\ubc84\uc804\uc744 \ubc1b\uc73c\ub824\uba74 \ud574\ub2f9 Branch\ub97c \ub530\ub85c \uba85\uc2dc\ud574\uc918\uc57c \ud55c\ub2e4.<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">ArduCopter-3.3.3<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">git clone -b Copter-3.3 https:\/\/github.com\/ArduPilot\/ardupilot.git<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">ArduCopter-3.2.1 (APM \uc6a9)<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">git clone -b ArduCopter-3.2.1 https:\/\/github.com\/ArduPilot\/ardupilot.git<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">2. \uc11c\ube0c\ubaa8\ub4c8 \uc5c5\ub370\uc774\ud2b8<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">cd ardupilot<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">git submodule update --init --recursive<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">3. \ube4c\ub4dc<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">make clean<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">cd ArduCopter<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">make px4-clean<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">make px4-v2<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\"><br \/><\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">4. \ud38c\uc6e8\uc5b4\ub97c \uc5bb\ub294\ub2e4.<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">ArduCopter-v2.px4 \ud30c\uc77c \ud655\uc778 \ud6c4 \uc774\ub984 \ubcc0\uacbd<\/font><\/div><div><font face=\"\uad74\ub9bc\uccb4, Courier New, Lucida Console\">mv ArduCopter-v2.px4 arducopter-3.3.3.px4<\/font><\/div>\n","protected":false},"excerpt":{"rendered":"<p>-\ucc38\uace0\uc0ac\uc774\ud2b8 : http:\/\/ardupilot.org\/dev\/docs\/building-px4-with-make.html -\uc708\ub3c4\uc6b0\uc6a9 \ud234\uccb4\uc778 \ub2e4\uc6b4\ub85c\ub4dc : http:\/\/firmware.eu.ardupilot.org\/Tools\/PX4-tools\/ -\uc18c\uc2a4\ucf54\ub4dc : https:\/\/github.com\/ArduPilot\/ardupilot \u25a0 \uc708\ub3c4\uc6b0\uc5d0\uc11c \ube4c\ub4dc \uc900\ube44 1. px4_toolchain_installer_v14_win.exe \uc124\uce58 &#8211; \ub9cc\uc77c toolchain\uc744 D\ub4dc\ub77c\uc774\ube0c\uc5d0 \uc124\uce58\ud588\ub2e4\uba74 \uc544\ub798 PATH\ub97c \ucd94\uac00\ud574 \uc8fc\uc5b4\uc57c \ud55c\ub2e4. D:\\pixhawk_toolchain\\Python27;D:\\pixhawk_toolchain\\Python27\\Scripts;D:\\pixhawk_toolchain\\toolchain\\bin 2. PX4 Console \uc2e4\ud589 \u25a0 Ubuntu\uc5d0\uc11c \ube4c\ub4dc #!\/bin\/sh ########################################################### # # Ardupilot \ube4c\ub4dc # ########################################################### CURRENT_DIR=$PWD git clone -b Copter-3.3 https:\/\/github.com\/ArduPilot\/ardupilot.git cd $CURRENT_DIR\/ardupilot .\/Tools\/scripts\/install-prereqs-ubuntu.sh -y source [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[30],"tags":[],"class_list":["post-636","post","type-post","status-publish","format-standard","hentry","category-multi_copter_fc"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=636"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/636\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}