發表文章

opkg Installing A Software Package In Angstrom

http://www.elinux.org/Installing_A_Software_Package_In_Angstrom make sure boards are connected to internet: ping www.google.com -w 2 Update the list of available packages: opkg update check whats are available related to .... opkg list|grep <package name> To install a package in Angstrom, type the following command opkg install <package name> To see if a particular package is already installed in Angstrom, type the command below opkg list-installed|grep <package name>

Adding a USB wifi dongle on Pi as router

This has been shown several times on internet, but people are using different method. http://blog.yam.com/cistychang/article/61517499 This one use Pi to have PPPoE connection, and hostapd as access point, so other device can access to the device. Then he make wifi as fix IP, using following as IP forwarding.  dnsmasq (isc-dhcp-server seems to work as well) using apt-get install dnsmasq ADAFruit has also a very good article: https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point They also go through a lot of pages: I used the following pages as a guide to create this tutorial,  please note  many of them will not work completely, but check them out if you are interested! http://qcktech.blogspot.com/2012/08/raspberry-pi-as-router.html http://itsacleanmachine.blogspot.com/2013/02/wifi-access-point-with-raspberry-pi.html http://esrlabs.com/android-transporter-for-the-nexus-7-and-the-raspberry-pi/ http://elinux.org/RPI-Wireless-Hotspot So,...

Mission planner 2 on a A20,cubieboard, Banana Pi

I see 2 possibilities on web, 1. complie source code on arm platform, here is an example with  APM Planner 2.0  on Pi example A: http://www.rcgroups.com/forums/showthread.php?t=2169852 example B: http://www.dronetrest.com/t/apm-planner-v2-running-on-a-raspberry-pi/191 Here is Qgroundcontrol for Pi, still re complied: http://diydrones.com/forum/topics/raspberry-pi-and-mission-planner?id=705844%3ATopic%3A1021527&page=1#comments Here is an imteresting one, using Pi as  mavproxy http://dev.ardupilot.com/wiki/raspberry-pi-via-mavlink/ On Cubieboard: http://diydrones.com/forum/topics/droidplanner-on-armhf So, I followed this one, the linux section https://github.com/diydrones/apm_planner 1) Install the required packages: sudo apt-get install phonon libqt4-dev libqt4-opengl-dev \ libphonon-dev libphonon4 phonon-backend-gstreamer \ qtcreator libsdl1.2-dev libflite1 flite1-dev build-essential \ libopenscenegraph-dev libssl-dev libqt4-opengl-dev l...

serial wifi module HLK-RM04

This little module has 2 uart, and can be used as AP as well. the manual is quite buggy, So I note the real thing I have on my set. default SSID is kind of HI-LINK_1B29 default pwd: 12345678 web config page: 192.168.16.254 log in as admin, pwd: admin the tricky one is the TCP port: it sould be 192.168.16.254:8080 default serial config:115200,8N1

APM mini OSD with OpenLRS telemetry

圖片
After using OpenLRS as radio control and telemetry. I need a miniOSD with baud rate at 19200, which is used as telemetry baudrate. the standard miniOSD is 57600, of course we can svn the source and redo it again, but some nice guys on rc group has already done it. for copter: http://84ace.com/?cat=4 for plane:MinimOSD_Extra_Plane_2.4_Pre_release_Beta_19200.hex http://www.rcgroups.com/forums/showthread.php?t=2037442&page=13 it also can be configured using minimOSD extra config tool2.4.0.1  but I was having font issue....the tool can't update the charset..... google it, some say you need to power up 2 sides, some says you have to reload the bootloader... I believe my bootloader works fine, since we can update the hex code pretty good. finally, some german guys say, the minOSD does not handle charset to maxium well, so it's possible to first load your hardware with KV team OSD code: https://code.google.com/p/rush-osd-development/ I down loaded the 2.2 version a...

GPS sentence

Have been working on GPS with Arduino few years ago, recently there is a tinyGPS++ library.. which increase the ability to decode more sentences.... First need to review what are the sentnece, each sentence contain different info, http://aprs.gids.nl/nmea/ basic 19 sentences: $GPBOD - Bearing, origin to destination $GPBWC - Bearing and distance to waypoint, great circle $GPGGA - Global Positioning System Fix Data $GPGLL - Geographic position, latitude / longitude $GPGSA - GPS DOP and active satellites $GPGSV - GPS Satellites in view $GPHDT - Heading, True $GPR00 - List of waypoints in currently active route $GPRMA - Recommended minimum specific Loran-C data $GPRMB - Recommended minimum navigation info $GPRMC - Recommended minimum specific GPS/Transit data $GPRTE - Routes $GPTRF - Transit Fix Data $GPSTN - Multiple Data ID $GPVBW - Dual Ground / Water Speed $GPVTG - Track made good and ground speed $GPWPL - Wayp...

2014-08-29宜蘭 mission fly

圖片
天氣晴, 微風,約1級 上次的navigation 去龜山島, 去的時候一直搖, 回來沒有搖, 這個今天有做些調整: 這次的計畫是在一個區域內做搜尋的飛行,路線規畫是先在APM畫出一個polygon,之後用auto WP grid去做.... 黃色是第一次飛的, 一樣左搖右晃, 兩個方向都一樣..... 藍色是叫回來加大roll的P gain, 飛出去還是一樣晃,就再叫回來增加P gain, 結果就時紅色的上兩排,一樣晃, 空中增加period, 可以看見紅色的最後兩排搖的小點了..... 顯然navigation的 period跟damping 要再看一下怎麼調..... tlog抓出的資料,是一開始建立聯線的,不包括後來飛行中改的, NAVL1_PERIOD 15 NAVL1_DAMPING 0.78 這是飛完後的數字: NAVL1_PERIOD,20 NAVL1_DAMPING,0.778 RLL2SRV_D,0.0363633 RLL2SRV_I,0.0283633 RLL2SRV_IMAX,2000 RLL2SRV_P,0.61 RLL2SRV_RMAX,60 RLL2SRV_TCONST,0.5 http://plane.ardupilot.com/wiki/navigation-tuning/ 說: Steps to tuning the L1 controller Make sure you have already tuned the roll and pitch controller, correctly trimmed your plane, and have ensured the plane does not gain or lose altitude in turns Make sure you have setup LIM_ROLL_CD to an appropriate value for the bank angle you are comfortable with your plane flying without stalling. For slow flying electric gliders a value of around 5000 (...