Start My Pixhawk Programming Journey

幾個月前開始,努力在看PX4 development的文件,不過主力還是要有一隻可以試驗的multicopter,最近這部機還算可以了。今天,正式開始我PX4 programming的旅程。

跟著文件做開發環境設定
Setting Toolchain
http://pixhawk.org/dev/toolchain_installation_mac

Connect Pixhawk form NuttShell (NSH)
https://pixhawk.org/users/serial_connection

Connect PX4FMU by NuttSgell
Connect PX4FMU by NuttSgell, listing the Pixhawk’s directories.

 

Viewing Pixhawk's running program from NuttShell
Viewing Pixhawk’s running program

Building and Flashing Firmware
https://pixhawk.org/dev/nuttx/building_and_flashing_console

終於可以第一次用Terminal build到PX4FMU的firmware,和upload上Pixhawk。

整個過程不算太難,有問題都在forum上serach到解答,裡面的人都很願意幫人,很基礎的問題也用心回覆。

我用Mac來做開發平台,文件也很夠,只是夾雜著LINUX,Windows的文件,有時會難找,有時也不知道這項是不是for Mac的。等我有時間,會寫一個專for Mac的中文install workflow,讓有興趣入門的朋友,不會因為install不到而放棄。

下一步要走一次HelloSyk的Tutorial,看看是如何編自己的onboard app。祝我好運!
https://pixhawk.org/dev/px4_simple_app