Google 地图 API
(Miscellaneous)
(Miscellaneous)
Ref. paparazziuav.org Installation for Ubuntu (2016-09-25 16:37:07 +0800)
git clone --origin upstream https://github.com/paparazzi/paparazzi.git
2 在软件中心将软件源改为 主服务 (Main server)
3 添加软件源并更新
E.x. 2016-09-25 +0800
# add-apt-repository -y ppa:paparazzi-uav/ppa
# add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
# apt-get update
# apt-get -f -y install paparazzi-dev paparazzi-jsbsim gcc-arm-embedded
P.S. 编译时可能需要根据提示安装其他依赖
5 切到稳定版本
E.x.
git checkout v5.8.2_stable
E.x.
文件: data/maps/Makefile
http://maps.googleapis.com/maps/api/js
改为:
http://ditu.google.cn/maps/api/js
make clean
make
E.x.
commit 6260b7c457ad530e1b9eab97f49e9127fbb53772
Author: Felix Ruess <felix.ruess@gmail.com>
Date: Tue Jun 21 21:16:03 2016 +0200
v5.8.2 maintenance release
-rwxrwxr-x 1 yuiwong yuiwong 1375022 9月 25 13:32 sw/supervision/paparazzicenter*
sw/supervision/paparazzicenter: a /usr/bin/ocamlrun script executable (binary data)
1375022 sw/supervision/paparazzicenter
f93ec9ac6d860e380291704fb09af7d7 sw/supervision/paparazzicenter
Run:
./paparazzi