發表文章

目前顯示的是有「ublox」標籤的文章

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...