Dear Paulo
I am sorry if you mind contacting you directly.
I am trying to connect a GPS USB dongle to my pc and would like to record data in MATLAB.
I just need to know if I will need additional hardware or I can do it directly. I need a direction and rest I will do myself. I am trying to look for a small direction to give me go and I will be sailing the boat.
I would appreciate if you can guide me a little bit on this. I will await your reply.
Thanks you in advance.
Best Wishes

回答 (3 件)

Walter Roberson
Walter Roberson 2011 年 10 月 5 日

0 投票

The connection method is different with different dongles. What kind and model are you using?
Are you trying to transfer the GPS information in "somewhat close to real time", or are you recording the waypoints in the dongle and uploading a completed path when you get home?

4 件のコメント

Messam Abbas
Messam Abbas 2011 年 10 月 5 日
Dear Walter,
I am using Portable GPS on usb from Ublox.
I am actually trying to look (somehwat close to) real time GPS info transfer.
Other things like data logging for waypoint navigation would also be helpful but not to much extent. to put EXPLICILY "How I can start acquiring signal within MATLAB and would it require some additional hardware or I can directly setup communication by accessing USB port and reading the data available?"
Any help or direction would be highly appreciated.
Regards
Walter Roberson
Walter Roberson 2011 年 10 月 5 日
I will need to research that particular brand/model.
Some portable USB GPS models emulate disks (like many digital cameras do), making available only waypoint files for copying.
Some portable USB GPS models do offer modes to transfer signals as they are acquired.
If a device does not already offer a mode to transfer signals as they are acquired, then the sort of "additional hardware" you would need might include something that presses the device buttons robotically to start recording, wait for a sample, stop recording... or perhaps to do OCR of the LCD display of the GPS device.
Generally speaking, if your device does not already offer a signal transfer mode, the best "additional hardware" to obtain is a different GPS that does support signal transfers.
Messam Abbas
Messam Abbas 2011 年 10 月 5 日
Thanks for your reply, but this model actually streams data instead of logging.
All I will need to start reading the strings this device streams and make script to decode them to lats and longs and then to current location.
But do I need an interface to communicate to MATLAB or does MATLAB supports some special functions to read data from such external devices.
Thanks anyway for help. Please let me know if you find something. I appreciate your help.
Regards
Walter Roberson
Walter Roberson 2011 年 10 月 5 日
http://www.ublox.com/images/downloads/Product_Docs/USB_with_LINUX%28GPS.G4-CS-07059%29.pdf
Or http://www.ublox.com/en/usb-drivers.html if you are using Windows

サインインしてコメントする。

Gayatri Menon
Gayatri Menon 2022 年 1 月 5 日

0 投票

Hi,
nmeaParser() in Navigation toolbox can be used to parse data from GPS. Serial connection can be established using serialport()
Refer the following links for more info :
Hope this helps
Thanks
Gayatri Menon
Gayatri Menon 2022 年 1 月 5 日

0 投票

Hi,
This example might be helpful for you
Thanks
Gayatri

カテゴリ

ヘルプ センター および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

タグ

質問済み:

2011 年 10 月 5 日

回答済み:

2022 年 1 月 5 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by