發表文章

目前顯示的是 4月, 2016的文章

First tryout with pix4D and a sport cam video on a 4axis

圖片
reference: https://support.pix4d.com/hc/en-us/articles/202557359#gsc.tab=0 it seems it can use video directly, but my free version seems does not have that option. So turns to other solution: http://www.dvdvideosoft.com/products/dvd/Free-Video-to-JPG-Converter.htm you can input avi file, and set the time interval or frame interval, or set total frames from the video. then it get all the pics in a folder under my picture/FreeVideoToJPGConverter/video name when importing pics, you have to copy all these JPGs into the project folder in pix4D, otherwise, error will stop you. it will also ask for geolocation information for at least 3pictures. I did not have, so I directly ask for start and go for long wait. it will first comes with a quality report: giving no information of loation, it does understand the relative location of each pics. It's only a 40 pics result, but very very encouraging...

mission planner follow me mode with external GPS

圖片
I wish to use follow me mode to make my 4 axis to follow a RC car or RC boat. the idea is to transmit decoded GPS location and pass through radio form remote site to station. And then pass the coordination the mission planner with NMEA format. which I will need to use a arduino and generate NMEA to USB. there is no lib for this, but a example of generate CRC: http://engineeringnotes.blogspot.tw/2015/02/generate-crc-for-nmea-strings-arduino.html for the sentences contain position: $GPGGA Name Example Data Description Sentence Identifier $GPGGA Global Positioning System Fix Data Time 170834 17:08:34 Z Latitude 4124.8963, N 41d 24.8963' N or 41d 24' 54" N Longitude 08151.6838, W 81d 51.6838' W or 81d 51' 41" W Fix Quality: - 0 = Invalid - 1 = GPS fix - 2 = DGPS fix 1 Data is from a GPS fix Number of Satellites 05 5 Satellites are in view Horizontal Dilution of Precision (HDOP) 1.5 Relative accuracy of horizontal position Altitude 280.2,

GPS module used by 3DR

圖片
It comes an idea of using 3DR gps module for other applicaiton, but few things need to knowL: 1. it's not a NEMA one, the one I have iswith ublox chip, 6 or 7, by default,it communicates through uart at 38400bps, and it use an other portocol UBX, which is an binary one. different chip has different config file: https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_GPS/config it can be loaded to gps by uusing u-center from ublox https://www.u-blox.com/en/product/u-center-windows the config used by 3DR has majorly following out put in UBX 00:08:24  R -> UBX NAV-SOL,  Size  60,  'Navigation Solution' 00:08:24  R -> UBX NAV-SVINFO,  Size 208,  'Satellite Status and Information' 00:08:24  R -> UBX NAV-STATUS,  Size  24,  'Navigation Status' 00:08:24  R -> UBX NAV-POSLLH,  Size  36,  'Geodetic Position' 00:08:24  R -> UBX NAV-VELNED,  Size  44,  'Velocity in WGS 84' 00:08:24  R -> UBX NAV-CLOCK,  Size  28,